| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECS::ClusterSetting; | ||
| 3 | use Moose; | ||
| 4 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ECS::ClusterSetting | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ECS::ClusterSetting object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Name => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::ClusterSetting object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Name | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The settings to use when creating a cluster. This parameter is used to | ||
| 38 | enable CloudWatch Container Insights for a cluster. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Name => Str | ||
| 44 | |||
| 45 | The name of the cluster setting. The only supported value is | ||
| 46 | C<containerInsights>. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Value => Str | ||
| 50 | |||
| 51 | The value to set for the cluster setting. The supported values are | ||
| 52 | C<enabled> and C<disabled>. If C<enabled> is specified, CloudWatch | ||
| 53 | Container Insights will be enabled for the cluster, otherwise it will | ||
| 54 | be disabled unless the C<containerInsights> account setting is enabled. | ||
| 55 | If a cluster value is specified, it will override the | ||
| 56 | C<containerInsights> value set with PutAccountSetting or | ||
| 57 | PutAccountSettingDefault. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head1 SEE ALSO | ||
| 62 | |||
| 63 | This class forms part of L<Paws>, describing an object used in L<Paws::ECS> | ||
| 64 | |||
| 65 | =head1 BUGS and CONTRIBUTIONS | ||
| 66 | |||
| 67 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 68 | |||
| 69 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 70 | |||
| 71 | =cut | ||
| 72 |