Interface AWSAPICallViaCloudTrail.TlsDetails
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.TlsDetails.Jsii$Proxy
- Enclosing class:
AWSAPICallViaCloudTrail
Example:
import software.amazon.awscdk.mixins.preview.services.s3.events.AWSAPICallViaCloudTrail;
import software.amazon.awscdk.mixins.preview.services.s3.events.ObjectCreated;
import software.amazon.awscdk.mixins.preview.services.s3.events.ObjectDeleted;
import software.amazon.awscdk.services.events.*;
import software.amazon.awscdk.services.events.targets.*;
Function fn;
// Works with L2 Rule
// Works with L2 Rule
Rule.Builder.create(scope, "Rule")
.eventPattern(AWSAPICallViaCloudTrail.eventPattern(AWSAPICallViaCloudTrailProps.builder()
.tlsDetails(TlsDetails.builder().tlsVersion(List.of("TLSv1.3")).build())
.eventMetadata(AWSEventMetadataProps.builder().region(List.of("us-east-1")).build())
.build()))
.targets(List.of(new LambdaFunction(fn)))
.build();
// Also works with L1 CfnRule
// Also works with L1 CfnRule
CfnRule.Builder.create(scope, "CfnRule")
.state("ENABLED")
.eventPattern(AWSAPICallViaCloudTrail.eventPattern(AWSAPICallViaCloudTrailProps.builder()
.tlsDetails(TlsDetails.builder().tlsVersion(List.of("TLSv1.3")).build())
.eventMetadata(AWSEventMetadataProps.builder().region(List.of("us-east-1")).build())
.build()))
.targets(List.of(TargetProperty.builder().arn(fn.getFunctionArn()).id("L1").build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAWSAPICallViaCloudTrail.TlsDetailsstatic final classAn implementation forAWSAPICallViaCloudTrail.TlsDetails -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) cipherSuite property.(experimental) clientProvidedHostHeader property.(experimental) tlsVersion property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCipherSuite
(experimental) cipherSuite property.Specify an array of string values to match this event if the actual value of cipherSuite is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getClientProvidedHostHeader
(experimental) clientProvidedHostHeader property.Specify an array of string values to match this event if the actual value of clientProvidedHostHeader is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getTlsVersion
(experimental) tlsVersion property.Specify an array of string values to match this event if the actual value of tlsVersion is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-