CfnApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_systemsmanagersap.mixins.CfnApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinAn SAP application registered with AWS Systems Manager for SAP.
- See:
- 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:
- 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
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
ComponentInfoProperty
- class CfnApplicationPropsMixin.ComponentInfoProperty(*, component_type=None, ec2_instance_id=None, sid=None)
Bases:
objectThis 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 isWD.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:
- 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.
- ec2_instance_id
This is the Amazon EC2 instance on which your SAP component is running.
Accepted values are alphanumeric.
- sid
This string is the SAP System ID of the component.
Accepted values are alphanumeric.
CredentialProperty
- class CfnApplicationPropsMixin.CredentialProperty(*, credential_type=None, database_name=None, secret_id=None)
Bases:
objectThe 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:
- 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.
- database_name
The name of the SAP HANA database.
- secret_id
The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.