CfnMaintenanceWindowTask

class aws_cdk.aws_ssm.CfnMaintenanceWindowTask(scope, id, *, max_concurrency, max_errors, priority, targets, task_arn, task_type, window_id, description=None, logging_info=None, name=None, service_role_arn=None, task_invocation_parameters=None, task_parameters=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::SSM::MaintenanceWindowTask.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html

CloudformationResource

AWS::SSM::MaintenanceWindowTask

Create a new AWS::SSM::MaintenanceWindowTask.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • max_concurrency (str) – AWS::SSM::MaintenanceWindowTask.MaxConcurrency.

  • max_errors (str) – AWS::SSM::MaintenanceWindowTask.MaxErrors.

  • priority (Union[int, float]) – AWS::SSM::MaintenanceWindowTask.Priority.

  • targets (Union[IResolvable, List[Union[IResolvable, TargetProperty]]]) – AWS::SSM::MaintenanceWindowTask.Targets.

  • task_arn (str) – AWS::SSM::MaintenanceWindowTask.TaskArn.

  • task_type (str) – AWS::SSM::MaintenanceWindowTask.TaskType.

  • window_id (str) – AWS::SSM::MaintenanceWindowTask.WindowId.

  • description (Optional[str]) – AWS::SSM::MaintenanceWindowTask.Description.

  • logging_info (Union[IResolvable, LoggingInfoProperty, None]) – AWS::SSM::MaintenanceWindowTask.LoggingInfo.

  • name (Optional[str]) – AWS::SSM::MaintenanceWindowTask.Name.

  • service_role_arn (Optional[str]) – AWS::SSM::MaintenanceWindowTask.ServiceRoleArn.

  • task_invocation_parameters (Union[IResolvable, TaskInvocationParametersProperty, None]) – AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters.

  • task_parameters (Optional[Any]) – AWS::SSM::MaintenanceWindowTask.TaskParameters.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\." because the \ itself will need to be escaped.

For example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

inspect(inspector)

(experimental) Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Stability

experimental

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::SSM::MaintenanceWindowTask'
cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

description

AWS::SSM::MaintenanceWindowTask.Description.

See

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

Return type

Optional[str]

logging_info

AWS::SSM::MaintenanceWindowTask.LoggingInfo.

See

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

Return type

Union[IResolvable, LoggingInfoProperty, None]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

max_concurrency

AWS::SSM::MaintenanceWindowTask.MaxConcurrency.

See

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

Return type

str

max_errors

AWS::SSM::MaintenanceWindowTask.MaxErrors.

See

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

Return type

str

name

AWS::SSM::MaintenanceWindowTask.Name.

See

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

Return type

Optional[str]

node

The construct tree node associated with this construct.

Return type

ConstructNode

priority

AWS::SSM::MaintenanceWindowTask.Priority.

See

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

Return type

Union[int, float]

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

service_role_arn

AWS::SSM::MaintenanceWindowTask.ServiceRoleArn.

See

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

Return type

Optional[str]

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

targets

AWS::SSM::MaintenanceWindowTask.Targets.

See

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

Return type

Union[IResolvable, List[Union[IResolvable, TargetProperty]]]

task_arn

AWS::SSM::MaintenanceWindowTask.TaskArn.

See

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

Return type

str

task_invocation_parameters

AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters.

See

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

Return type

Union[IResolvable, TaskInvocationParametersProperty, None]

task_parameters

AWS::SSM::MaintenanceWindowTask.TaskParameters.

See

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

Return type

Any

task_type

AWS::SSM::MaintenanceWindowTask.TaskType.

See

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

Return type

str

window_id

AWS::SSM::MaintenanceWindowTask.WindowId.

See

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

Return type

str

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

LoggingInfoProperty

class CfnMaintenanceWindowTask.LoggingInfoProperty(*, region, s3_bucket, s3_prefix=None)

Bases: object

Parameters
  • region (str) – CfnMaintenanceWindowTask.LoggingInfoProperty.Region.

  • s3_bucket (str) – CfnMaintenanceWindowTask.LoggingInfoProperty.S3Bucket.

  • s3_prefix (Optional[str]) – CfnMaintenanceWindowTask.LoggingInfoProperty.S3Prefix.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html

Attributes

region

CfnMaintenanceWindowTask.LoggingInfoProperty.Region.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-region

Return type

str

s3_bucket

CfnMaintenanceWindowTask.LoggingInfoProperty.S3Bucket.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3bucket

Return type

str

s3_prefix

CfnMaintenanceWindowTask.LoggingInfoProperty.S3Prefix.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3prefix

Return type

Optional[str]

MaintenanceWindowAutomationParametersProperty

class CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty(*, document_version=None, parameters=None)

Bases: object

Parameters
  • document_version (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty.DocumentVersion.

  • parameters (Optional[Any]) – CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty.Parameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html

Attributes

document_version

CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty.DocumentVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowautomationparameters-documentversion

Return type

Optional[str]

parameters

CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty.Parameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowautomationparameters-parameters

Return type

Any

MaintenanceWindowLambdaParametersProperty

class CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty(*, client_context=None, payload=None, qualifier=None)

Bases: object

Parameters
  • client_context (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.ClientContext.

  • payload (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Payload.

  • qualifier (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Qualifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html

Attributes

client_context

CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.ClientContext.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-clientcontext

Return type

Optional[str]

payload

CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Payload.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-payload

Return type

Optional[str]

qualifier

CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty.Qualifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-qualifier

Return type

Optional[str]

MaintenanceWindowRunCommandParametersProperty

class CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty(*, comment=None, document_hash=None, document_hash_type=None, notification_config=None, output_s3_bucket_name=None, output_s3_key_prefix=None, parameters=None, service_role_arn=None, timeout_seconds=None)

Bases: object

Parameters
  • comment (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Comment.

  • document_hash (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.DocumentHash.

  • document_hash_type (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.DocumentHashType.

  • notification_config (Union[IResolvable, NotificationConfigProperty, None]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.NotificationConfig.

  • output_s3_bucket_name (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.OutputS3BucketName.

  • output_s3_key_prefix (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.OutputS3KeyPrefix.

  • parameters (Optional[Any]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Parameters.

  • service_role_arn (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.ServiceRoleArn.

  • timeout_seconds (Union[int, float, None]) – CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.TimeoutSeconds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html

Attributes

comment

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Comment.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-comment

Return type

Optional[str]

document_hash

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.DocumentHash.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthash

Return type

Optional[str]

document_hash_type

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.DocumentHashType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthashtype

Return type

Optional[str]

notification_config

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.NotificationConfig.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-notificationconfig

Return type

Union[IResolvable, NotificationConfigProperty, None]

output_s3_bucket_name

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.OutputS3BucketName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3bucketname

Return type

Optional[str]

output_s3_key_prefix

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.OutputS3KeyPrefix.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3keyprefix

Return type

Optional[str]

parameters

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Parameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-parameters

Return type

Any

service_role_arn

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.ServiceRoleArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn

Return type

Optional[str]

timeout_seconds

CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.TimeoutSeconds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-timeoutseconds

Return type

Union[int, float, None]

MaintenanceWindowStepFunctionsParametersProperty

class CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty(*, input=None, name=None)

Bases: object

Parameters
  • input (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty.Input.

  • name (Optional[str]) – CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html

Attributes

input

CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty.Input.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters-input

Return type

Optional[str]

name

CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters-name

Return type

Optional[str]

NotificationConfigProperty

class CfnMaintenanceWindowTask.NotificationConfigProperty(*, notification_arn, notification_events=None, notification_type=None)

Bases: object

Parameters
  • notification_arn (str) – CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationArn.

  • notification_events (Optional[List[str]]) – CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationEvents.

  • notification_type (Optional[str]) – CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html

Attributes

notification_arn

CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationarn

Return type

str

notification_events

CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationEvents.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationevents

Return type

Optional[List[str]]

notification_type

CfnMaintenanceWindowTask.NotificationConfigProperty.NotificationType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationtype

Return type

Optional[str]

TargetProperty

class CfnMaintenanceWindowTask.TargetProperty(*, key, values=None)

Bases: object

Parameters
  • key (str) – CfnMaintenanceWindowTask.TargetProperty.Key.

  • values (Optional[List[str]]) – CfnMaintenanceWindowTask.TargetProperty.Values.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html

Attributes

key

CfnMaintenanceWindowTask.TargetProperty.Key.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html#cfn-ssm-maintenancewindowtask-target-key

Return type

str

values

CfnMaintenanceWindowTask.TargetProperty.Values.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html#cfn-ssm-maintenancewindowtask-target-values

Return type

Optional[List[str]]

TaskInvocationParametersProperty

class CfnMaintenanceWindowTask.TaskInvocationParametersProperty(*, maintenance_window_automation_parameters=None, maintenance_window_lambda_parameters=None, maintenance_window_run_command_parameters=None, maintenance_window_step_functions_parameters=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html

Attributes

maintenance_window_automation_parameters

CfnMaintenanceWindowTask.TaskInvocationParametersProperty.MaintenanceWindowAutomationParameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowautomationparameters

Return type

Union[IResolvable, MaintenanceWindowAutomationParametersProperty, None]

maintenance_window_lambda_parameters

CfnMaintenanceWindowTask.TaskInvocationParametersProperty.MaintenanceWindowLambdaParameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowlambdaparameters

Return type

Union[IResolvable, MaintenanceWindowLambdaParametersProperty, None]

maintenance_window_run_command_parameters

CfnMaintenanceWindowTask.TaskInvocationParametersProperty.MaintenanceWindowRunCommandParameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowruncommandparameters

Return type

Union[IResolvable, MaintenanceWindowRunCommandParametersProperty, None]

maintenance_window_step_functions_parameters

CfnMaintenanceWindowTask.TaskInvocationParametersProperty.MaintenanceWindowStepFunctionsParameters.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowstepfunctionsparameters

Return type

Union[IResolvable, MaintenanceWindowStepFunctionsParametersProperty, None]