Struct aws_sdk_proton::operation::create_environment_account_connection::CreateEnvironmentAccountConnectionInput
source · #[non_exhaustive]pub struct CreateEnvironmentAccountConnectionInput {
pub client_token: Option<String>,
pub management_account_id: Option<String>,
pub role_arn: Option<String>,
pub environment_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub component_role_arn: Option<String>,
pub codebuild_role_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_token: Option<String>
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
management_account_id: Option<String>
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
environment_name: Option<String>
The name of the Proton environment that's created in the associated management account.
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
component_role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
codebuild_role_arn: Option<String>
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
Implementations§
source§impl CreateEnvironmentAccountConnectionInput
impl CreateEnvironmentAccountConnectionInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.
sourcepub fn management_account_id(&self) -> Option<&str>
pub fn management_account_id(&self) -> Option<&str>
The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the Proton environment that's created in the associated management account.
An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn component_role_arn(&self) -> Option<&str>
pub fn component_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
You must specify componentRoleArn
to allow directly defined components to be associated with any environments running in this account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn codebuild_role_arn(&self) -> Option<&str>
pub fn codebuild_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
source§impl CreateEnvironmentAccountConnectionInput
impl CreateEnvironmentAccountConnectionInput
sourcepub fn builder() -> CreateEnvironmentAccountConnectionInputBuilder
pub fn builder() -> CreateEnvironmentAccountConnectionInputBuilder
Creates a new builder-style object to manufacture CreateEnvironmentAccountConnectionInput
.
Trait Implementations§
source§impl Clone for CreateEnvironmentAccountConnectionInput
impl Clone for CreateEnvironmentAccountConnectionInput
source§fn clone(&self) -> CreateEnvironmentAccountConnectionInput
fn clone(&self) -> CreateEnvironmentAccountConnectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateEnvironmentAccountConnectionInput
impl PartialEq for CreateEnvironmentAccountConnectionInput
source§fn eq(&self, other: &CreateEnvironmentAccountConnectionInput) -> bool
fn eq(&self, other: &CreateEnvironmentAccountConnectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.