AWS Fundamentals Logo
AWS Fundamentals
AWS::SageMaker::InferenceExperiment

SageMaker InferenceExperiment

Resource Type definition for AWS::SageMaker::InferenceExperiment

Properties

13 configurable properties. 5 required. Click a row to see details.

Filter:
PropertyTypeFlags
EndpointName
string
RequiredCreate-only
ModelVariants
Array<ModelVariantConfig>
Required
Name
string
RequiredCreate-only
RoleArn
string
RequiredCreate-only
Type
string
RequiredCreate-only
DataStorageConfig
DataStorageConfig
Description
string
DesiredState
string
Write-only
KmsKey
string
Create-only
Schedule
InferenceExperimentSchedule
Write-only
ShadowModeConfig
ShadowModeConfig
StatusReason
string
Write-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the inference experiment.
CreationTimestringThe timestamp at which you created the inference experiment.
EndpointMetadataEndpointMetadata-
LastModifiedTimestringThe timestamp at which you last modified the inference experiment.
StatusstringThe status of the inference experiment.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SageMaker::InferenceExperiment

Resources:
  MyResource:
    Type: AWS::SageMaker::InferenceExperiment
    Properties:
      Name: "my-name"
      Type: "ShadowMode"
      RoleArn: "arn:aws:service:region:account:resource"
      EndpointName: "my-endpointname"
      ModelVariants: []
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

sagemaker:CreateInferenceExperimentsagemaker:DescribeInferenceExperimentsagemaker:AddTagssagemaker:ListTagsiam:PassRole

delete

sagemaker:DeleteInferenceExperimentsagemaker:DescribeInferenceExperimentsagemaker:StopInferenceExperimentsagemaker:ListTags

list

sagemaker:ListInferenceExperiments

read

sagemaker:DescribeInferenceExperimentsagemaker:ListTags

update

sagemaker:UpdateInferenceExperimentsagemaker:StartInferenceExperimentsagemaker:StopInferenceExperimentsagemaker:DescribeInferenceExperimentsagemaker:AddTagssagemaker:DeleteTagssagemaker:ListTags

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSageMaker
Properties18
Required5
TaggingSupported
Primary IDName

Supported Operations

CreateDeleteListReadUpdate

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameTypeRoleArnEndpointNameKmsKey

External Links