Class: AWSCDK::Batch::CfnJobDefinition::ImagePullSecretProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Batch::CfnJobDefinition::ImagePullSecretProperty
- Defined in:
- batch/cfn_job_definition.rb
Overview
References a Kubernetes secret resource.
This name of the secret must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
Provides a unique identifier for the
ImagePullSecret.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil) ⇒ ImagePullSecretProperty
constructor
A new instance of ImagePullSecretProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil) ⇒ ImagePullSecretProperty
Returns a new instance of ImagePullSecretProperty.
2230 2231 2232 2233 |
# File 'batch/cfn_job_definition.rb', line 2230 def initialize(name: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
Provides a unique identifier for the ImagePullSecret .
This object is required when EksPodProperties$imagePullSecrets is used.
2241 2242 2243 |
# File 'batch/cfn_job_definition.rb', line 2241 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
2243 2244 2245 2246 2247 |
# File 'batch/cfn_job_definition.rb', line 2243 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
2249 2250 2251 2252 2253 2254 2255 |
# File 'batch/cfn_job_definition.rb', line 2249 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |