DockerSettingsProperty Struct
A collection of settings that configure the domain's Docker interaction.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const dockerSettingsProperty: sagemaker.CfnDomain.DockerSettingsProperty = {
enableDockerAccess: 'enableDockerAccess',
vpcOnlyTrustedAccounts: ['vpcOnlyTrustedAccounts'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
docker_settings_property = sagemaker.CfnDomain.DockerSettingsProperty(
enable_docker_access="enableDockerAccess",
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
DockerSettingsProperty dockerSettingsProperty = DockerSettingsProperty.builder()
.enableDockerAccess("enableDockerAccess")
.vpcOnlyTrustedAccounts(List.of("vpcOnlyTrustedAccounts"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var dockerSettingsProperty = new DockerSettingsProperty {
EnableDockerAccess = "enableDockerAccess",
VpcOnlyTrustedAccounts = new [] { "vpcOnlyTrustedAccounts" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dockerSettingsProperty := &DockerSettingsProperty{
EnableDockerAccess: jsii.String("enableDockerAccess"),
VpcOnlyTrustedAccounts: []*string{
jsii.String("vpcOnlyTrustedAccounts"),
},
}
Properties
enableDockerAccessoptionalstringenable_docker_accessoptionalstrenableDockerAccessoptionalStringEnableDockerAccessoptionalstringEnableDockerAccessoptional*string #Indicates whether the domain can access Docker.
vpcOnlyTrustedAccountsoptionalstring[]vpc_only_trusted_accountsoptionaltyping.List[str]vpcOnlyTrustedAccountsoptionalList<String>VpcOnlyTrustedAccountsoptionalstring[]VpcOnlyTrustedAccountsoptional*[]*string #The list of AWS accounts that are trusted when the domain is created in VPC-only mode.