Interface AWSAPICallViaCloudTrail.PolicyDetails
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.PolicyDetails.Jsii$Proxy
- Enclosing class:
AWSAPICallViaCloudTrail
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAWSAPICallViaCloudTrail.PolicyDetailsstatic final classAn implementation forAWSAPICallViaCloudTrail.PolicyDetails -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) PolicyType property.(experimental) ResourceTypes property.(experimental) Schedules property.(experimental) TargetTags property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-