@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.832Z") @Stability(value=Stable) public interface CfnModelProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
Object environment;
CfnModelProps cfnModelProps = CfnModelProps.builder()
.executionRoleArn("executionRoleArn")
// the properties below are optional
.containers(List.of(ContainerDefinitionProperty.builder()
.containerHostname("containerHostname")
.environment(environment)
.image("image")
.imageConfig(ImageConfigProperty.builder()
.repositoryAccessMode("repositoryAccessMode")
// the properties below are optional
.repositoryAuthConfig(RepositoryAuthConfigProperty.builder()
.repositoryCredentialsProviderArn("repositoryCredentialsProviderArn")
.build())
.build())
.mode("mode")
.modelDataUrl("modelDataUrl")
.modelPackageName("modelPackageName")
.multiModelConfig(MultiModelConfigProperty.builder()
.modelCacheSetting("modelCacheSetting")
.build())
.build()))
.enableNetworkIsolation(false)
.inferenceExecutionConfig(InferenceExecutionConfigProperty.builder()
.mode("mode")
.build())
.modelName("modelName")
.primaryContainer(ContainerDefinitionProperty.builder()
.containerHostname("containerHostname")
.environment(environment)
.image("image")
.imageConfig(ImageConfigProperty.builder()
.repositoryAccessMode("repositoryAccessMode")
// the properties below are optional
.repositoryAuthConfig(RepositoryAuthConfigProperty.builder()
.repositoryCredentialsProviderArn("repositoryCredentialsProviderArn")
.build())
.build())
.mode("mode")
.modelDataUrl("modelDataUrl")
.modelPackageName("modelPackageName")
.multiModelConfig(MultiModelConfigProperty.builder()
.modelCacheSetting("modelCacheSetting")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModelProps.Builder
A builder for
CfnModelProps |
static class |
CfnModelProps.Jsii$Proxy
An implementation for
CfnModelProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnModelProps.Builder |
builder() |
default Object |
getContainers()
`AWS::SageMaker::Model.Containers`.
|
default Object |
getEnableNetworkIsolation()
`AWS::SageMaker::Model.EnableNetworkIsolation`.
|
String |
getExecutionRoleArn()
`AWS::SageMaker::Model.ExecutionRoleArn`.
|
default Object |
getInferenceExecutionConfig()
`AWS::SageMaker::Model.InferenceExecutionConfig`.
|
default String |
getModelName()
`AWS::SageMaker::Model.ModelName`.
|
default Object |
getPrimaryContainer()
`AWS::SageMaker::Model.PrimaryContainer`.
|
default List<CfnTag> |
getTags()
`AWS::SageMaker::Model.Tags`.
|
default Object |
getVpcConfig()
`AWS::SageMaker::Model.VpcConfig`.
|
@Stability(value=Stable) @Nullable default Object getContainers()
@Stability(value=Stable) @Nullable default Object getEnableNetworkIsolation()
@Stability(value=Stable) @NotNull String getExecutionRoleArn()
@Stability(value=Stable) @Nullable default Object getInferenceExecutionConfig()
@Stability(value=Stable) @Nullable default String getModelName()
@Stability(value=Stable) @Nullable default Object getPrimaryContainer()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Object getVpcConfig()
@Stability(value=Stable) static CfnModelProps.Builder builder()
CfnModelProps.Builder of CfnModelPropsCopyright © 2021. All rights reserved.