|
NAMEPaws::SSM::CreateAssociationBatch - Arguments for method CreateAssociationBatch on Paws::SSM DESCRIPTIONThis class represents the parameters used for calling the method CreateAssociationBatch on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method CreateAssociationBatch. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAssociationBatch. SYNOPSIS my $ssm = Paws->service('SSM');
my $CreateAssociationBatchResult = $ssm->CreateAssociationBatch(
Entries => [
{
Name => 'MyDocumentARN',
ApplyOnlyAtCronInterval => 1, # OPTIONAL
AssociationName => 'MyAssociationName', # OPTIONAL
AutomationTargetParameterName =>
'MyAutomationTargetParameterName', # min: 1, max: 50; OPTIONAL
CalendarNames => [ 'MyCalendarNameOrARN', ... ], # OPTIONAL
ComplianceSeverity => 'CRITICAL'
, # values: CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED; OPTIONAL
DocumentVersion => 'MyDocumentVersion', # OPTIONAL
InstanceId => 'MyInstanceId', # OPTIONAL
MaxConcurrency => 'MyMaxConcurrency', # min: 1, max: 7; OPTIONAL
MaxErrors => 'MyMaxErrors', # min: 1, max: 7; OPTIONAL
OutputLocation => {
S3Location => {
OutputS3BucketName =>
'MyS3BucketName', # min: 3, max: 63; OPTIONAL
OutputS3KeyPrefix => 'MyS3KeyPrefix', # max: 500; OPTIONAL
OutputS3Region => 'MyS3Region', # min: 3, max: 20; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
Parameters => { 'MyParameterName' => [ 'MyParameterValue', ... ], }
, # OPTIONAL
ScheduleExpression =>
'MyScheduleExpression', # min: 1, max: 256; OPTIONAL
SyncCompliance => 'AUTO', # values: AUTO, MANUAL; OPTIONAL
TargetLocations => [
{
Accounts => [ 'MyAccount', ... ], # min: 1, max: 50; OPTIONAL
ExecutionRoleName =>
'MyExecutionRoleName', # min: 1, max: 64; OPTIONAL
Regions => [ 'MyRegion', ... ], # min: 1, max: 50; OPTIONAL
TargetLocationMaxConcurrency =>
'MyMaxConcurrency', # min: 1, max: 7; OPTIONAL
TargetLocationMaxErrors =>
'MyMaxErrors', # min: 1, max: 7; OPTIONAL
},
...
], # min: 1, max: 100; OPTIONAL
Targets => [
{
Key => 'MyTargetKey', # min: 1, max: 163; OPTIONAL
Values => [ 'MyTargetValue', ... ], # max: 50; OPTIONAL
},
...
], # max: 5; OPTIONAL
},
...
],
);
# Results:
my $Failed = $CreateAssociationBatchResult->Failed;
my $Successful = $CreateAssociationBatchResult->Successful;
# Returns a L<Paws::SSM::CreateAssociationBatchResult> 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/ssm/CreateAssociationBatch> ATTRIBUTESREQUIRED Entries => ArrayRef[Paws::SSM::CreateAssociationBatchRequestEntry]One or more associations. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateAssociationBatch in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|