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::Proton::CreateEnvironment - Arguments for method CreateEnvironment on Paws::Proton

DESCRIPTION

This class represents the parameters used for calling the method CreateEnvironment on the AWS Proton service. Use the attributes of this class as arguments to method CreateEnvironment.

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

SYNOPSIS

    my $proton = Paws->service('Proton');
    my $CreateEnvironmentOutput = $proton->CreateEnvironment(
      Name                           => 'MyResourceName',
      Spec                           => 'MySpecContents',
      TemplateMajorVersion           => 'MyTemplateVersionPart',
      TemplateName                   => 'MyResourceName',
      Description                    => 'MyDescription',           # OPTIONAL
      EnvironmentAccountConnectionId =>
        'MyEnvironmentAccountConnectionId',                        # OPTIONAL
      ProtonServiceRoleArn => 'MyArn',                             # OPTIONAL
      Tags                 => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
      TemplateMinorVersion => 'MyTemplateVersionPart',    # OPTIONAL
    );

    # Results:
    my $Environment = $CreateEnvironmentOutput->Environment;

    # Returns a L<Paws::Proton::CreateEnvironmentOutput> 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/proton/CreateEnvironment

ATTRIBUTES

Description => Str

A description of the environment that's being created and deployed.

EnvironmentAccountConnectionId => Str

The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value. For more information, see Environment account connections in the AWS Proton Administration guide.

REQUIRED Name => Str

The name of the environment.

ProtonServiceRoleArn => Str

The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other services on your behalf. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value.

REQUIRED Spec => Str

A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments (https://docs.aws.amazon.com/proton/latest/adminguide/ag-managing-environments.html) in the AWS Proton Administration Guide.

Tags => ArrayRef[Paws::Proton::Tag]

Create tags for your environment. For more information, see AWS Proton resources and tagging in the AWS Proton Administration Guide (https://docs.aws.amazon.com/proton/latest/adminguide/resources.html) or AWS Proton User Guide (https://docs.aws.amazon.com/proton/latest/userguide/resources.html).

REQUIRED TemplateMajorVersion => Str

The ID of the major version of the environment template.

TemplateMinorVersion => Str

The ID of the minor version of the environment template.

REQUIRED TemplateName => Str

The name of the environment template. For more information, see Environment Templates (https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-templates.html) in the AWS Proton Administration Guide.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateEnvironment in Paws::Proton

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