@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.113Z") @Stability(value=Stable) public class CfnEndpointConfig extends CfnResource implements IInspectable
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.*;
CfnEndpointConfig cfnEndpointConfig = CfnEndpointConfig.Builder.create(this, "MyCfnEndpointConfig")
.productionVariants(List.of(ProductionVariantProperty.builder()
.initialVariantWeight(123)
.modelName("modelName")
.variantName("variantName")
// the properties below are optional
.acceleratorType("acceleratorType")
.initialInstanceCount(123)
.instanceType("instanceType")
.serverlessConfig(ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.build())
.build()))
// the properties below are optional
.asyncInferenceConfig(AsyncInferenceConfigProperty.builder()
.outputConfig(AsyncInferenceOutputConfigProperty.builder()
.s3OutputPath("s3OutputPath")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.notificationConfig(AsyncInferenceNotificationConfigProperty.builder()
.errorTopic("errorTopic")
.successTopic("successTopic")
.build())
.build())
// the properties below are optional
.clientConfig(AsyncInferenceClientConfigProperty.builder()
.maxConcurrentInvocationsPerInstance(123)
.build())
.build())
.dataCaptureConfig(DataCaptureConfigProperty.builder()
.captureOptions(List.of(CaptureOptionProperty.builder()
.captureMode("captureMode")
.build()))
.destinationS3Uri("destinationS3Uri")
.initialSamplingPercentage(123)
// the properties below are optional
.captureContentTypeHeader(CaptureContentTypeHeaderProperty.builder()
.csvContentTypes(List.of("csvContentTypes"))
.jsonContentTypes(List.of("jsonContentTypes"))
.build())
.enableCapture(false)
.kmsKeyId("kmsKeyId")
.build())
.endpointConfigName("endpointConfigName")
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnEndpointConfig.AsyncInferenceClientConfigProperty
Example:
|
static interface |
CfnEndpointConfig.AsyncInferenceConfigProperty
Example:
|
static interface |
CfnEndpointConfig.AsyncInferenceNotificationConfigProperty
Example:
|
static interface |
CfnEndpointConfig.AsyncInferenceOutputConfigProperty
Example:
|
static class |
CfnEndpointConfig.Builder
A fluent builder for
CfnEndpointConfig. |
static interface |
CfnEndpointConfig.CaptureContentTypeHeaderProperty
Example:
|
static interface |
CfnEndpointConfig.CaptureOptionProperty
Example:
|
static interface |
CfnEndpointConfig.DataCaptureConfigProperty
Example:
|
static interface |
CfnEndpointConfig.ProductionVariantProperty
Example:
|
static interface |
CfnEndpointConfig.ServerlessConfigProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEndpointConfig(software.constructs.Construct scope,
String id,
CfnEndpointConfigProps props)
Create a new `AWS::SageMaker::EndpointConfig`.
|
protected |
CfnEndpointConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEndpointConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsyncInferenceConfig()
`AWS::SageMaker::EndpointConfig.AsyncInferenceConfig`.
|
String |
getAttrEndpointConfigName() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getDataCaptureConfig()
`AWS::SageMaker::EndpointConfig.DataCaptureConfig`.
|
String |
getEndpointConfigName()
`AWS::SageMaker::EndpointConfig.EndpointConfigName`.
|
String |
getKmsKeyId()
`AWS::SageMaker::EndpointConfig.KmsKeyId`.
|
Object |
getProductionVariants()
`AWS::SageMaker::EndpointConfig.ProductionVariants`.
|
TagManager |
getTags()
`AWS::SageMaker::EndpointConfig.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAsyncInferenceConfig(CfnEndpointConfig.AsyncInferenceConfigProperty value)
`AWS::SageMaker::EndpointConfig.AsyncInferenceConfig`.
|
void |
setAsyncInferenceConfig(IResolvable value)
`AWS::SageMaker::EndpointConfig.AsyncInferenceConfig`.
|
void |
setDataCaptureConfig(CfnEndpointConfig.DataCaptureConfigProperty value)
`AWS::SageMaker::EndpointConfig.DataCaptureConfig`.
|
void |
setDataCaptureConfig(IResolvable value)
`AWS::SageMaker::EndpointConfig.DataCaptureConfig`.
|
void |
setEndpointConfigName(String value)
`AWS::SageMaker::EndpointConfig.EndpointConfigName`.
|
void |
setKmsKeyId(String value)
`AWS::SageMaker::EndpointConfig.KmsKeyId`.
|
void |
setProductionVariants(IResolvable value)
`AWS::SageMaker::EndpointConfig.ProductionVariants`.
|
void |
setProductionVariants(List<Object> value)
`AWS::SageMaker::EndpointConfig.ProductionVariants`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEndpointConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEndpointConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEndpointConfig(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnEndpointConfigProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public Object getAsyncInferenceConfig()
@Stability(value=Stable)
public void setAsyncInferenceConfig(@Nullable
CfnEndpointConfig.AsyncInferenceConfigProperty value)
@Stability(value=Stable)
public void setAsyncInferenceConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public String getAttrEndpointConfigName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getDataCaptureConfig()
@Stability(value=Stable)
public void setDataCaptureConfig(@Nullable
CfnEndpointConfig.DataCaptureConfigProperty value)
@Stability(value=Stable)
public void setDataCaptureConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getEndpointConfigName()
@Stability(value=Stable)
public void setEndpointConfigName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getProductionVariants()
@Stability(value=Stable)
public void setProductionVariants(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setProductionVariants(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.