@aws-cdk_aws-sagemaker-alpha.ModelAttributes

interface ModelAttributes ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.Alpha.ModelAttributes
Gogithub.com/aws/aws-cdk-go/awscdksagemakeralpha/v2#ModelAttributes
Javasoftware.amazon.awscdk.services.sagemaker.alpha.ModelAttributes
Pythonaws_cdk.aws_sagemaker_alpha.ModelAttributes
TypeScript (source)@aws-cdk/aws-sagemaker-alpha ยป ModelAttributes

Represents a Model resource defined outside this stack.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker_alpha from '@aws-cdk/aws-sagemaker-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
declare const securityGroup: ec2.SecurityGroup;
const modelAttributes: sagemaker_alpha.ModelAttributes = {
  modelArn: 'modelArn',

  // the properties below are optional
  role: role,
  securityGroups: [securityGroup],
};

Properties

NameTypeDescription
modelArn๐Ÿ”นstringThe ARN of this model.
role?๐Ÿ”นIRoleThe IAM execution role associated with this model.
securityGroups?๐Ÿ”นISecurityGroup[]The security groups for this model, if in a VPC.

modelArn๐Ÿ”น

Type: string

The ARN of this model.


role?๐Ÿ”น

Type: IRole (optional, default: When not provided, any role-related operations will no-op.)

The IAM execution role associated with this model.


securityGroups?๐Ÿ”น

Type: ISecurityGroup[] (optional, default: When not provided, the connections to/from this model cannot be managed.)

The security groups for this model, if in a VPC.