Paws::CloudTrail::PutEventSelectors - Arguments for method PutEventSelectors on Paws::CloudTrail
This class represents the parameters used for calling the method PutEventSelectors on the AWS CloudTrail service. Use the attributes of this class as arguments to method PutEventSelectors.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutEventSelectors.
my $cloudtrail = Paws->service('CloudTrail'); my $PutEventSelectorsResponse = $cloudtrail->PutEventSelectors( EventSelectors => [ { DataResources => [ { Type => 'MyString', # OPTIONAL Values => [ 'MyString', ... # OPTIONAL ], # OPTIONAL }, ... ], # OPTIONAL IncludeManagementEvents => 1, # OPTIONAL ReadWriteType => 'ReadOnly', # values: ReadOnly, WriteOnly, All; OPTIONAL }, ... ], TrailName => 'MyString', ); # Results: my $EventSelectors = $PutEventSelectorsResponse->EventSelectors; my $TrailARN = $PutEventSelectorsResponse->TrailARN; # Returns a L<Paws::CloudTrail::PutEventSelectorsResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail/PutEventSelectors
Specifies the settings for your event selectors. You can configure up to five event selectors for a trail.
Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
Start with a letter or number, and end with a letter or number
Be between 3 and 128 characters
Have no adjacent periods, underscores or dashes. Names like my-_namespace and my--namespace are invalid.
my-_namespace
my--namespace
Not be in IP address format (for example, 192.168.5.4)
If you specify a trail ARN, it must be in the format:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
This class forms part of Paws, documenting arguments for method PutEventSelectors in Paws::CloudTrail
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.