NAME
Paws::Inspector::SetTagsForResource - Arguments for method SetTagsForResource on Paws::Inspector
DESCRIPTION
This class represents the parameters used for calling the method SetTagsForResource on the Amazon Inspector service. Use the attributes of this class as arguments to method SetTagsForResource.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetTagsForResource.
SYNOPSIS
my $inspector = Paws->service('Inspector');
# Set tags for resource
# Sets tags (key and value pairs) to the assessment template that is specified
# by the ARN of the assessment template.
$inspector->SetTagsForResource(
'ResourceArn' =>
'arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0',
'Tags' => [
{
'Key' => 'Example',
'Value' => 'example'
}
]
);
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/inspector/SetTagsForResource
ATTRIBUTES
REQUIRED ResourceArn => Str
The ARN of the assessment template that you want to set tags to.
Tags => ArrayRef[Paws::Inspector::Tag]
A collection of key and value pairs that you want to set to the assessment template.
SEE ALSO
This class forms part of Paws, documenting arguments for method SetTagsForResource in Paws::Inspector
BUGS and CONTRIBUTIONS
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