CfnServiceActionProps

class aws_cdk.aws_servicecatalog.CfnServiceActionProps(*, definition, definition_type, name, accept_language=None, description=None)

Bases: object

Properties for defining a CfnServiceAction.

Parameters:
  • definition (Union[IResolvable, Sequence[Union[IResolvable, DefinitionParameterProperty, Dict[str, Any]]]]) – A map that defines the self-service action.

  • definition_type (str) – The self-service action definition type. For example, SSM_AUTOMATION .

  • name (str) – The self-service action name.

  • accept_language (Optional[str]) – The language code. - en - English (default) - jp - Japanese - zh - Chinese

  • description (Optional[str]) – The self-service action description.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.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 import aws_servicecatalog as servicecatalog

cfn_service_action_props = servicecatalog.CfnServiceActionProps(
    definition=[servicecatalog.CfnServiceAction.DefinitionParameterProperty(
        key="key",
        value="value"
    )],
    definition_type="definitionType",
    name="name",

    # the properties below are optional
    accept_language="acceptLanguage",
    description="description"
)

Attributes

accept_language

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-acceptlanguage

definition

A map that defines the self-service action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-definition

definition_type

The self-service action definition type.

For example, SSM_AUTOMATION .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-definitiontype

description

The self-service action description.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-description

name

The self-service action name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-name