Interface AWSAPICallViaCloudTrail.PolicyDetails

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

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

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.dlm.events.*;
 PolicyDetails policyDetails = PolicyDetails.builder()
         .policyType(List.of("policyType"))
         .resourceTypes(List.of("resourceTypes"))
         .schedules(List.of(PolicyDetailsItem.builder()
                 .copyTags(List.of("copyTags"))
                 .createRule(CreateRule.builder()
                         .interval(List.of("interval"))
                         .intervalUnit(List.of("intervalUnit"))
                         .times(List.of("times"))
                         .build())
                 .fastRestoreRule(FastRestoreRule.builder()
                         .availabilityZones(List.of("availabilityZones"))
                         .count(List.of("count"))
                         .build())
                 .name(List.of("name"))
                 .retainRule(RetainRule.builder()
                         .count(List.of("count"))
                         .build())
                 .tagsToAdd(List.of(PolicyDetailsItemItem.builder()
                         .key(List.of("key"))
                         .value(List.of("value"))
                         .build()))
                 .build()))
         .targetTags(List.of(PolicyDetailsItem1.builder()
                 .key(List.of("key"))
                 .value(List.of("value"))
                 .build()))
         .build();
 
  • Method Details

    • getPolicyType

      @Stability(Experimental) @Nullable default List<String> getPolicyType()
      (experimental) PolicyType property.

      Specify an array of string values to match this event if the actual value of PolicyType 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

    • getResourceTypes

      @Stability(Experimental) @Nullable default List<String> getResourceTypes()
      (experimental) ResourceTypes property.

      Specify an array of string values to match this event if the actual value of ResourceTypes 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

    • getSchedules

      @Stability(Experimental) @Nullable default List<AWSAPICallViaCloudTrail.PolicyDetailsItem> getSchedules()
      (experimental) Schedules property.

      Specify an array of string values to match this event if the actual value of Schedules 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

    • getTargetTags

      @Stability(Experimental) @Nullable default List<AWSAPICallViaCloudTrail.PolicyDetailsItem1> getTargetTags()
      (experimental) TargetTags property.

      Specify an array of string values to match this event if the actual value of TargetTags 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.PolicyDetails.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.PolicyDetails.Builder of AWSAPICallViaCloudTrail.PolicyDetails