
package Paws::ElasticBeanstalk::CreatePlatformVersion;
  use Moose;
  has EnvironmentName => (is => 'ro', isa => 'Str');
  has OptionSettings => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::ConfigurationOptionSetting]');
  has PlatformDefinitionBundle => (is => 'ro', isa => 'Paws::ElasticBeanstalk::S3Location', required => 1);
  has PlatformName => (is => 'ro', isa => 'Str', required => 1);
  has PlatformVersion => (is => 'ro', isa => 'Str', required => 1);
  has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::Tag]');

  use MooseX::ClassAttribute;

  class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePlatformVersion');
  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::CreatePlatformVersionResult');
  class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreatePlatformVersionResult');
1;

### main pod documentation begin ###

=head1 NAME

Paws::ElasticBeanstalk::CreatePlatformVersion - Arguments for method CreatePlatformVersion on L<Paws::ElasticBeanstalk>

=head1 DESCRIPTION

This class represents the parameters used for calling the method CreatePlatformVersion on the
L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class
as arguments to method CreatePlatformVersion.

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

=head1 SYNOPSIS

    my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
    my $CreatePlatformVersionResult = $elasticbeanstalk->CreatePlatformVersion(
      PlatformDefinitionBundle => {
        S3Bucket => 'MyS3Bucket',    # max: 255; OPTIONAL
        S3Key    => 'MyS3Key',       # max: 1024; OPTIONAL
      },
      PlatformName    => 'MyPlatformName',
      PlatformVersion => 'MyPlatformVersion',
      EnvironmentName => 'MyEnvironmentName',    # OPTIONAL
      OptionSettings  => [
        {
          Namespace    => 'MyOptionNamespace',             # OPTIONAL
          OptionName   => 'MyConfigurationOptionName',     # OPTIONAL
          ResourceName => 'MyResourceName',    # min: 1, max: 256; OPTIONAL
          Value        => 'MyConfigurationOptionValue',    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128; OPTIONAL
          Value => 'MyTagValue',    # min: 1, max: 256; OPTIONAL
        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $Builder         = $CreatePlatformVersionResult->Builder;
    my $PlatformSummary = $CreatePlatformVersionResult->PlatformSummary;

    # Returns a L<Paws::ElasticBeanstalk::CreatePlatformVersionResult> 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 L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/CreatePlatformVersion>

=head1 ATTRIBUTES


=head2 EnvironmentName => Str

The name of the builder environment.



=head2 OptionSettings => ArrayRef[L<Paws::ElasticBeanstalk::ConfigurationOptionSetting>]

The configuration option settings to apply to the builder environment.



=head2 B<REQUIRED> PlatformDefinitionBundle => L<Paws::ElasticBeanstalk::S3Location>

The location of the platform definition archive in Amazon S3.



=head2 B<REQUIRED> PlatformName => Str

The name of your custom platform.



=head2 B<REQUIRED> PlatformVersion => Str

The number, such as 1.0.2, for the new platform version.



=head2 Tags => ArrayRef[L<Paws::ElasticBeanstalk::Tag>]

Specifies the tags applied to the new platform version.

Elastic Beanstalk applies these tags only to the platform version.
Environments that you create using the platform version don't inherit
the tags.




=head1 SEE ALSO

This class forms part of L<Paws>, documenting arguments for method CreatePlatformVersion in L<Paws::ElasticBeanstalk>

=head1 BUGS and CONTRIBUTIONS

The source code is located here: L<https://github.com/pplu/aws-sdk-perl>

Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>

=cut

