amazonka-proton-2.0: Amazon Proton SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Proton.Types.EnvironmentAccountConnection

Description

 
Synopsis

Documentation

data EnvironmentAccountConnection Source #

Detailed data of an Proton environment account connection resource.

See: newEnvironmentAccountConnection smart constructor.

Constructors

EnvironmentAccountConnection' 

Fields

  • codebuildRoleArn :: Maybe Text

    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.

  • componentRoleArn :: Maybe Text

    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.

    The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

    For more information about components, see Proton components in the Proton User Guide.

  • arn :: Text

    The Amazon Resource Name (ARN) of the environment account connection.

  • environmentAccountId :: Text

    The environment account that's connected to the environment account connection.

  • environmentName :: Text

    The name of the environment that's associated with the environment account connection.

  • id :: Text

    The ID of the environment account connection.

  • lastModifiedAt :: POSIX

    The time when the environment account connection was last modified.

  • managementAccountId :: Text

    The ID of the management account that's connected to the environment account connection.

  • requestedAt :: POSIX

    The time when the environment account connection request was made.

  • roleArn :: Text

    The IAM service role that's associated with the environment account connection.

  • status :: EnvironmentAccountConnectionStatus

    The status of the environment account connection.

Instances

Instances details
FromJSON EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

Generic EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

Associated Types

type Rep EnvironmentAccountConnection :: Type -> Type #

Read EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

Show EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

NFData EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

Eq EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

Hashable EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

type Rep EnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.Types.EnvironmentAccountConnection

type Rep EnvironmentAccountConnection = D1 ('MetaData "EnvironmentAccountConnection" "Amazonka.Proton.Types.EnvironmentAccountConnection" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "EnvironmentAccountConnection'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "codebuildRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "componentRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "environmentAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "managementAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "requestedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentAccountConnectionStatus))))))

newEnvironmentAccountConnection Source #

Create a value of EnvironmentAccountConnection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:codebuildRoleArn:EnvironmentAccountConnection', environmentAccountConnection_codebuildRoleArn - 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.

$sel:componentRoleArn:EnvironmentAccountConnection', environmentAccountConnection_componentRoleArn - 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.

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

For more information about components, see Proton components in the Proton User Guide.

$sel:arn:EnvironmentAccountConnection', environmentAccountConnection_arn - The Amazon Resource Name (ARN) of the environment account connection.

$sel:environmentAccountId:EnvironmentAccountConnection', environmentAccountConnection_environmentAccountId - The environment account that's connected to the environment account connection.

$sel:environmentName:EnvironmentAccountConnection', environmentAccountConnection_environmentName - The name of the environment that's associated with the environment account connection.

$sel:id:EnvironmentAccountConnection', environmentAccountConnection_id - The ID of the environment account connection.

$sel:lastModifiedAt:EnvironmentAccountConnection', environmentAccountConnection_lastModifiedAt - The time when the environment account connection was last modified.

$sel:managementAccountId:EnvironmentAccountConnection', environmentAccountConnection_managementAccountId - The ID of the management account that's connected to the environment account connection.

$sel:requestedAt:EnvironmentAccountConnection', environmentAccountConnection_requestedAt - The time when the environment account connection request was made.

$sel:roleArn:EnvironmentAccountConnection', environmentAccountConnection_roleArn - The IAM service role that's associated with the environment account connection.

$sel:status:EnvironmentAccountConnection', environmentAccountConnection_status - The status of the environment account connection.

environmentAccountConnection_codebuildRoleArn :: Lens' EnvironmentAccountConnection (Maybe Text) Source #

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.

environmentAccountConnection_componentRoleArn :: Lens' EnvironmentAccountConnection (Maybe Text) Source #

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.

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

For more information about components, see Proton components in the Proton User Guide.

environmentAccountConnection_arn :: Lens' EnvironmentAccountConnection Text Source #

The Amazon Resource Name (ARN) of the environment account connection.

environmentAccountConnection_environmentAccountId :: Lens' EnvironmentAccountConnection Text Source #

The environment account that's connected to the environment account connection.

environmentAccountConnection_environmentName :: Lens' EnvironmentAccountConnection Text Source #

The name of the environment that's associated with the environment account connection.

environmentAccountConnection_id :: Lens' EnvironmentAccountConnection Text Source #

The ID of the environment account connection.

environmentAccountConnection_lastModifiedAt :: Lens' EnvironmentAccountConnection UTCTime Source #

The time when the environment account connection was last modified.

environmentAccountConnection_managementAccountId :: Lens' EnvironmentAccountConnection Text Source #

The ID of the management account that's connected to the environment account connection.

environmentAccountConnection_requestedAt :: Lens' EnvironmentAccountConnection UTCTime Source #

The time when the environment account connection request was made.

environmentAccountConnection_roleArn :: Lens' EnvironmentAccountConnection Text Source #

The IAM service role that's associated with the environment account connection.