|
NAMEPaws::ImageBuilder::CreateComponent - Arguments for method CreateComponent on Paws::ImageBuilder DESCRIPTIONThis class represents the parameters used for calling the method CreateComponent on the EC2 Image Builder service. Use the attributes of this class as arguments to method CreateComponent. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateComponent. SYNOPSIS my $imagebuilder = Paws->service('ImageBuilder');
my $CreateComponentResponse = $imagebuilder->CreateComponent(
ClientToken => 'MyClientToken',
Name => 'MyResourceName',
Platform => 'Windows',
SemanticVersion => 'MyVersionNumber',
ChangeDescription => 'MyNonEmptyString', # OPTIONAL
Data => 'MyInlineComponentData', # OPTIONAL
Description => 'MyNonEmptyString', # OPTIONAL
KmsKeyId => 'MyNonEmptyString', # OPTIONAL
SupportedOsVersions => [
'MyOsVersion', ... # min: 1
], # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
Uri => 'MyUri', # OPTIONAL
);
# Results:
my $ClientToken = $CreateComponentResponse->ClientToken;
my $ComponentBuildVersionArn =
$CreateComponentResponse->ComponentBuildVersionArn;
my $RequestId = $CreateComponentResponse->RequestId;
# Returns a L<Paws::ImageBuilder::CreateComponentResponse> 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/CreateComponent> ATTRIBUTESChangeDescription => StrThe change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component. REQUIRED ClientToken => StrThe idempotency token of the component. Data => StrThe data of the component. Used to specify the data inline. Either "data" or "uri" can be used to specify the data within the component. Description => StrThe description of the component. Describes the contents of the component. KmsKeyId => StrThe ID of the KMS key that should be used to encrypt this component. REQUIRED Name => StrThe name of the component. REQUIRED Platform => StrThe platform of the component. Valid values are: "Windows", "Linux" REQUIRED SemanticVersion => StrThe semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01). SupportedOsVersions => ArrayRef[Str|Undef]The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. Tags => Paws::ImageBuilder::TagMapThe tags of the component. Uri => StrThe uri of the component. Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either "data" or "uri" can be used to specify the data within the component. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateComponent 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>
|