![]() |
![]()
| ![]() |
![]()
NAMEPaws::ImageBuilder::UpdateInfrastructureConfiguration - Arguments for method UpdateInfrastructureConfiguration on Paws::ImageBuilder DESCRIPTIONThis class represents the parameters used for calling the method UpdateInfrastructureConfiguration on the EC2 Image Builder service. Use the attributes of this class as arguments to method UpdateInfrastructureConfiguration. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInfrastructureConfiguration. SYNOPSISmy $imagebuilder = Paws->service('ImageBuilder'); my $UpdateInfrastructureConfigurationResponse = $imagebuilder->UpdateInfrastructureConfiguration( ClientToken => 'MyClientToken', InfrastructureConfigurationArn => 'MyInfrastructureConfigurationArn', InstanceProfileName => 'MyInstanceProfileNameType', Description => 'MyNonEmptyString', # OPTIONAL InstanceTypes => [ 'MyInstanceType', ... ], # OPTIONAL KeyPair => 'MyNonEmptyString', # OPTIONAL Logging => { S3Logs => { S3BucketName => 'MyNonEmptyString', # min: 1, max: 1024 S3KeyPrefix => 'MyNonEmptyString', # min: 1, max: 1024 }, # OPTIONAL }, # OPTIONAL ResourceTags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL SecurityGroupIds => [ 'MyNonEmptyString', ... # min: 1, max: 1024 ], # OPTIONAL SnsTopicArn => 'MySnsTopicArn', # OPTIONAL SubnetId => 'MyNonEmptyString', # OPTIONAL TerminateInstanceOnFailure => 1, # OPTIONAL ); # Results: my $ClientToken = $UpdateInfrastructureConfigurationResponse->ClientToken; my $InfrastructureConfigurationArn = $UpdateInfrastructureConfigurationResponse ->InfrastructureConfigurationArn; my $RequestId = $UpdateInfrastructureConfigurationResponse->RequestId; # Returns a Paws::ImageBuilder::UpdateInfrastructureConfigurationResponse 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/imagebuilder/UpdateInfrastructureConfiguration> ATTRIBUTESREQUIRED ClientToken => StrThe idempotency token used to make this request idempotent. Description => StrThe description of the infrastructure configuration. REQUIRED InfrastructureConfigurationArn => StrThe Amazon Resource Name (ARN) of the infrastructure configuration that you want to update. REQUIRED InstanceProfileName => StrThe instance profile to associate with the instance used to customize your Amazon EC2 AMI. InstanceTypes => ArrayRef[Str|Undef]The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. KeyPair => StrThe key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. Logging => Paws::ImageBuilder::LoggingThe logging configuration of the infrastructure configuration. ResourceTags => Paws::ImageBuilder::ResourceTagMapThe tags attached to the resource created by Image Builder. SecurityGroupIds => ArrayRef[Str|Undef]The security group IDs to associate with the instance used to customize your Amazon EC2 AMI. SnsTopicArn => StrThe SNS topic on which to send image build events. SubnetId => StrThe subnet ID to place the instance used to customize your Amazon EC2 AMI in. TerminateInstanceOnFailure => BoolThe terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateInfrastructureConfiguration in Paws::ImageBuilder 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>
|