# CfnTrustStoreRevocationProps

Properties for defining a `CfnTrustStoreRevocation`.

Used as props by: [CfnTrustStoreRevocation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.CfnTrustStoreRevocation.html)

- Source: Generated at build time
- Type last changed: v2.112.0 · 1 Dec 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const cfnTrustStoreRevocationProps: elbv2.CfnTrustStoreRevocationProps = {
  revocationContents: [{
    revocationType: 'revocationType',
    s3Bucket: 's3Bucket',
    s3Key: 's3Key',
    s3ObjectVersion: 's3ObjectVersion',
  }],
  trustStoreArn: 'trustStoreArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticloadbalancingv2 as elbv2

cfn_trust_store_revocation_props = elbv2.CfnTrustStoreRevocationProps(
    revocation_contents=[elbv2.CfnTrustStoreRevocation.RevocationContentProperty(
        revocation_type="revocationType",
        s3_bucket="s3Bucket",
        s3_key="s3Key",
        s3_object_version="s3ObjectVersion"
    )],
    trust_store_arn="trustStoreArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;

CfnTrustStoreRevocationProps cfnTrustStoreRevocationProps = CfnTrustStoreRevocationProps.builder()
        .revocationContents(List.of(RevocationContentProperty.builder()
                .revocationType("revocationType")
                .s3Bucket("s3Bucket")
                .s3Key("s3Key")
                .s3ObjectVersion("s3ObjectVersion")
                .build()))
        .trustStoreArn("trustStoreArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;

var cfnTrustStoreRevocationProps = new CfnTrustStoreRevocationProps {
    RevocationContents = new [] { new RevocationContentProperty {
        RevocationType = "revocationType",
        S3Bucket = "s3Bucket",
        S3Key = "s3Key",
        S3ObjectVersion = "s3ObjectVersion"
    } },
    TrustStoreArn = "trustStoreArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnTrustStoreRevocationProps := &CfnTrustStoreRevocationProps{
	RevocationContents: []interface{}{
		&RevocationContentProperty{
			RevocationType: jsii.String("revocationType"),
			S3Bucket: jsii.String("s3Bucket"),
			S3Key: jsii.String("s3Key"),
			S3ObjectVersion: jsii.String("s3ObjectVersion"),
		},
	},
	TrustStoreArn: jsii.String("trustStoreArn"),
}
```

## Properties

- `revocationContents`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTrustStoreRevocation.RevocationContentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.CfnTrustStoreRevocation.RevocationContentProperty.html)[] — The revocation file to add.

- `trustStoreArn`: string — The Amazon Resource Name (ARN) of the trust store.
