Interface DetectorEvents.GuardDutyFinding.ResourceItem
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DetectorEvents.GuardDutyFinding.ResourceItem.Jsii$Proxy
- Enclosing class:
DetectorEvents.GuardDutyFinding
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.guardduty.events.*;
ResourceItem resourceItem = ResourceItem.builder()
.arn(List.of("arn"))
.createdAt(List.of("createdAt"))
.defaultServerSideEncryption(DefaultServerSideEncryption.builder()
.encryptionType(List.of("encryptionType"))
.kmsMasterKeyArn(List.of("kmsMasterKeyArn"))
.build())
.name(List.of("name"))
.owner(Owner.builder()
.id(List.of("id"))
.build())
.publicAccess(PublicAccess.builder()
.effectivePermission(List.of("effectivePermission"))
.permissionConfiguration(PermissionConfiguration.builder()
.accountLevelPermissions(AccountLevelPermissions.builder()
.blockPublicAccess(BlockPublicAccess.builder()
.blockPublicAcls(List.of("blockPublicAcls"))
.blockPublicPolicy(List.of("blockPublicPolicy"))
.ignorePublicAcls(List.of("ignorePublicAcls"))
.restrictPublicBuckets(List.of("restrictPublicBuckets"))
.build())
.build())
.bucketLevelPermissions(BucketLevelPermissions.builder()
.accessControlList(AccessControlList.builder()
.allowsPublicReadAccess(List.of("allowsPublicReadAccess"))
.allowsPublicWriteAccess(List.of("allowsPublicWriteAccess"))
.build())
.blockPublicAccess(BlockPublicAccess.builder()
.blockPublicAcls(List.of("blockPublicAcls"))
.blockPublicPolicy(List.of("blockPublicPolicy"))
.ignorePublicAcls(List.of("ignorePublicAcls"))
.restrictPublicBuckets(List.of("restrictPublicBuckets"))
.build())
.bucketPolicy(AccessControlList.builder()
.allowsPublicReadAccess(List.of("allowsPublicReadAccess"))
.allowsPublicWriteAccess(List.of("allowsPublicWriteAccess"))
.build())
.build())
.build())
.build())
.tags(List.of(EcsClusterDetailsItem.builder()
.key(List.of("key"))
.value(List.of("value"))
.build()))
.type(List.of("type"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.ResourceItemstatic final classAn implementation forDetectorEvents.GuardDutyFinding.ResourceItem -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getArn()(experimental) arn property.(experimental) createdAt property.(experimental) defaultServerSideEncryption property.getName()(experimental) name property.getOwner()(experimental) owner property.(experimental) publicAccess property.getTags()(experimental) tags property.getType()(experimental) type property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
(experimental) arn property.Specify an array of string values to match this event if the actual value of arn 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
-
getCreatedAt
(experimental) createdAt property.Specify an array of string values to match this event if the actual value of createdAt 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
-
getDefaultServerSideEncryption
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.DefaultServerSideEncryption getDefaultServerSideEncryption()(experimental) defaultServerSideEncryption property.Specify an array of string values to match this event if the actual value of defaultServerSideEncryption 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
-
getName
(experimental) name property.Specify an array of string values to match this event if the actual value of name 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
-
getOwner
(experimental) owner property.Specify an array of string values to match this event if the actual value of owner 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
-
getPublicAccess
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.PublicAccess getPublicAccess()(experimental) publicAccess property.Specify an array of string values to match this event if the actual value of publicAccess 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
-
getTags
@Stability(Experimental) @Nullable default List<DetectorEvents.GuardDutyFinding.EcsClusterDetailsItem> getTags()(experimental) tags property.Specify an array of string values to match this event if the actual value of tags 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
-
getType
(experimental) type property.Specify an array of string values to match this event if the actual value of type 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
-