Class: Aws::Proton::Types::Environment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-proton/types.rb

Overview

Detailed data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.

Constant Summary collapse

SENSITIVE =
[:deployment_status_message, :description, :spec]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the environment.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#codebuild_role_arnString

The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#component_role_arnString

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.

The environment must have a ‘componentRoleArn` to allow directly defined components to be associated with the environment.

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

[1]: docs.aws.amazon.com/proton/latest/userguide/ag-components.html

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#created_atTime

The time when the environment was created.

Returns:

  • (Time)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#deployment_statusString

The environment deployment status.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#deployment_status_messageString

An environment deployment status message.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#descriptionString

The description of the environment.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#environment_account_connection_idString

The ID of the environment account connection that’s used to provision infrastructure resources in an environment account.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#environment_account_idString

The ID of the environment account that the environment infrastructure resources are provisioned in.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#last_attempted_deployment_idString

The ID of the last attempted deployment of this environment.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#last_deployment_attempted_atTime

The time when a deployment of the environment was last attempted.

Returns:

  • (Time)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#last_deployment_succeeded_atTime

The time when the environment was last deployed successfully.

Returns:

  • (Time)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#last_succeeded_deployment_idString

The ID of the last successful deployment of this environment.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#nameString

The name of the environment.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#proton_service_role_arnString

The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#provisioningString

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#provisioning_repositoryTypes::RepositoryBranch

The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see [CreateRepository].

[1]: docs.aws.amazon.com/proton/latest/APIReference/API_CreateRepository.html



2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#specString

The environment spec.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#template_major_versionString

The major version of the environment template.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#template_minor_versionString

The minor version of the environment template.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end

#template_nameString

The Amazon Resource Name (ARN) of the environment template.

Returns:

  • (String)


2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/aws-sdk-proton/types.rb', line 2115

class Environment < Struct.new(
  :arn,
  :codebuild_role_arn,
  :component_role_arn,
  :created_at,
  :deployment_status,
  :deployment_status_message,
  :description,
  :environment_account_connection_id,
  :environment_account_id,
  :last_attempted_deployment_id,
  :last_deployment_attempted_at,
  :last_deployment_succeeded_at,
  :last_succeeded_deployment_id,
  :name,
  :proton_service_role_arn,
  :provisioning,
  :provisioning_repository,
  :spec,
  :template_major_version,
  :template_minor_version,
  :template_name)
  SENSITIVE = [:deployment_status_message, :description, :spec]
  include Aws::Structure
end