CfnSessionProps

class aws_cdk.aws_ssm.CfnSessionProps(*, reason=None, target=None)

Bases: object

Properties for defining a CfnSession.

Parameters:
  • reason (Optional[str]) – The reason for connecting to the instance.

  • target (Optional[str]) – The managed node to connect to for the session.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-session.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_ssm as ssm

cfn_session_props = ssm.CfnSessionProps(
    reason="reason",
    target="target"
)

Attributes

reason

The reason for connecting to the instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-session.html#cfn-ssm-session-reason

target

The managed node to connect to for the session.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-session.html#cfn-ssm-session-target