Class CfnTrail.DataResourceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnTrail.DataResourceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTrail.DataResourceProperty
CfnTrail.DataResourceProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudtrail.CfnTrail.DataResourceProperty
CfnTrail.DataResourceProperty.Builder, CfnTrail.DataResourceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnTrail.DataResourceProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnTrail.DataResourceProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnTrail.DataResourcePropertyThe resource type in which you want to log data events.You can specify the following basic event selector resource types:
AWS::DynamoDB::TableAWS::Lambda::FunctionAWS::S3::Object
The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector .
AWS::CloudTrail::ChannelAWS::CodeWhisperer::CustomizationAWS::CodeWhisperer::ProfileAWS::Cognito::IdentityPoolAWS::DynamoDB::StreamAWS::EC2::SnapshotAWS::EMRWAL::WorkspaceAWS::FinSpace::EnvironmentAWS::Glue::TableAWS::GuardDuty::DetectorAWS::KendraRanking::ExecutionPlanAWS::KinesisVideo::StreamAWS::ManagedBlockchain::NetworkAWS::ManagedBlockchain::NodeAWS::MedicalImaging::DatastoreAWS::PCAConnectorAD::ConnectorAWS::SageMaker::EndpointAWS::SageMaker::ExperimentTrialComponentAWS::SageMaker::FeatureGroupAWS::SNS::PlatformEndpointAWS::SNS::TopicAWS::S3::AccessPointAWS::S3ObjectLambda::AccessPointAWS::S3Outposts::ObjectAWS::SSMMessages::ControlChannelAWS::Timestream::DatabaseAWS::Timestream::TableAWS::VerifiedPermissions::PolicyStore
- Specified by:
getTypein interfaceCfnTrail.DataResourceProperty- See Also:
-
getValues
Description copied from interface:CfnTrail.DataResourcePropertyAn array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.- To log data events for all objects in all S3 buckets in your AWS account , specify the prefix as
arn:aws:s3.
This also enables logging of data event activity performed by any user or role in your AWS account , even if that activity is performed on a bucket that belongs to another AWS account .
- To log data events for all objects in an S3 bucket, specify the bucket and an empty object prefix such as
arn:aws:s3:::bucket-1/. The trail logs data events for all objects in this S3 bucket. - To log data events for specific objects, specify the S3 bucket and object prefix such as
arn:aws:s3:::bucket-1/example-images. The trail logs data events for objects in this S3 bucket that match the prefix. - To log data events for all Lambda functions in your AWS account , specify the prefix as
arn:aws:lambda.
This also enables logging of
Invokeactivity performed by any user or role in your AWS account , even if that activity is performed on a function that belongs to another AWS account .- To log data events for a specific Lambda function, specify the function ARN.
Lambda function ARNs are exact. For example, if you specify a function ARN arn:aws:lambda:us-west-2:111111111111:function:helloworld , data events will only be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld . They will not be logged for arn:aws:lambda:us-west-2:111111111111:function:helloworld2 .
- To log data events for all DynamoDB tables in your AWS account , specify the prefix as
arn:aws:dynamodb.
- Specified by:
getValuesin interfaceCfnTrail.DataResourceProperty- See Also:
- To log data events for all objects in all S3 buckets in your AWS account , specify the prefix as
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-