The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ImageBuilder::ImportComponent - Arguments for method ImportComponent on Paws::ImageBuilder

DESCRIPTION

This class represents the parameters used for calling the method ImportComponent on the EC2 Image Builder service. Use the attributes of this class as arguments to method ImportComponent.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ImportComponent.

SYNOPSIS

my $imagebuilder = Paws->service('ImageBuilder');
my $ImportComponentResponse = $imagebuilder->ImportComponent(
  ClientToken       => 'MyClientToken',
  Format            => 'SHELL',
  Name              => 'MyResourceName',
  Platform          => 'Windows',
  SemanticVersion   => 'MyVersionNumber',
  Type              => 'BUILD',
  ChangeDescription => 'MyNonEmptyString',    # OPTIONAL
  Data              => 'MyNonEmptyString',    # OPTIONAL
  Description       => 'MyNonEmptyString',    # OPTIONAL
  KmsKeyId          => 'MyNonEmptyString',    # OPTIONAL
  Tags              => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
  Uri => 'MyUri',    # OPTIONAL
);

# Results:
my $ClientToken = $ImportComponentResponse->ClientToken;
my $ComponentBuildVersionArn =
  $ImportComponentResponse->ComponentBuildVersionArn;
my $RequestId = $ImportComponentResponse->RequestId;

# Returns a L<Paws::ImageBuilder::ImportComponentResponse> 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/ImportComponent

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.

REQUIRED Format => Str

The format of the resource that you want to import as a component.

Valid values are: "SHELL"

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).

Tags => Paws::ImageBuilder::TagMap

The tags of the component.

REQUIRED Type => Str

The type of the component denotes whether the component is used to build the image or only to test it.

Valid values are: "BUILD", "TEST"

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 ImportComponent 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