CfnServiceFunctionProps

class aws_cdk.aws_resiliencehubv2.CfnServiceFunctionProps(*, criticality, name, service_arn, description=None)

Bases: object

Properties for defining a CfnServiceFunction.

Parameters:
  • criticality (str) – The criticality of the service function.

  • name (str) – The name of the service function.

  • service_arn (str) – The ARN of the parent service.

  • description (Optional[str]) – The description of the service function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-servicefunction.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_resiliencehubv2 as resiliencehubv2

cfn_service_function_props = resiliencehubv2.CfnServiceFunctionProps(
    criticality="criticality",
    name="name",
    service_arn="serviceArn",

    # the properties below are optional
    description="description"
)

Attributes

criticality

The criticality of the service function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-servicefunction.html#cfn-resiliencehubv2-servicefunction-criticality

description

The description of the service function.

See:

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

name

The name of the service function.

See:

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

service_arn

The ARN of the parent service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-servicefunction.html#cfn-resiliencehubv2-servicefunction-servicearn