ChannelSpecificationProperty Struct
| 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 channelSpecificationProperty: sagemaker.CfnAlgorithm.ChannelSpecificationProperty = {
name: 'name',
supportedContentTypes: ['supportedContentTypes'],
supportedInputModes: ['supportedInputModes'],
// the properties below are optional
description: 'description',
isRequired: false,
supportedCompressionTypes: ['supportedCompressionTypes'],
};
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
channel_specification_property = sagemaker.CfnAlgorithm.ChannelSpecificationProperty(
name="name",
supported_content_types=["supportedContentTypes"],
supported_input_modes=["supportedInputModes"],
# the properties below are optional
description="description",
is_required=False,
supported_compression_types=["supportedCompressionTypes"]
)
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.*;
ChannelSpecificationProperty channelSpecificationProperty = ChannelSpecificationProperty.builder()
.name("name")
.supportedContentTypes(List.of("supportedContentTypes"))
.supportedInputModes(List.of("supportedInputModes"))
// the properties below are optional
.description("description")
.isRequired(false)
.supportedCompressionTypes(List.of("supportedCompressionTypes"))
.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 channelSpecificationProperty = new ChannelSpecificationProperty {
Name = "name",
SupportedContentTypes = new [] { "supportedContentTypes" },
SupportedInputModes = new [] { "supportedInputModes" },
// the properties below are optional
Description = "description",
IsRequired = false,
SupportedCompressionTypes = new [] { "supportedCompressionTypes" }
};
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"
channelSpecificationProperty := &ChannelSpecificationProperty{
Name: jsii.String("name"),
SupportedContentTypes: []*string{
jsii.String("supportedContentTypes"),
},
SupportedInputModes: []*string{
jsii.String("supportedInputModes"),
},
// the properties below are optional
Description: jsii.String("description"),
IsRequired: jsii.Boolean(false),
SupportedCompressionTypes: []*string{
jsii.String("supportedCompressionTypes"),
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #isRequiredoptionalboolean | IResolvableis_requiredoptionaltyping.Union[bool, IResolvable]isRequiredoptionalBooleanIsRequiredoptionalboolIsRequiredoptionalinterface{} #supportedCompressionTypesoptionalstring[]supported_compression_typesoptionaltyping.List[str]supportedCompressionTypesoptionalList<String>SupportedCompressionTypesoptionalstring[]SupportedCompressionTypesoptional*[]*string #supportedContentTypesstring[]supported_content_typestyping.List[str]supportedContentTypesList<String>SupportedContentTypesstring[]SupportedContentTypes*[]*string required #supportedInputModesstring[]supported_input_modestyping.List[str]supportedInputModesList<String>SupportedInputModesstring[]SupportedInputModes*[]*string required #