Skip to content
v2.278.0

CfnTrustStoreRevocationProps Struct ​

Properties for defining a CfnTrustStoreRevocation.

Example ​

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
# 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
// 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();
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"
};
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 ​

revocationContentsoptionalIResolvable | IResolvable | CfnTrustStoreRevocation.RevocationContentProperty[]revocation_contentsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RevocationContentProperty]]]revocationContentsoptionalIResolvableRevocationContentsoptionalIResolvableRevocationContentsoptionalinterface{} #
The revocation file to add.
trustStoreArnoptionalstringtrust_store_arnoptionalstrtrustStoreArnoptionalStringTrustStoreArnoptionalstringTrustStoreArnoptional*string #
The Amazon Resource Name (ARN) of the trust store.