CfnPartnerAppPropsMixin

class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnPartnerAppPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::SageMaker::PartnerApp resource 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:

IConstruct

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 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.

Stability:

experimental

PartnerAppConfigProperty

class CfnPartnerAppPropsMixin.PartnerAppConfigProperty(*, admin_users=None, arguments=None)

Bases: object

A 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-adminusers

arguments

Additional arguments passed to the Partner AI App during initialization or runtime.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-arguments

PartnerAppMaintenanceConfigProperty

class CfnPartnerAppPropsMixin.PartnerAppMaintenanceConfigProperty(*, maintenance_window_start=None)

Bases: object

A 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.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

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html#cfn-sagemaker-partnerapp-partnerappmaintenanceconfig-maintenancewindowstart