Interface AWSAPICallViaCloudTrail.TlsDetails

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AWSAPICallViaCloudTrail.TlsDetails.Jsii$Proxy
Enclosing class:
AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface AWSAPICallViaCloudTrail.TlsDetails extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for TlsDetails.

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();
 
  • Method Details

    • getCipherSuite

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getClientProvidedHostHeader

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getTlsVersion

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static AWSAPICallViaCloudTrail.TlsDetails.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.TlsDetails.Builder of AWSAPICallViaCloudTrail.TlsDetails