@Stability(value=Stable) public static final class CfnEndpoint.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint>
CfnEndpoint.| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint |
build() |
static CfnEndpoint.Builder |
create(software.constructs.Construct scope,
String id) |
CfnEndpoint.Builder |
deploymentConfig(CfnEndpoint.DeploymentConfigProperty deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
|
CfnEndpoint.Builder |
deploymentConfig(IResolvable deploymentConfig)
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
|
CfnEndpoint.Builder |
endpointConfigName(String endpointConfigName)
The name of the [AWS::SageMaker::EndpointConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html) resource that specifies the configuration for the endpoint.
|
CfnEndpoint.Builder |
endpointName(String endpointName)
The name of the endpoint.The name must be unique within an AWS Region in your AWS account.
|
CfnEndpoint.Builder |
excludeRetainedVariantProperties(IResolvable excludeRetainedVariantProperties)
When you are updating endpoint resources with [RetainAllVariantProperties](https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties) whose value is set to `true` , `ExcludeRetainedVariantProperties` specifies the list of type [VariantProperty](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html) to override with the values provided by `EndpointConfig` .
|
CfnEndpoint.Builder |
excludeRetainedVariantProperties(List<? extends Object> excludeRetainedVariantProperties)
When you are updating endpoint resources with [RetainAllVariantProperties](https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties) whose value is set to `true` , `ExcludeRetainedVariantProperties` specifies the list of type [VariantProperty](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html) to override with the values provided by `EndpointConfig` .
|
CfnEndpoint.Builder |
retainAllVariantProperties(Boolean retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.
|
CfnEndpoint.Builder |
retainAllVariantProperties(IResolvable retainAllVariantProperties)
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.
|
CfnEndpoint.Builder |
retainDeploymentConfig(Boolean retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration.
|
CfnEndpoint.Builder |
retainDeploymentConfig(IResolvable retainDeploymentConfig)
Specifies whether to reuse the last deployment configuration.
|
CfnEndpoint.Builder |
tags(List<? extends CfnTag> tags)
A list of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnEndpoint.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnEndpoint.AlarmProperty.Builder.@Stability(value=Stable) public CfnEndpoint.Builder endpointConfigName(String endpointConfigName)
endpointConfigName - The name of the [AWS::SageMaker::EndpointConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html) resource that specifies the configuration for the endpoint. For more information, see [CreateEndpointConfig](https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html) . This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder deploymentConfig(CfnEndpoint.DeploymentConfigProperty deploymentConfig)
deploymentConfig - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder deploymentConfig(IResolvable deploymentConfig)
deploymentConfig - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder endpointName(String endpointName)
endpointName - The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in `CreateEndpoint` , but the case is preserved and must be matched in [](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html) . This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder excludeRetainedVariantProperties(IResolvable excludeRetainedVariantProperties)
excludeRetainedVariantProperties - When you are updating endpoint resources with [RetainAllVariantProperties](https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties) whose value is set to `true` , `ExcludeRetainedVariantProperties` specifies the list of type [VariantProperty](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html) to override with the values provided by `EndpointConfig` . If you don't specify a value for `ExcludeAllVariantProperties` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when `RetainAllVariantProperties` is set to `false` . This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder excludeRetainedVariantProperties(List<? extends Object> excludeRetainedVariantProperties)
excludeRetainedVariantProperties - When you are updating endpoint resources with [RetainAllVariantProperties](https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties) whose value is set to `true` , `ExcludeRetainedVariantProperties` specifies the list of type [VariantProperty](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html) to override with the values provided by `EndpointConfig` . If you don't specify a value for `ExcludeAllVariantProperties` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when `RetainAllVariantProperties` is set to `false` . This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder retainAllVariantProperties(Boolean retainAllVariantProperties)
To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true . To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false . Use this property only when updating endpoint resources, not when creating new endpoint resources.
retainAllVariantProperties - When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder retainAllVariantProperties(IResolvable retainAllVariantProperties)
To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true . To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false . Use this property only when updating endpoint resources, not when creating new endpoint resources.
retainAllVariantProperties - When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder retainDeploymentConfig(Boolean retainDeploymentConfig)
The default value is false (the configuration is not reused).
retainDeploymentConfig - Specifies whether to reuse the last deployment configuration. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder retainDeploymentConfig(IResolvable retainDeploymentConfig)
The default value is false (the configuration is not reused).
retainDeploymentConfig - Specifies whether to reuse the last deployment configuration. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder tags(List<? extends CfnTag> tags)
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
tags - A list of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnEndpoint build()
build in interface software.amazon.jsii.Builder<CfnEndpoint>Copyright © 2022. All rights reserved.