NAME
Paws::ImageBuilder::UpdateInfrastructureConfiguration - Arguments for method UpdateInfrastructureConfiguration on Paws::ImageBuilder
DESCRIPTION
This 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.
SYNOPSIS
my $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
ATTRIBUTES
REQUIRED ClientToken => Str
The idempotency token used to make this request idempotent.
Description => Str
The description of the infrastructure configuration.
REQUIRED InfrastructureConfigurationArn => Str
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
REQUIRED InstanceProfileName => Str
The 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 => Str
The 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::Logging
The logging configuration of the infrastructure configuration.
ResourceTags => Paws::ImageBuilder::ResourceTagMap
The 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 => Str
The SNS topic on which to send image build events.
SubnetId => Str
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
TerminateInstanceOnFailure => Bool
The 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 ALSO
This class forms part of Paws, documenting arguments for method UpdateInfrastructureConfiguration in Paws::ImageBuilder
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