Class: AWSCDK::Sagemaker::CfnDomain::DockerSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDomain::DockerSettingsProperty
- Defined in:
- sagemaker/cfn_domain.rb
Overview
A collection of settings that configure the domain's Docker interaction.
Instance Attribute Summary collapse
-
#enable_docker_access ⇒ String?
readonly
Indicates whether the domain can access Docker.
-
#vpc_only_trusted_accounts ⇒ Array<String>?
readonly
The list of AWS accounts that are trusted when the domain is created in VPC-only mode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enable_docker_access: nil, vpc_only_trusted_accounts: nil) ⇒ DockerSettingsProperty
constructor
A new instance of DockerSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enable_docker_access: nil, vpc_only_trusted_accounts: nil) ⇒ DockerSettingsProperty
Returns a new instance of DockerSettingsProperty.
1255 1256 1257 1258 1259 1260 |
# File 'sagemaker/cfn_domain.rb', line 1255 def initialize(enable_docker_access: nil, vpc_only_trusted_accounts: nil) @enable_docker_access = enable_docker_access Jsii::Type.check_type(@enable_docker_access, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "enableDockerAccess") unless @enable_docker_access.nil? @vpc_only_trusted_accounts = vpc_only_trusted_accounts Jsii::Type.check_type(@vpc_only_trusted_accounts, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "vpcOnlyTrustedAccounts") unless @vpc_only_trusted_accounts.nil? end |
Instance Attribute Details
#enable_docker_access ⇒ String? (readonly)
Indicates whether the domain can access Docker.
1266 1267 1268 |
# File 'sagemaker/cfn_domain.rb', line 1266 def enable_docker_access @enable_docker_access end |
#vpc_only_trusted_accounts ⇒ Array<String>? (readonly)
The list of AWS accounts that are trusted when the domain is created in VPC-only mode.
1271 1272 1273 |
# File 'sagemaker/cfn_domain.rb', line 1271 def vpc_only_trusted_accounts @vpc_only_trusted_accounts end |
Class Method Details
.jsii_properties ⇒ Object
1273 1274 1275 1276 1277 1278 |
# File 'sagemaker/cfn_domain.rb', line 1273 def self.jsii_properties { :enable_docker_access => "enableDockerAccess", :vpc_only_trusted_accounts => "vpcOnlyTrustedAccounts", } end |
Instance Method Details
#to_jsii ⇒ Object
1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'sagemaker/cfn_domain.rb', line 1280 def to_jsii result = {} result.merge!({ "enableDockerAccess" => @enable_docker_access, "vpcOnlyTrustedAccounts" => @vpc_only_trusted_accounts, }) result.compact end |