CfnAppMixinProps
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnAppMixinProps(*, app_name=None, app_type=None, domain_id=None, recovery_mode=None, resource_spec=None, tags=None, user_profile_name=None)
Bases:
objectProperties for CfnAppPropsMixin.
- Parameters:
app_name (
Optional[str]) – The name of the app.app_type (
Optional[str]) – The type of app.domain_id (
Optional[str]) – The domain ID.recovery_mode (
Union[bool,IResolvable,None]) – Indicates whether the application is launched in recovery mode.resource_spec (
Union[IResolvable,ResourceSpecProperty,Dict[str,Any],None]) – Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .user_profile_name (
Optional[str]) – The user profile name.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.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.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins cfn_app_mixin_props = sagemaker_mixins.CfnAppMixinProps( app_name="appName", app_type="appType", domain_id="domainId", recovery_mode=False, resource_spec=sagemaker_mixins.CfnAppPropsMixin.ResourceSpecProperty( instance_type="instanceType", lifecycle_config_arn="lifecycleConfigArn", sage_maker_image_arn="sageMakerImageArn", sage_maker_image_version_arn="sageMakerImageVersionArn" ), tags=[CfnTag( key="key", value="value" )], user_profile_name="userProfileName" )
Attributes
- app_name
The name of the app.
- app_type
The type of app.
- domain_id
The domain ID.
- recovery_mode
Indicates whether the application is launched in recovery mode.
- resource_spec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
- user_profile_name
The user profile name.