Class: AWSCDK::ECS::CfnDaemonTaskDefinition::RepositoryCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::CfnDaemonTaskDefinition::RepositoryCredentialsProperty
- Defined in:
- ecs/cfn_daemon_task_definition.rb
Overview
The repository credentials for private registry authentication.
Instance Attribute Summary collapse
-
#credentials_parameter ⇒ String?
readonly
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(credentials_parameter: nil) ⇒ RepositoryCredentialsProperty
constructor
A new instance of RepositoryCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(credentials_parameter: nil) ⇒ RepositoryCredentialsProperty
Returns a new instance of RepositoryCredentialsProperty.
1763 1764 1765 1766 |
# File 'ecs/cfn_daemon_task_definition.rb', line 1763 def initialize(credentials_parameter: nil) @credentials_parameter = credentials_parameter Jsii::Type.check_type(@credentials_parameter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "credentialsParameter") unless @credentials_parameter.nil? end |
Instance Attribute Details
#credentials_parameter ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
1774 1775 1776 |
# File 'ecs/cfn_daemon_task_definition.rb', line 1774 def credentials_parameter @credentials_parameter end |
Class Method Details
.jsii_properties ⇒ Object
1776 1777 1778 1779 1780 |
# File 'ecs/cfn_daemon_task_definition.rb', line 1776 def self.jsii_properties { :credentials_parameter => "credentialsParameter", } end |
Instance Method Details
#to_jsii ⇒ Object
1782 1783 1784 1785 1786 1787 1788 |
# File 'ecs/cfn_daemon_task_definition.rb', line 1782 def to_jsii result = {} result.merge!({ "credentialsParameter" => @credentials_parameter, }) result.compact end |