NAME
Paws::ImageBuilder::CreateComponent - Arguments for method CreateComponent on Paws::ImageBuilder
DESCRIPTION
This 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
ATTRIBUTES
ChangeDescription => Str
The 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 => Str
The idempotency token of the component.
Data => Str
The 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 => Str
The description of the component. Describes the contents of the component.
KmsKeyId => Str
The ID of the KMS key that should be used to encrypt this component.
REQUIRED Name => Str
The name of the component.
REQUIRED Platform => Str
The platform of the component.
Valid values are: "Windows"
, "Linux"
REQUIRED SemanticVersion => Str
The 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::TagMap
The tags of the component.
Uri => Str
The 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 ALSO
This class forms part of Paws, documenting arguments for method CreateComponent 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