CfnPartnerAppPropsMixin
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnPartnerAppPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::SageMaker::PartnerAppresource creates an Amazon SageMaker Partner AI App.For more information, see Partner AI Apps .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html
- CloudformationResource:
AWS::SageMaker::PartnerApp
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins cfn_partner_app_props_mixin = sagemaker_mixins.CfnPartnerAppPropsMixin(sagemaker_mixins.CfnPartnerAppMixinProps( application_config=sagemaker_mixins.CfnPartnerAppPropsMixin.PartnerAppConfigProperty( admin_users=["adminUsers"], arguments={ "arguments_key": "arguments" } ), app_version="appVersion", auth_type="authType", client_token="clientToken", enable_auto_minor_version_upgrade=False, enable_iam_session_based_identity=False, execution_role_arn="executionRoleArn", kms_key_id="kmsKeyId", maintenance_config=sagemaker_mixins.CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty( maintenance_window_start="maintenanceWindowStart" ), name="name", tags=[CfnTag( key="key", value="value" )], tier="tier", type="type" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::SageMaker::PartnerApp.- Parameters:
props (
Union[CfnPartnerAppMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['applicationConfig', 'appVersion', 'authType', 'clientToken', 'enableAutoMinorVersionUpgrade', 'enableIamSessionBasedIdentity', 'executionRoleArn', 'kmsKeyId', 'maintenanceConfig', 'name', 'tags', 'tier', 'type']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
PartnerAppConfigProperty
- class CfnPartnerAppPropsMixin.PartnerAppConfigProperty(*, admin_users=None, arguments=None)
Bases:
objectA collection of configuration settings for the PartnerApp.
- Parameters:
admin_users (
Optional[Sequence[str]]) – A list of users that will have administrative access to the Partner AI App.arguments (
Union[Mapping[str,str],IResolvable,None]) – Additional arguments passed to the Partner AI App during initialization or runtime.
- See:
- 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 partner_app_config_property = sagemaker_mixins.CfnPartnerAppPropsMixin.PartnerAppConfigProperty( admin_users=["adminUsers"], arguments={ "arguments_key": "arguments" } )
Attributes
- admin_users
A list of users that will have administrative access to the Partner AI App.
- arguments
Additional arguments passed to the Partner AI App during initialization or runtime.
PartnerAppMaintenanceConfigProperty
- class CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty(*, maintenance_window_start=None)
Bases:
objectA collection of settings that specify the maintenance schedule for the PartnerApp.
- Parameters:
maintenance_window_start (
Optional[str]) – The maintenance window start day and time for the PartnerApp.- See:
- 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 partner_app_maintenance_config_property = sagemaker_mixins.CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty( maintenance_window_start="maintenanceWindowStart" )
Attributes
- maintenance_window_start
The maintenance window start day and time for the PartnerApp.