The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ECS::PutAttributes - Arguments for method PutAttributes on Paws::ECS

DESCRIPTION

This class represents the parameters used for calling the method PutAttributes on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method PutAttributes.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAttributes.

SYNOPSIS

    my $ecs = Paws->service('ECS');
    my $PutAttributesResponse = $ecs->PutAttributes(
      Attributes => [
        {
          Name     => 'MyString',
          TargetId => 'MyString',
          TargetType =>
            'container-instance',    # values: container-instance; OPTIONAL
          Value => 'MyString',
        },
        ...
      ],
      Cluster => 'MyString',         # OPTIONAL
    );

    # Results:
    my $Attributes = $PutAttributesResponse->Attributes;

    # Returns a L<Paws::ECS::PutAttributesResponse> 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/ecs/PutAttributes

ATTRIBUTES

REQUIRED Attributes => ArrayRef[Paws::ECS::Attribute]

The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.

Cluster => Str

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutAttributes in Paws::ECS

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