Skip to content

CreateRemoteSourceActionRequest

Source code in docs_src/capo_mgn/types/create_remote_source_action_request.py
class CreateRemoteSourceActionRequest(TypedDict, closed=True):
    name: "capo_mgn.types.remote_source_action_name.RemoteSourceActionName"
    """<p>The name of the source action.</p>"""
    description: NotRequired[
        "capo_mgn.types.remote_source_action_description.RemoteSourceActionDescription"
    ]
    """<p>A description of the source action.</p>"""
    ssm_parameter_name: "capo_mgn.types.ssm_parameter_store_parameter_name.SsmParameterStoreParameterName"
    """<p>AWS Systems Manager Parameter Store parameter name.</p>"""
    timeout_seconds: NotRequired[
        "capo_mgn.types.remote_source_action_timeout_seconds.RemoteSourceActionTimeoutSeconds"
    ]
    """<p>The maximum time, in seconds, that the script can run on each source server.</p>"""
    operating_system: NotRequired[
        "capo_mgn.types.remote_source_action_operating_system.RemoteSourceActionOperatingSystem"
    ]
    """<p>The operating system of the source servers that the script runs on. Set to <code>linux</code> or <code>windows</code> to run the script only on source servers with that operating system, or <code>all</code> to run it on both.</p>"""
    tags: NotRequired["capo_mgn.types.tags_map.TagsMap"]
    """<p>Tags to assign to the source action.</p>"""
    account_id: NotRequired["capo_mgn.types.account_id.AccountID"]
    """<p>Account ID.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountID]

Account ID.

description instance-attribute

description: NotRequired[RemoteSourceActionDescription]

A description of the source action.

name instance-attribute

The name of the source action.

operating_system instance-attribute

operating_system: NotRequired[RemoteSourceActionOperatingSystem]

The operating system of the source servers that the script runs on. Set to linux or windows to run the script only on source servers with that operating system, or all to run it on both.

ssm_parameter_name instance-attribute

ssm_parameter_name: SsmParameterStoreParameterName

AWS Systems Manager Parameter Store parameter name.

tags instance-attribute

tags: NotRequired[TagsMap]

Tags to assign to the source action.

timeout_seconds instance-attribute

timeout_seconds: NotRequired[RemoteSourceActionTimeoutSeconds]

The maximum time, in seconds, that the script can run on each source server.