We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource type definition for AWS::SSM::MaintenanceWindowTarget
Create MaintenanceWindowTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MaintenanceWindowTarget(name: string, args: MaintenanceWindowTargetArgs, opts?: CustomResourceOptions);@overload
def MaintenanceWindowTarget(resource_name: str,
args: MaintenanceWindowTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MaintenanceWindowTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_type: Optional[str] = None,
targets: Optional[Sequence[MaintenanceWindowTargetTargetsArgs]] = None,
window_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
owner_information: Optional[str] = None)func NewMaintenanceWindowTarget(ctx *Context, name string, args MaintenanceWindowTargetArgs, opts ...ResourceOption) (*MaintenanceWindowTarget, error)public MaintenanceWindowTarget(string name, MaintenanceWindowTargetArgs args, CustomResourceOptions? opts = null)
public MaintenanceWindowTarget(String name, MaintenanceWindowTargetArgs args)
public MaintenanceWindowTarget(String name, MaintenanceWindowTargetArgs args, CustomResourceOptions options)
type: aws-native:ssm:MaintenanceWindowTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MaintenanceWindowTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MaintenanceWindowTargetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MaintenanceWindowTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceWindowTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceWindowTargetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MaintenanceWindowTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MaintenanceWindowTarget resource accepts the following input properties:
- Resource
Type string - The type of target that is being registered with the maintenance window.
- Targets
List<Pulumi.
Aws Native. Ssm. Inputs. Maintenance Window Target Targets> - The targets to register with the maintenance window.
- Window
Id string - The ID of the maintenance window to register the target with.
- Description string
- A description for the target.
- Name string
- The name for the maintenance window target.
- Owner
Information string - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
- Resource
Type string - The type of target that is being registered with the maintenance window.
- Targets
[]Maintenance
Window Target Targets Args - The targets to register with the maintenance window.
- Window
Id string - The ID of the maintenance window to register the target with.
- Description string
- A description for the target.
- Name string
- The name for the maintenance window target.
- Owner
Information string - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
- resource
Type String - The type of target that is being registered with the maintenance window.
- targets
List<Maintenance
Window Target Targets> - The targets to register with the maintenance window.
- window
Id String - The ID of the maintenance window to register the target with.
- description String
- A description for the target.
- name String
- The name for the maintenance window target.
- owner
Information String - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
- resource
Type string - The type of target that is being registered with the maintenance window.
- targets
Maintenance
Window Target Targets[] - The targets to register with the maintenance window.
- window
Id string - The ID of the maintenance window to register the target with.
- description string
- A description for the target.
- name string
- The name for the maintenance window target.
- owner
Information string - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
- resource_
type str - The type of target that is being registered with the maintenance window.
- targets
Sequence[Maintenance
Window Target Targets Args] - The targets to register with the maintenance window.
- window_
id str - The ID of the maintenance window to register the target with.
- description str
- A description for the target.
- name str
- The name for the maintenance window target.
- owner_
information str - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
- resource
Type String - The type of target that is being registered with the maintenance window.
- targets List<Property Map>
- The targets to register with the maintenance window.
- window
Id String - The ID of the maintenance window to register the target with.
- description String
- A description for the target.
- name String
- The name for the maintenance window target.
- owner
Information String - A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
Outputs
All input properties are implicitly available as output properties. Additionally, the MaintenanceWindowTarget resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Window
Target stringId - The ID of the target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Window
Target stringId - The ID of the target.
- id String
- The provider-assigned unique ID for this managed resource.
- window
Target StringId - The ID of the target.
- id string
- The provider-assigned unique ID for this managed resource.
- window
Target stringId - The ID of the target.
- id str
- The provider-assigned unique ID for this managed resource.
- window_
target_ strid - The ID of the target.
- id String
- The provider-assigned unique ID for this managed resource.
- window
Target StringId - The ID of the target.
Supporting Types
MaintenanceWindowTargetTargets, MaintenanceWindowTargetTargetsArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
