![]() |
![]()
| ![]() |
![]()
NAMEPaws::ImageBuilder::CreateImage - Arguments for method CreateImage on Paws::ImageBuilder DESCRIPTIONThis class represents the parameters used for calling the method CreateImage on the EC2 Image Builder service. Use the attributes of this class as arguments to method CreateImage. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateImage. SYNOPSISmy $imagebuilder = Paws->service('ImageBuilder'); my $CreateImageResponse = $imagebuilder->CreateImage( ClientToken => 'MyClientToken', InfrastructureConfigurationArn => 'MyInfrastructureConfigurationArn', ContainerRecipeArn => 'MyContainerRecipeArn', # OPTIONAL DistributionConfigurationArn => 'MyDistributionConfigurationArn', # OPTIONAL EnhancedImageMetadataEnabled => 1, # OPTIONAL ImageRecipeArn => 'MyImageRecipeArn', # OPTIONAL ImageTestsConfiguration => { ImageTestsEnabled => 1, TimeoutMinutes => 1, # min: 60, max: 1440; OPTIONAL }, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $ClientToken = $CreateImageResponse->ClientToken; my $ImageBuildVersionArn = $CreateImageResponse->ImageBuildVersionArn; my $RequestId = $CreateImageResponse->RequestId; # Returns a L<Paws::ImageBuilder::CreateImageResponse> 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/CreateImage> ATTRIBUTESREQUIRED ClientToken => StrThe idempotency token used to make this request idempotent. ContainerRecipeArn => StrThe Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested. DistributionConfigurationArn => StrThe Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. EnhancedImageMetadataEnabled => BoolCollects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default. ImageRecipeArn => StrThe Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. ImageTestsConfiguration => Paws::ImageBuilder::ImageTestsConfigurationThe image tests configuration of the image. REQUIRED InfrastructureConfigurationArn => StrThe Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. Tags => Paws::ImageBuilder::TagMapThe tags of the image. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateImage 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>
|