NAME
Paws::Proton::CreateEnvironmentAccountConnection - Arguments for method CreateEnvironmentAccountConnection on Paws::Proton
DESCRIPTION
This class represents the parameters used for calling the method CreateEnvironmentAccountConnection on the AWS Proton service. Use the attributes of this class as arguments to method CreateEnvironmentAccountConnection.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironmentAccountConnection.
SYNOPSIS
my $proton = Paws->service('Proton');
my $CreateEnvironmentAccountConnectionOutput =
$proton->CreateEnvironmentAccountConnection(
EnvironmentName => 'MyResourceName',
ManagementAccountId => 'MyAwsAccountId',
RoleArn => 'MyArn',
ClientToken => 'MyClientToken', # OPTIONAL
);
# Results:
my $EnvironmentAccountConnection =
$CreateEnvironmentAccountConnectionOutput->EnvironmentAccountConnection;
# Returns a L<Paws::Proton::CreateEnvironmentAccountConnectionOutput> 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/CreateEnvironmentAccountConnection
ATTRIBUTES
ClientToken => Str
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment account connection that the first request created.
REQUIRED EnvironmentName => Str
The name of the AWS Proton environment that's created in the associated management account.
REQUIRED ManagementAccountId => Str
The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
REQUIRED RoleArn => Str
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateEnvironmentAccountConnection 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