interface ResourceItem
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.ResourceItem |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_ResourceItem |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.ResourceItem |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.ResourceItem |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป ResourceItem |
Type definition for ResourceItem.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const resourceItem: guardduty_events.DetectorEvents.GuardDutyFinding.ResourceItem = {
arn: ['arn'],
createdAt: ['createdAt'],
defaultServerSideEncryption: {
encryptionType: ['encryptionType'],
kmsMasterKeyArn: ['kmsMasterKeyArn'],
},
name: ['name'],
owner: {
id: ['id'],
},
publicAccess: {
effectivePermission: ['effectivePermission'],
permissionConfiguration: {
accountLevelPermissions: {
blockPublicAccess: {
blockPublicAcls: ['blockPublicAcls'],
blockPublicPolicy: ['blockPublicPolicy'],
ignorePublicAcls: ['ignorePublicAcls'],
restrictPublicBuckets: ['restrictPublicBuckets'],
},
},
bucketLevelPermissions: {
accessControlList: {
allowsPublicReadAccess: ['allowsPublicReadAccess'],
allowsPublicWriteAccess: ['allowsPublicWriteAccess'],
},
blockPublicAccess: {
blockPublicAcls: ['blockPublicAcls'],
blockPublicPolicy: ['blockPublicPolicy'],
ignorePublicAcls: ['ignorePublicAcls'],
restrictPublicBuckets: ['restrictPublicBuckets'],
},
bucketPolicy: {
allowsPublicReadAccess: ['allowsPublicReadAccess'],
allowsPublicWriteAccess: ['allowsPublicWriteAccess'],
},
},
},
},
tags: [{
key: ['key'],
value: ['value'],
}],
type: ['type'],
};
Properties
| Name | Type | Description |
|---|---|---|
| arn? | string[] | arn property. |
| created | string[] | createdAt property. |
| default | Default | defaultServerSideEncryption property. |
| name? | string[] | name property. |
| owner? | Owner | owner property. |
| public | Public | publicAccess property. |
| tags? | Ecs[] | tags property. |
| type? | string[] | type property. |
arn?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
createdAt?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
defaultServerSideEncryption?
Type:
Default
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
name?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
owner?
Type:
Owner
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
publicAccess?
Type:
Public
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
tags?
Type:
Ecs[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
type?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript