TrustStoreRevocationProps Struct
Properties for the trust store revocation.
| Source | aws-elasticloadbalancingv2/lib/alb/trust-store-revocation.ts |
|---|---|
| Type last changed |
Example
ts
declare const trustStore: elbv2.TrustStore;
declare const bucket: s3.Bucket;
new elbv2.TrustStoreRevocation(this, 'Revocation', {
trustStore,
revocationContents: [
{
revocationType: elbv2.RevocationType.CRL,
bucket,
key: 'crl.pem',
},
],
});
python
# trust_store: elbv2.TrustStore
# bucket: s3.Bucket
elbv2.TrustStoreRevocation(self, "Revocation",
trust_store=trust_store,
revocation_contents=[elbv2.RevocationContent(
revocation_type=elbv2.RevocationType.CRL,
bucket=bucket,
key="crl.pem"
)
]
)
java
TrustStore trustStore;
Bucket bucket;
TrustStoreRevocation.Builder.create(this, "Revocation")
.trustStore(trustStore)
.revocationContents(List.of(RevocationContent.builder()
.revocationType(RevocationType.CRL)
.bucket(bucket)
.key("crl.pem")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
TrustStore trustStore;
Bucket bucket;
new TrustStoreRevocation(this, "Revocation", new TrustStoreRevocationProps {
TrustStore = trustStore,
RevocationContents = new [] { new RevocationContent {
RevocationType = RevocationType.CRL,
Bucket = bucket,
Key = "crl.pem"
} }
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var trustStore TrustStore
var bucket Bucket
elbv2.NewTrustStoreRevocation(this, jsii.String("Revocation"), &TrustStoreRevocationProps{
TrustStore: TrustStore,
RevocationContents: []RevocationContent{
&RevocationContent{
RevocationType: elbv2.RevocationType_CRL,
Bucket: *Bucket,
Key: jsii.String("crl.pem"),
},
},
})
Properties
revocationContentsRevocationContent[]revocation_contentstyping.List[RevocationContent]revocationContentsList<RevocationContent>RevocationContentsRevocationContent[]RevocationContents*[]RevocationContent required #The revocation file to add.
trustStoreITrustStoreReftrust_storeITrustStoreReftrustStoreITrustStoreRefTrustStoreITrustStoreRefTrustStoreITrustStoreRef required #The trust store.