CfnApplicationPropsMixin

class aws_cdk.mixins_preview.aws_systemsmanagersap.mixins.CfnApplicationPropsMixin(props, *, strategy=None)

Bases: Mixin

An SAP application registered with AWS Systems Manager for SAP.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-systemsmanagersap-application.html

CloudformationResource:

AWS::SystemsManagerSAP::Application

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_systemsmanagersap import mixins as systemsmanagersap_mixins

cfn_application_props_mixin = systemsmanagersap_mixins.CfnApplicationPropsMixin(systemsmanagersap_mixins.CfnApplicationMixinProps(
    application_id="applicationId",
    application_type="applicationType",
    components_info=[systemsmanagersap_mixins.CfnApplicationPropsMixin.ComponentInfoProperty(
        component_type="componentType",
        ec2_instance_id="ec2InstanceId",
        sid="sid"
    )],
    credentials=[systemsmanagersap_mixins.CfnApplicationPropsMixin.CredentialProperty(
        credential_type="credentialType",
        database_name="databaseName",
        secret_id="secretId"
    )],
    database_arn="databaseArn",
    instances=["instances"],
    sap_instance_number="sapInstanceNumber",
    sid="sid",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SystemsManagerSAP::Application.

Parameters:
  • props (Union[CfnApplicationMixinProps, 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 = ['applicationId', 'applicationType', 'componentsInfo', 'credentials', 'databaseArn', 'instances', 'sapInstanceNumber', 'sid', 'tags']

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

ComponentInfoProperty

class CfnApplicationPropsMixin.ComponentInfoProperty(*, component_type=None, ec2_instance_id=None, sid=None)

Bases: object

This is information about the component of your SAP application, such as Web Dispatcher.

Parameters:
  • component_type (Optional[str]) – This string is the type of the component. Accepted value is WD .

  • ec2_instance_id (Optional[str]) – This is the Amazon EC2 instance on which your SAP component is running. Accepted values are alphanumeric.

  • sid (Optional[str]) – This string is the SAP System ID of the component. Accepted values are alphanumeric.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.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_systemsmanagersap import mixins as systemsmanagersap_mixins

component_info_property = systemsmanagersap_mixins.CfnApplicationPropsMixin.ComponentInfoProperty(
    component_type="componentType",
    ec2_instance_id="ec2InstanceId",
    sid="sid"
)

Attributes

component_type

This string is the type of the component.

Accepted value is WD .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-componenttype

ec2_instance_id

This is the Amazon EC2 instance on which your SAP component is running.

Accepted values are alphanumeric.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-ec2instanceid

sid

This string is the SAP System ID of the component.

Accepted values are alphanumeric.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-sid

CredentialProperty

class CfnApplicationPropsMixin.CredentialProperty(*, credential_type=None, database_name=None, secret_id=None)

Bases: object

The credentials of your SAP application.

Parameters:
  • credential_type (Optional[str]) – The type of the application credentials.

  • database_name (Optional[str]) – The name of the SAP HANA database.

  • secret_id (Optional[str]) – The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-credential.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_systemsmanagersap import mixins as systemsmanagersap_mixins

credential_property = systemsmanagersap_mixins.CfnApplicationPropsMixin.CredentialProperty(
    credential_type="credentialType",
    database_name="databaseName",
    secret_id="secretId"
)

Attributes

credential_type

The type of the application credentials.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-credential.html#cfn-systemsmanagersap-application-credential-credentialtype

database_name

The name of the SAP HANA database.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-credential.html#cfn-systemsmanagersap-application-credential-databasename

secret_id

The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-credential.html#cfn-systemsmanagersap-application-credential-secretid