CfnModelCardExportJobPropsMixin

class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnModelCardExportJobPropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of AWS::SageMaker::ModelCardExportJob Resource Type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelcardexportjob.html

CloudformationResource:

AWS::SageMaker::ModelCardExportJob

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_sagemaker as sagemaker
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_model_card_export_job_props_mixin = sagemaker.CfnModelCardExportJobPropsMixin(sagemaker.CfnModelCardExportJobMixinProps(
    model_card_export_job_name="modelCardExportJobName",
    model_card_name="modelCardName",
    model_card_version=123,
    output_config=sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty(
        s3_output_path="s3OutputPath"
    )
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::SageMaker::ModelCardExportJob.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['modelCardExportJobName', 'modelCardName', 'modelCardVersion', 'outputConfig']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ModelCardExportArtifactsProperty

class CfnModelCardExportJobPropsMixin.ModelCardExportArtifactsProperty(*, s3_export_artifacts=None)

Bases: object

The artifacts of the model card export job.

Parameters:

s3_export_artifacts (Optional[str]) – The Amazon S3 URI of the exported model artifacts.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcardexportjob-modelcardexportartifacts.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_sagemaker as sagemaker

model_card_export_artifacts_property = sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportArtifactsProperty(
    s3_export_artifacts="s3ExportArtifacts"
)

Attributes

s3_export_artifacts

The Amazon S3 URI of the exported model artifacts.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcardexportjob-modelcardexportartifacts.html#cfn-sagemaker-modelcardexportjob-modelcardexportartifacts-s3exportartifacts

ModelCardExportOutputConfigProperty

class CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty(*, s3_output_path=None)

Bases: object

Configure the export output details for an Amazon SageMaker Model Card.

Parameters:

s3_output_path (Optional[str]) – The Amazon S3 output path to export your model card PDF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcardexportjob-modelcardexportoutputconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_sagemaker as sagemaker

model_card_export_output_config_property = sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty(
    s3_output_path="s3OutputPath"
)

Attributes

s3_output_path

The Amazon S3 output path to export your model card PDF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcardexportjob-modelcardexportoutputconfig.html#cfn-sagemaker-modelcardexportjob-modelcardexportoutputconfig-s3outputpath