ssm

package
v3.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParameterTypeString       = ParameterType("String")
	ParameterTypeStringList   = ParameterType("StringList")
	ParameterTypeSecureString = ParameterType("SecureString")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Activation

type Activation struct {
	pulumi.CustomResourceState

	// The code the system generates when it processes the activation.
	ActivationCode pulumi.StringOutput `pulumi:"activationCode"`
	// The description of the resource that you want to register.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration.
	ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"`
	// If the current activation has expired.
	Expired pulumi.BoolOutput `pulumi:"expired"`
	// The IAM Role to attach to the managed instance.
	IamRole pulumi.StringOutput `pulumi:"iamRole"`
	// The default name of the registered managed instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of managed instances that are currently registered using this activation.
	RegistrationCount pulumi.IntOutput `pulumi:"registrationCount"`
	// The maximum number of managed instances you want to register. The default value is 1 instance.
	RegistrationLimit pulumi.IntPtrOutput `pulumi:"registrationLimit"`
	// A map of tags to assign to the object.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Registers an on-premises server or virtual machine with Amazon EC2 so that it can be managed using Run Command.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v", "  {\n", "    \"Version\": \"2012-10-17\",\n", "    \"Statement\": {\n", "      \"Effect\": \"Allow\",\n", "      \"Principal\": {\"Service\": \"ssm.amazonaws.com\"},\n", "      \"Action\": \"sts:AssumeRole\"\n", "    }\n", "  }\n")),
		})
		if err != nil {
			return err
		}
		testAttach, err := iam.NewRolePolicyAttachment(ctx, "testAttach", &iam.RolePolicyAttachmentArgs{
			Role:      testRole.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewActivation(ctx, "foo", &ssm.ActivationArgs{
			Description:       pulumi.String("Test"),
			IamRole:           testRole.ID(),
			RegistrationLimit: pulumi.Int(5),
		}, pulumi.DependsOn([]pulumi.Resource{
			testAttach,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS SSM Activation can be imported using the `id`, e.g.

```sh

$ pulumi import aws:ssm/activation:Activation example e488f2f6-e686-4afb-8a04-ef6dfEXAMPLE

```

func GetActivation

func GetActivation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActivationState, opts ...pulumi.ResourceOption) (*Activation, error)

GetActivation gets an existing Activation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewActivation

func NewActivation(ctx *pulumi.Context,
	name string, args *ActivationArgs, opts ...pulumi.ResourceOption) (*Activation, error)

NewActivation registers a new resource with the given unique name, arguments, and options.

func (*Activation) ElementType added in v3.13.0

func (*Activation) ElementType() reflect.Type

func (*Activation) ToActivationOutput added in v3.13.0

func (i *Activation) ToActivationOutput() ActivationOutput

func (*Activation) ToActivationOutputWithContext added in v3.13.0

func (i *Activation) ToActivationOutputWithContext(ctx context.Context) ActivationOutput

func (*Activation) ToActivationPtrOutput added in v3.25.0

func (i *Activation) ToActivationPtrOutput() ActivationPtrOutput

func (*Activation) ToActivationPtrOutputWithContext added in v3.25.0

func (i *Activation) ToActivationPtrOutputWithContext(ctx context.Context) ActivationPtrOutput

type ActivationArgs

type ActivationArgs struct {
	// The description of the resource that you want to register.
	Description pulumi.StringPtrInput
	// UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration.
	ExpirationDate pulumi.StringPtrInput
	// The IAM Role to attach to the managed instance.
	IamRole pulumi.StringInput
	// The default name of the registered managed instance.
	Name pulumi.StringPtrInput
	// The maximum number of managed instances you want to register. The default value is 1 instance.
	RegistrationLimit pulumi.IntPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Activation resource.

func (ActivationArgs) ElementType

func (ActivationArgs) ElementType() reflect.Type

type ActivationArray added in v3.25.0

type ActivationArray []ActivationInput

func (ActivationArray) ElementType added in v3.25.0

func (ActivationArray) ElementType() reflect.Type

func (ActivationArray) ToActivationArrayOutput added in v3.25.0

func (i ActivationArray) ToActivationArrayOutput() ActivationArrayOutput

func (ActivationArray) ToActivationArrayOutputWithContext added in v3.25.0

func (i ActivationArray) ToActivationArrayOutputWithContext(ctx context.Context) ActivationArrayOutput

type ActivationArrayInput added in v3.25.0

type ActivationArrayInput interface {
	pulumi.Input

	ToActivationArrayOutput() ActivationArrayOutput
	ToActivationArrayOutputWithContext(context.Context) ActivationArrayOutput
}

ActivationArrayInput is an input type that accepts ActivationArray and ActivationArrayOutput values. You can construct a concrete instance of `ActivationArrayInput` via:

ActivationArray{ ActivationArgs{...} }

type ActivationArrayOutput added in v3.25.0

type ActivationArrayOutput struct{ *pulumi.OutputState }

func (ActivationArrayOutput) ElementType added in v3.25.0

func (ActivationArrayOutput) ElementType() reflect.Type

func (ActivationArrayOutput) Index added in v3.25.0

func (ActivationArrayOutput) ToActivationArrayOutput added in v3.25.0

func (o ActivationArrayOutput) ToActivationArrayOutput() ActivationArrayOutput

func (ActivationArrayOutput) ToActivationArrayOutputWithContext added in v3.25.0

func (o ActivationArrayOutput) ToActivationArrayOutputWithContext(ctx context.Context) ActivationArrayOutput

type ActivationInput added in v3.13.0

type ActivationInput interface {
	pulumi.Input

	ToActivationOutput() ActivationOutput
	ToActivationOutputWithContext(ctx context.Context) ActivationOutput
}

type ActivationMap added in v3.25.0

type ActivationMap map[string]ActivationInput

func (ActivationMap) ElementType added in v3.25.0

func (ActivationMap) ElementType() reflect.Type

func (ActivationMap) ToActivationMapOutput added in v3.25.0

func (i ActivationMap) ToActivationMapOutput() ActivationMapOutput

func (ActivationMap) ToActivationMapOutputWithContext added in v3.25.0

func (i ActivationMap) ToActivationMapOutputWithContext(ctx context.Context) ActivationMapOutput

type ActivationMapInput added in v3.25.0

type ActivationMapInput interface {
	pulumi.Input

	ToActivationMapOutput() ActivationMapOutput
	ToActivationMapOutputWithContext(context.Context) ActivationMapOutput
}

ActivationMapInput is an input type that accepts ActivationMap and ActivationMapOutput values. You can construct a concrete instance of `ActivationMapInput` via:

ActivationMap{ "key": ActivationArgs{...} }

type ActivationMapOutput added in v3.25.0

type ActivationMapOutput struct{ *pulumi.OutputState }

func (ActivationMapOutput) ElementType added in v3.25.0

func (ActivationMapOutput) ElementType() reflect.Type

func (ActivationMapOutput) MapIndex added in v3.25.0

func (ActivationMapOutput) ToActivationMapOutput added in v3.25.0

func (o ActivationMapOutput) ToActivationMapOutput() ActivationMapOutput

func (ActivationMapOutput) ToActivationMapOutputWithContext added in v3.25.0

func (o ActivationMapOutput) ToActivationMapOutputWithContext(ctx context.Context) ActivationMapOutput

type ActivationOutput added in v3.13.0

type ActivationOutput struct {
	*pulumi.OutputState
}

func (ActivationOutput) ElementType added in v3.13.0

func (ActivationOutput) ElementType() reflect.Type

func (ActivationOutput) ToActivationOutput added in v3.13.0

func (o ActivationOutput) ToActivationOutput() ActivationOutput

func (ActivationOutput) ToActivationOutputWithContext added in v3.13.0

func (o ActivationOutput) ToActivationOutputWithContext(ctx context.Context) ActivationOutput

func (ActivationOutput) ToActivationPtrOutput added in v3.25.0

func (o ActivationOutput) ToActivationPtrOutput() ActivationPtrOutput

func (ActivationOutput) ToActivationPtrOutputWithContext added in v3.25.0

func (o ActivationOutput) ToActivationPtrOutputWithContext(ctx context.Context) ActivationPtrOutput

type ActivationPtrInput added in v3.25.0

type ActivationPtrInput interface {
	pulumi.Input

	ToActivationPtrOutput() ActivationPtrOutput
	ToActivationPtrOutputWithContext(ctx context.Context) ActivationPtrOutput
}

type ActivationPtrOutput added in v3.25.0

type ActivationPtrOutput struct {
	*pulumi.OutputState
}

func (ActivationPtrOutput) ElementType added in v3.25.0

func (ActivationPtrOutput) ElementType() reflect.Type

func (ActivationPtrOutput) ToActivationPtrOutput added in v3.25.0

func (o ActivationPtrOutput) ToActivationPtrOutput() ActivationPtrOutput

func (ActivationPtrOutput) ToActivationPtrOutputWithContext added in v3.25.0

func (o ActivationPtrOutput) ToActivationPtrOutputWithContext(ctx context.Context) ActivationPtrOutput

type ActivationState

type ActivationState struct {
	// The code the system generates when it processes the activation.
	ActivationCode pulumi.StringPtrInput
	// The description of the resource that you want to register.
	Description pulumi.StringPtrInput
	// UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration.
	ExpirationDate pulumi.StringPtrInput
	// If the current activation has expired.
	Expired pulumi.BoolPtrInput
	// The IAM Role to attach to the managed instance.
	IamRole pulumi.StringPtrInput
	// The default name of the registered managed instance.
	Name pulumi.StringPtrInput
	// The number of managed instances that are currently registered using this activation.
	RegistrationCount pulumi.IntPtrInput
	// The maximum number of managed instances you want to register. The default value is 1 instance.
	RegistrationLimit pulumi.IntPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
}

func (ActivationState) ElementType

func (ActivationState) ElementType() reflect.Type

type Association

type Association struct {
	pulumi.CustomResourceState

	// By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`.
	ApplyOnlyAtCronInterval pulumi.BoolPtrOutput `pulumi:"applyOnlyAtCronInterval"`
	// The ID of the SSM association.
	AssociationId pulumi.StringOutput `pulumi:"associationId"`
	// The descriptive name for the association.
	AssociationName pulumi.StringPtrOutput `pulumi:"associationName"`
	// Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls.
	AutomationTargetParameterName pulumi.StringPtrOutput `pulumi:"automationTargetParameterName"`
	// The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
	ComplianceSeverity pulumi.StringPtrOutput `pulumi:"complianceSeverity"`
	// The document version you want to associate with the target(s). Can be a specific version or the default version.
	DocumentVersion pulumi.StringOutput `pulumi:"documentVersion"`
	// The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.
	InstanceId pulumi.StringPtrOutput `pulumi:"instanceId"`
	// The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxConcurrency pulumi.StringPtrOutput `pulumi:"maxConcurrency"`
	// The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxErrors pulumi.StringPtrOutput `pulumi:"maxErrors"`
	// The name of the SSM document to apply.
	Name pulumi.StringOutput `pulumi:"name"`
	// An output location block. Output Location is documented below.
	OutputLocation AssociationOutputLocationPtrOutput `pulumi:"outputLocation"`
	// A block of arbitrary string parameters to pass to the SSM document.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// A cron expression when the association will be applied to the target(s).
	ScheduleExpression pulumi.StringPtrOutput `pulumi:"scheduleExpression"`
	// A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
	Targets AssociationTargetArrayOutput `pulumi:"targets"`
}

Associates an SSM Document to an instance or EC2 tag.

## Import

SSM associations can be imported using the `association_id`, e.g.

```sh

$ pulumi import aws:ssm/association:Association test-association 10abcdef-0abc-1234-5678-90abcdef123456

```

func GetAssociation

func GetAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssociationState, opts ...pulumi.ResourceOption) (*Association, error)

GetAssociation gets an existing Association resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssociation

func NewAssociation(ctx *pulumi.Context,
	name string, args *AssociationArgs, opts ...pulumi.ResourceOption) (*Association, error)

NewAssociation registers a new resource with the given unique name, arguments, and options.

func (*Association) ElementType added in v3.13.0

func (*Association) ElementType() reflect.Type

func (*Association) ToAssociationOutput added in v3.13.0

func (i *Association) ToAssociationOutput() AssociationOutput

func (*Association) ToAssociationOutputWithContext added in v3.13.0

func (i *Association) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

func (*Association) ToAssociationPtrOutput added in v3.25.0

func (i *Association) ToAssociationPtrOutput() AssociationPtrOutput

func (*Association) ToAssociationPtrOutputWithContext added in v3.25.0

func (i *Association) ToAssociationPtrOutputWithContext(ctx context.Context) AssociationPtrOutput

type AssociationArgs

type AssociationArgs struct {
	// By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`.
	ApplyOnlyAtCronInterval pulumi.BoolPtrInput
	// The descriptive name for the association.
	AssociationName pulumi.StringPtrInput
	// Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls.
	AutomationTargetParameterName pulumi.StringPtrInput
	// The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
	ComplianceSeverity pulumi.StringPtrInput
	// The document version you want to associate with the target(s). Can be a specific version or the default version.
	DocumentVersion pulumi.StringPtrInput
	// The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.
	InstanceId pulumi.StringPtrInput
	// The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxConcurrency pulumi.StringPtrInput
	// The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxErrors pulumi.StringPtrInput
	// The name of the SSM document to apply.
	Name pulumi.StringPtrInput
	// An output location block. Output Location is documented below.
	OutputLocation AssociationOutputLocationPtrInput
	// A block of arbitrary string parameters to pass to the SSM document.
	Parameters pulumi.StringMapInput
	// A cron expression when the association will be applied to the target(s).
	ScheduleExpression pulumi.StringPtrInput
	// A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
	Targets AssociationTargetArrayInput
}

The set of arguments for constructing a Association resource.

func (AssociationArgs) ElementType

func (AssociationArgs) ElementType() reflect.Type

type AssociationArray added in v3.25.0

type AssociationArray []AssociationInput

func (AssociationArray) ElementType added in v3.25.0

func (AssociationArray) ElementType() reflect.Type

func (AssociationArray) ToAssociationArrayOutput added in v3.25.0

func (i AssociationArray) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArray) ToAssociationArrayOutputWithContext added in v3.25.0

func (i AssociationArray) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationArrayInput added in v3.25.0

type AssociationArrayInput interface {
	pulumi.Input

	ToAssociationArrayOutput() AssociationArrayOutput
	ToAssociationArrayOutputWithContext(context.Context) AssociationArrayOutput
}

AssociationArrayInput is an input type that accepts AssociationArray and AssociationArrayOutput values. You can construct a concrete instance of `AssociationArrayInput` via:

AssociationArray{ AssociationArgs{...} }

type AssociationArrayOutput added in v3.25.0

type AssociationArrayOutput struct{ *pulumi.OutputState }

func (AssociationArrayOutput) ElementType added in v3.25.0

func (AssociationArrayOutput) ElementType() reflect.Type

func (AssociationArrayOutput) Index added in v3.25.0

func (AssociationArrayOutput) ToAssociationArrayOutput added in v3.25.0

func (o AssociationArrayOutput) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArrayOutput) ToAssociationArrayOutputWithContext added in v3.25.0

func (o AssociationArrayOutput) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput

type AssociationInput added in v3.13.0

type AssociationInput interface {
	pulumi.Input

	ToAssociationOutput() AssociationOutput
	ToAssociationOutputWithContext(ctx context.Context) AssociationOutput
}

type AssociationMap added in v3.25.0

type AssociationMap map[string]AssociationInput

func (AssociationMap) ElementType added in v3.25.0

func (AssociationMap) ElementType() reflect.Type

func (AssociationMap) ToAssociationMapOutput added in v3.25.0

func (i AssociationMap) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMap) ToAssociationMapOutputWithContext added in v3.25.0

func (i AssociationMap) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationMapInput added in v3.25.0

type AssociationMapInput interface {
	pulumi.Input

	ToAssociationMapOutput() AssociationMapOutput
	ToAssociationMapOutputWithContext(context.Context) AssociationMapOutput
}

AssociationMapInput is an input type that accepts AssociationMap and AssociationMapOutput values. You can construct a concrete instance of `AssociationMapInput` via:

AssociationMap{ "key": AssociationArgs{...} }

type AssociationMapOutput added in v3.25.0

type AssociationMapOutput struct{ *pulumi.OutputState }

func (AssociationMapOutput) ElementType added in v3.25.0

func (AssociationMapOutput) ElementType() reflect.Type

func (AssociationMapOutput) MapIndex added in v3.25.0

func (AssociationMapOutput) ToAssociationMapOutput added in v3.25.0

func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMapOutput) ToAssociationMapOutputWithContext added in v3.25.0

func (o AssociationMapOutput) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput

type AssociationOutput added in v3.13.0

type AssociationOutput struct {
	*pulumi.OutputState
}

func (AssociationOutput) ElementType added in v3.13.0

func (AssociationOutput) ElementType() reflect.Type

func (AssociationOutput) ToAssociationOutput added in v3.13.0

func (o AssociationOutput) ToAssociationOutput() AssociationOutput

func (AssociationOutput) ToAssociationOutputWithContext added in v3.13.0

func (o AssociationOutput) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput

func (AssociationOutput) ToAssociationPtrOutput added in v3.25.0

func (o AssociationOutput) ToAssociationPtrOutput() AssociationPtrOutput

func (AssociationOutput) ToAssociationPtrOutputWithContext added in v3.25.0

func (o AssociationOutput) ToAssociationPtrOutputWithContext(ctx context.Context) AssociationPtrOutput

type AssociationOutputLocation

type AssociationOutputLocation struct {
	// The S3 bucket name.
	S3BucketName string `pulumi:"s3BucketName"`
	// The S3 bucket prefix. Results stored in the root if not configured.
	S3KeyPrefix *string `pulumi:"s3KeyPrefix"`
}

type AssociationOutputLocationArgs

type AssociationOutputLocationArgs struct {
	// The S3 bucket name.
	S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
	// The S3 bucket prefix. Results stored in the root if not configured.
	S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"`
}

func (AssociationOutputLocationArgs) ElementType

func (AssociationOutputLocationArgs) ToAssociationOutputLocationOutput

func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput

func (AssociationOutputLocationArgs) ToAssociationOutputLocationOutputWithContext

func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput

func (AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutput

func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput

func (AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutputWithContext

func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput

type AssociationOutputLocationInput

type AssociationOutputLocationInput interface {
	pulumi.Input

	ToAssociationOutputLocationOutput() AssociationOutputLocationOutput
	ToAssociationOutputLocationOutputWithContext(context.Context) AssociationOutputLocationOutput
}

AssociationOutputLocationInput is an input type that accepts AssociationOutputLocationArgs and AssociationOutputLocationOutput values. You can construct a concrete instance of `AssociationOutputLocationInput` via:

AssociationOutputLocationArgs{...}

type AssociationOutputLocationOutput

type AssociationOutputLocationOutput struct{ *pulumi.OutputState }

func (AssociationOutputLocationOutput) ElementType

func (AssociationOutputLocationOutput) S3BucketName

The S3 bucket name.

func (AssociationOutputLocationOutput) S3KeyPrefix

The S3 bucket prefix. Results stored in the root if not configured.

func (AssociationOutputLocationOutput) ToAssociationOutputLocationOutput

func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput

func (AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext

func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput

func (AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput

func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput

func (AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext

func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput

type AssociationOutputLocationPtrInput

type AssociationOutputLocationPtrInput interface {
	pulumi.Input

	ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
	ToAssociationOutputLocationPtrOutputWithContext(context.Context) AssociationOutputLocationPtrOutput
}

AssociationOutputLocationPtrInput is an input type that accepts AssociationOutputLocationArgs, AssociationOutputLocationPtr and AssociationOutputLocationPtrOutput values. You can construct a concrete instance of `AssociationOutputLocationPtrInput` via:

        AssociationOutputLocationArgs{...}

or:

        nil

type AssociationOutputLocationPtrOutput

type AssociationOutputLocationPtrOutput struct{ *pulumi.OutputState }

func (AssociationOutputLocationPtrOutput) Elem

func (AssociationOutputLocationPtrOutput) ElementType

func (AssociationOutputLocationPtrOutput) S3BucketName

The S3 bucket name.

func (AssociationOutputLocationPtrOutput) S3KeyPrefix

The S3 bucket prefix. Results stored in the root if not configured.

func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput

func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput

func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext

func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput

type AssociationPtrInput added in v3.25.0

type AssociationPtrInput interface {
	pulumi.Input

	ToAssociationPtrOutput() AssociationPtrOutput
	ToAssociationPtrOutputWithContext(ctx context.Context) AssociationPtrOutput
}

type AssociationPtrOutput added in v3.25.0

type AssociationPtrOutput struct {
	*pulumi.OutputState
}

func (AssociationPtrOutput) ElementType added in v3.25.0

func (AssociationPtrOutput) ElementType() reflect.Type

func (AssociationPtrOutput) ToAssociationPtrOutput added in v3.25.0

func (o AssociationPtrOutput) ToAssociationPtrOutput() AssociationPtrOutput

func (AssociationPtrOutput) ToAssociationPtrOutputWithContext added in v3.25.0

func (o AssociationPtrOutput) ToAssociationPtrOutputWithContext(ctx context.Context) AssociationPtrOutput

type AssociationState

type AssociationState struct {
	// By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`.
	ApplyOnlyAtCronInterval pulumi.BoolPtrInput
	// The ID of the SSM association.
	AssociationId pulumi.StringPtrInput
	// The descriptive name for the association.
	AssociationName pulumi.StringPtrInput
	// Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls.
	AutomationTargetParameterName pulumi.StringPtrInput
	// The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
	ComplianceSeverity pulumi.StringPtrInput
	// The document version you want to associate with the target(s). Can be a specific version or the default version.
	DocumentVersion pulumi.StringPtrInput
	// The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.
	InstanceId pulumi.StringPtrInput
	// The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxConcurrency pulumi.StringPtrInput
	// The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%.
	MaxErrors pulumi.StringPtrInput
	// The name of the SSM document to apply.
	Name pulumi.StringPtrInput
	// An output location block. Output Location is documented below.
	OutputLocation AssociationOutputLocationPtrInput
	// A block of arbitrary string parameters to pass to the SSM document.
	Parameters pulumi.StringMapInput
	// A cron expression when the association will be applied to the target(s).
	ScheduleExpression pulumi.StringPtrInput
	// A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
	Targets AssociationTargetArrayInput
}

func (AssociationState) ElementType

func (AssociationState) ElementType() reflect.Type

type AssociationTarget

type AssociationTarget struct {
	// Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.
	Key string `pulumi:"key"`
	// A list of instance IDs or tag values. AWS currently limits this list size to one value.
	Values []string `pulumi:"values"`
}

type AssociationTargetArgs

type AssociationTargetArgs struct {
	// Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.
	Key pulumi.StringInput `pulumi:"key"`
	// A list of instance IDs or tag values. AWS currently limits this list size to one value.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (AssociationTargetArgs) ElementType

func (AssociationTargetArgs) ElementType() reflect.Type

func (AssociationTargetArgs) ToAssociationTargetOutput

func (i AssociationTargetArgs) ToAssociationTargetOutput() AssociationTargetOutput

func (AssociationTargetArgs) ToAssociationTargetOutputWithContext

func (i AssociationTargetArgs) ToAssociationTargetOutputWithContext(ctx context.Context) AssociationTargetOutput

type AssociationTargetArray

type AssociationTargetArray []AssociationTargetInput

func (AssociationTargetArray) ElementType

func (AssociationTargetArray) ElementType() reflect.Type

func (AssociationTargetArray) ToAssociationTargetArrayOutput

func (i AssociationTargetArray) ToAssociationTargetArrayOutput() AssociationTargetArrayOutput

func (AssociationTargetArray) ToAssociationTargetArrayOutputWithContext

func (i AssociationTargetArray) ToAssociationTargetArrayOutputWithContext(ctx context.Context) AssociationTargetArrayOutput

type AssociationTargetArrayInput

type AssociationTargetArrayInput interface {
	pulumi.Input

	ToAssociationTargetArrayOutput() AssociationTargetArrayOutput
	ToAssociationTargetArrayOutputWithContext(context.Context) AssociationTargetArrayOutput
}

AssociationTargetArrayInput is an input type that accepts AssociationTargetArray and AssociationTargetArrayOutput values. You can construct a concrete instance of `AssociationTargetArrayInput` via:

AssociationTargetArray{ AssociationTargetArgs{...} }

type AssociationTargetArrayOutput

type AssociationTargetArrayOutput struct{ *pulumi.OutputState }

func (AssociationTargetArrayOutput) ElementType

func (AssociationTargetArrayOutput) Index

func (AssociationTargetArrayOutput) ToAssociationTargetArrayOutput

func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutput() AssociationTargetArrayOutput

func (AssociationTargetArrayOutput) ToAssociationTargetArrayOutputWithContext

func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutputWithContext(ctx context.Context) AssociationTargetArrayOutput

type AssociationTargetInput

type AssociationTargetInput interface {
	pulumi.Input

	ToAssociationTargetOutput() AssociationTargetOutput
	ToAssociationTargetOutputWithContext(context.Context) AssociationTargetOutput
}

AssociationTargetInput is an input type that accepts AssociationTargetArgs and AssociationTargetOutput values. You can construct a concrete instance of `AssociationTargetInput` via:

AssociationTargetArgs{...}

type AssociationTargetOutput

type AssociationTargetOutput struct{ *pulumi.OutputState }

func (AssociationTargetOutput) ElementType

func (AssociationTargetOutput) ElementType() reflect.Type

func (AssociationTargetOutput) Key

Either `InstanceIds` or `tag:Tag Name` to specify an EC2 tag.

func (AssociationTargetOutput) ToAssociationTargetOutput

func (o AssociationTargetOutput) ToAssociationTargetOutput() AssociationTargetOutput

func (AssociationTargetOutput) ToAssociationTargetOutputWithContext

func (o AssociationTargetOutput) ToAssociationTargetOutputWithContext(ctx context.Context) AssociationTargetOutput

func (AssociationTargetOutput) Values

A list of instance IDs or tag values. AWS currently limits this list size to one value.

type Document

type Document struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// One or more configuration blocks describing attachments sources to a version of a document. Defined below.
	AttachmentsSources DocumentAttachmentsSourceArrayOutput `pulumi:"attachmentsSources"`
	// The JSON or YAML content of the document.
	Content pulumi.StringOutput `pulumi:"content"`
	// The date the document was created.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// The default version of the document.
	DefaultVersion pulumi.StringOutput `pulumi:"defaultVersion"`
	// The description of the document.
	Description pulumi.StringOutput `pulumi:"description"`
	// The format of the document. Valid document types include: `JSON` and `YAML`
	DocumentFormat pulumi.StringPtrOutput `pulumi:"documentFormat"`
	// The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session`
	DocumentType pulumi.StringOutput `pulumi:"documentType"`
	// The document version.
	DocumentVersion pulumi.StringOutput `pulumi:"documentVersion"`
	// The sha1 or sha256 of the document content
	Hash pulumi.StringOutput `pulumi:"hash"`
	// "Sha1" "Sha256". The hashing algorithm used when hashing the content.
	HashType pulumi.StringOutput `pulumi:"hashType"`
	// The latest version of the document.
	LatestVersion pulumi.StringOutput `pulumi:"latestVersion"`
	// The name of the document.
	Name pulumi.StringOutput `pulumi:"name"`
	// The AWS user account of the person who created the document.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// The parameters that are available to this document.
	Parameters DocumentParameterArrayOutput `pulumi:"parameters"`
	// Additional Permissions to attach to the document. See Permissions below for details.
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// A list of OS platforms compatible with this SSM document, either "Windows" or "Linux".
	PlatformTypes pulumi.StringArrayOutput `pulumi:"platformTypes"`
	// The schema version of the document.
	SchemaVersion pulumi.StringOutput `pulumi:"schemaVersion"`
	// "Creating", "Active" or "Deleting". The current status of the document.
	Status pulumi.StringOutput `pulumi:"status"`
	// A map of tags to assign to the object.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html)
	TargetType pulumi.StringPtrOutput `pulumi:"targetType"`
	// A field specifying the version of the artifact you are creating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document and cannot be changed for an existing document version.
	VersionName pulumi.StringPtrOutput `pulumi:"versionName"`
}

Provides an SSM Document resource

> **NOTE on updating SSM documents:** Only documents with a schema version of 2.0 or greater can update their content once created, see [SSM Schema Features](http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html#document-schemas-features). To update a document with an older schema version you must recreate the resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewDocument(ctx, "foo", &ssm.DocumentArgs{
			Content:      pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "  {\n", "    \"schemaVersion\": \"1.2\",\n", "    \"description\": \"Check ip configuration of a Linux instance.\",\n", "    \"parameters\": {\n", "\n", "    },\n", "    \"runtimeConfig\": {\n", "      \"aws:runShellScript\": {\n", "        \"properties\": [\n", "          {\n", "            \"id\": \"0.aws:runShellScript\",\n", "            \"runCommand\": [\"ifconfig\"]\n", "          }\n", "        ]\n", "      }\n", "    }\n", "  }\n", "\n")),
			DocumentType: pulumi.String("Command"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Permissions

The permissions attribute specifies how you want to share the document. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.

The permissions mapping supports the following:

* `type` - The permission type for the document. The permission type can be `Share`. * `accountIds` - The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or `All`.

## Import

SSM Documents can be imported using the name, e.g.

```sh

$ pulumi import aws:ssm/document:Document example example

```

The `attachments_source` argument does not have an SSM API method for reading the attachment information detail after creation. If the argument is set in the provider configuration on an imported resource, this provider will always show a difference. To workaround this behavior, either omit the argument from the configuration or use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to hide the difference, e.g. terraform resource "aws_ssm_document" "test" {

name

= "test_document"

document_type = "Package"

attachments_source {

key

= "SourceUrl"

values = ["s3://${aws_s3_bucket.object_bucket.bucket}/test.zip"]

}

There is no AWS SSM API for reading attachments_source info directly

lifecycle {

ignore_changes = [attachments_source]

} }

func GetDocument

func GetDocument(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DocumentState, opts ...pulumi.ResourceOption) (*Document, error)

GetDocument gets an existing Document resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDocument

func NewDocument(ctx *pulumi.Context,
	name string, args *DocumentArgs, opts ...pulumi.ResourceOption) (*Document, error)

NewDocument registers a new resource with the given unique name, arguments, and options.

func (*Document) ElementType added in v3.13.0

func (*Document) ElementType() reflect.Type

func (*Document) ToDocumentOutput added in v3.13.0

func (i *Document) ToDocumentOutput() DocumentOutput

func (*Document) ToDocumentOutputWithContext added in v3.13.0

func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutput

func (*Document) ToDocumentPtrOutput added in v3.25.0

func (i *Document) ToDocumentPtrOutput() DocumentPtrOutput

func (*Document) ToDocumentPtrOutputWithContext added in v3.25.0

func (i *Document) ToDocumentPtrOutputWithContext(ctx context.Context) DocumentPtrOutput

type DocumentArgs

type DocumentArgs struct {
	// One or more configuration blocks describing attachments sources to a version of a document. Defined below.
	AttachmentsSources DocumentAttachmentsSourceArrayInput
	// The JSON or YAML content of the document.
	Content pulumi.StringInput
	// The format of the document. Valid document types include: `JSON` and `YAML`
	DocumentFormat pulumi.StringPtrInput
	// The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session`
	DocumentType pulumi.StringInput
	// The name of the document.
	Name pulumi.StringPtrInput
	// Additional Permissions to attach to the document. See Permissions below for details.
	Permissions pulumi.StringMapInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html)
	TargetType pulumi.StringPtrInput
	// A field specifying the version of the artifact you are creating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document and cannot be changed for an existing document version.
	VersionName pulumi.StringPtrInput
}

The set of arguments for constructing a Document resource.

func (DocumentArgs) ElementType

func (DocumentArgs) ElementType() reflect.Type

type DocumentArray added in v3.25.0

type DocumentArray []DocumentInput

func (DocumentArray) ElementType added in v3.25.0

func (DocumentArray) ElementType() reflect.Type

func (DocumentArray) ToDocumentArrayOutput added in v3.25.0

func (i DocumentArray) ToDocumentArrayOutput() DocumentArrayOutput

func (DocumentArray) ToDocumentArrayOutputWithContext added in v3.25.0

func (i DocumentArray) ToDocumentArrayOutputWithContext(ctx context.Context) DocumentArrayOutput

type DocumentArrayInput added in v3.25.0

type DocumentArrayInput interface {
	pulumi.Input

	ToDocumentArrayOutput() DocumentArrayOutput
	ToDocumentArrayOutputWithContext(context.Context) DocumentArrayOutput
}

DocumentArrayInput is an input type that accepts DocumentArray and DocumentArrayOutput values. You can construct a concrete instance of `DocumentArrayInput` via:

DocumentArray{ DocumentArgs{...} }

type DocumentArrayOutput added in v3.25.0

type DocumentArrayOutput struct{ *pulumi.OutputState }

func (DocumentArrayOutput) ElementType added in v3.25.0

func (DocumentArrayOutput) ElementType() reflect.Type

func (DocumentArrayOutput) Index added in v3.25.0

func (DocumentArrayOutput) ToDocumentArrayOutput added in v3.25.0

func (o DocumentArrayOutput) ToDocumentArrayOutput() DocumentArrayOutput

func (DocumentArrayOutput) ToDocumentArrayOutputWithContext added in v3.25.0

func (o DocumentArrayOutput) ToDocumentArrayOutputWithContext(ctx context.Context) DocumentArrayOutput

type DocumentAttachmentsSource

type DocumentAttachmentsSource struct {
	// The key describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
	Key string `pulumi:"key"`
	// The name of the document attachment file
	Name *string `pulumi:"name"`
	// The value describing the location of an attachment to a document
	Values []string `pulumi:"values"`
}

type DocumentAttachmentsSourceArgs

type DocumentAttachmentsSourceArgs struct {
	// The key describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
	Key pulumi.StringInput `pulumi:"key"`
	// The name of the document attachment file
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value describing the location of an attachment to a document
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (DocumentAttachmentsSourceArgs) ElementType

func (DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutput

func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput

func (DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutputWithContext

func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput

type DocumentAttachmentsSourceArray

type DocumentAttachmentsSourceArray []DocumentAttachmentsSourceInput

func (DocumentAttachmentsSourceArray) ElementType

func (DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutput

func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput

func (DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutputWithContext

func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput

type DocumentAttachmentsSourceArrayInput

type DocumentAttachmentsSourceArrayInput interface {
	pulumi.Input

	ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput
	ToDocumentAttachmentsSourceArrayOutputWithContext(context.Context) DocumentAttachmentsSourceArrayOutput
}

DocumentAttachmentsSourceArrayInput is an input type that accepts DocumentAttachmentsSourceArray and DocumentAttachmentsSourceArrayOutput values. You can construct a concrete instance of `DocumentAttachmentsSourceArrayInput` via:

DocumentAttachmentsSourceArray{ DocumentAttachmentsSourceArgs{...} }

type DocumentAttachmentsSourceArrayOutput

type DocumentAttachmentsSourceArrayOutput struct{ *pulumi.OutputState }

func (DocumentAttachmentsSourceArrayOutput) ElementType

func (DocumentAttachmentsSourceArrayOutput) Index

func (DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutput

func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput

func (DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutputWithContext

func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput

type DocumentAttachmentsSourceInput

type DocumentAttachmentsSourceInput interface {
	pulumi.Input

	ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput
	ToDocumentAttachmentsSourceOutputWithContext(context.Context) DocumentAttachmentsSourceOutput
}

DocumentAttachmentsSourceInput is an input type that accepts DocumentAttachmentsSourceArgs and DocumentAttachmentsSourceOutput values. You can construct a concrete instance of `DocumentAttachmentsSourceInput` via:

DocumentAttachmentsSourceArgs{...}

type DocumentAttachmentsSourceOutput

type DocumentAttachmentsSourceOutput struct{ *pulumi.OutputState }

func (DocumentAttachmentsSourceOutput) ElementType

func (DocumentAttachmentsSourceOutput) Key

The key describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`

func (DocumentAttachmentsSourceOutput) Name

The name of the document attachment file

func (DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutput

func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput

func (DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutputWithContext

func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput

func (DocumentAttachmentsSourceOutput) Values

The value describing the location of an attachment to a document

type DocumentInput added in v3.13.0

type DocumentInput interface {
	pulumi.Input

	ToDocumentOutput() DocumentOutput
	ToDocumentOutputWithContext(ctx context.Context) DocumentOutput
}

type DocumentMap added in v3.25.0

type DocumentMap map[string]DocumentInput

func (DocumentMap) ElementType added in v3.25.0

func (DocumentMap) ElementType() reflect.Type

func (DocumentMap) ToDocumentMapOutput added in v3.25.0

func (i DocumentMap) ToDocumentMapOutput() DocumentMapOutput

func (DocumentMap) ToDocumentMapOutputWithContext added in v3.25.0

func (i DocumentMap) ToDocumentMapOutputWithContext(ctx context.Context) DocumentMapOutput

type DocumentMapInput added in v3.25.0

type DocumentMapInput interface {
	pulumi.Input

	ToDocumentMapOutput() DocumentMapOutput
	ToDocumentMapOutputWithContext(context.Context) DocumentMapOutput
}

DocumentMapInput is an input type that accepts DocumentMap and DocumentMapOutput values. You can construct a concrete instance of `DocumentMapInput` via:

DocumentMap{ "key": DocumentArgs{...} }

type DocumentMapOutput added in v3.25.0

type DocumentMapOutput struct{ *pulumi.OutputState }

func (DocumentMapOutput) ElementType added in v3.25.0

func (DocumentMapOutput) ElementType() reflect.Type

func (DocumentMapOutput) MapIndex added in v3.25.0

func (DocumentMapOutput) ToDocumentMapOutput added in v3.25.0

func (o DocumentMapOutput) ToDocumentMapOutput() DocumentMapOutput

func (DocumentMapOutput) ToDocumentMapOutputWithContext added in v3.25.0

func (o DocumentMapOutput) ToDocumentMapOutputWithContext(ctx context.Context) DocumentMapOutput

type DocumentOutput added in v3.13.0

type DocumentOutput struct {
	*pulumi.OutputState
}

func (DocumentOutput) ElementType added in v3.13.0

func (DocumentOutput) ElementType() reflect.Type

func (DocumentOutput) ToDocumentOutput added in v3.13.0

func (o DocumentOutput) ToDocumentOutput() DocumentOutput

func (DocumentOutput) ToDocumentOutputWithContext added in v3.13.0

func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) DocumentOutput

func (DocumentOutput) ToDocumentPtrOutput added in v3.25.0

func (o DocumentOutput) ToDocumentPtrOutput() DocumentPtrOutput

func (DocumentOutput) ToDocumentPtrOutputWithContext added in v3.25.0

func (o DocumentOutput) ToDocumentPtrOutputWithContext(ctx context.Context) DocumentPtrOutput

type DocumentParameter

type DocumentParameter struct {
	DefaultValue *string `pulumi:"defaultValue"`
	// The description of the document.
	Description *string `pulumi:"description"`
	// The name of the document.
	Name *string `pulumi:"name"`
	Type *string `pulumi:"type"`
}

type DocumentParameterArgs

type DocumentParameterArgs struct {
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// The description of the document.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the document.
	Name pulumi.StringPtrInput `pulumi:"name"`
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (DocumentParameterArgs) ElementType

func (DocumentParameterArgs) ElementType() reflect.Type

func (DocumentParameterArgs) ToDocumentParameterOutput

func (i DocumentParameterArgs) ToDocumentParameterOutput() DocumentParameterOutput

func (DocumentParameterArgs) ToDocumentParameterOutputWithContext

func (i DocumentParameterArgs) ToDocumentParameterOutputWithContext(ctx context.Context) DocumentParameterOutput

type DocumentParameterArray

type DocumentParameterArray []DocumentParameterInput

func (DocumentParameterArray) ElementType

func (DocumentParameterArray) ElementType() reflect.Type

func (DocumentParameterArray) ToDocumentParameterArrayOutput

func (i DocumentParameterArray) ToDocumentParameterArrayOutput() DocumentParameterArrayOutput

func (DocumentParameterArray) ToDocumentParameterArrayOutputWithContext

func (i DocumentParameterArray) ToDocumentParameterArrayOutputWithContext(ctx context.Context) DocumentParameterArrayOutput

type DocumentParameterArrayInput

type DocumentParameterArrayInput interface {
	pulumi.Input

	ToDocumentParameterArrayOutput() DocumentParameterArrayOutput
	ToDocumentParameterArrayOutputWithContext(context.Context) DocumentParameterArrayOutput
}

DocumentParameterArrayInput is an input type that accepts DocumentParameterArray and DocumentParameterArrayOutput values. You can construct a concrete instance of `DocumentParameterArrayInput` via:

DocumentParameterArray{ DocumentParameterArgs{...} }

type DocumentParameterArrayOutput

type DocumentParameterArrayOutput struct{ *pulumi.OutputState }

func (DocumentParameterArrayOutput) ElementType

func (DocumentParameterArrayOutput) Index

func (DocumentParameterArrayOutput) ToDocumentParameterArrayOutput

func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutput() DocumentParameterArrayOutput

func (DocumentParameterArrayOutput) ToDocumentParameterArrayOutputWithContext

func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutputWithContext(ctx context.Context) DocumentParameterArrayOutput

type DocumentParameterInput

type DocumentParameterInput interface {
	pulumi.Input

	ToDocumentParameterOutput() DocumentParameterOutput
	ToDocumentParameterOutputWithContext(context.Context) DocumentParameterOutput
}

DocumentParameterInput is an input type that accepts DocumentParameterArgs and DocumentParameterOutput values. You can construct a concrete instance of `DocumentParameterInput` via:

DocumentParameterArgs{...}

type DocumentParameterOutput

type DocumentParameterOutput struct{ *pulumi.OutputState }

func (DocumentParameterOutput) DefaultValue

func (DocumentParameterOutput) Description

The description of the document.

func (DocumentParameterOutput) ElementType

func (DocumentParameterOutput) ElementType() reflect.Type

func (DocumentParameterOutput) Name

The name of the document.

func (DocumentParameterOutput) ToDocumentParameterOutput

func (o DocumentParameterOutput) ToDocumentParameterOutput() DocumentParameterOutput

func (DocumentParameterOutput) ToDocumentParameterOutputWithContext

func (o DocumentParameterOutput) ToDocumentParameterOutputWithContext(ctx context.Context) DocumentParameterOutput

func (DocumentParameterOutput) Type

type DocumentPtrInput added in v3.25.0

type DocumentPtrInput interface {
	pulumi.Input

	ToDocumentPtrOutput() DocumentPtrOutput
	ToDocumentPtrOutputWithContext(ctx context.Context) DocumentPtrOutput
}

type DocumentPtrOutput added in v3.25.0

type DocumentPtrOutput struct {
	*pulumi.OutputState
}

func (DocumentPtrOutput) ElementType added in v3.25.0

func (DocumentPtrOutput) ElementType() reflect.Type

func (DocumentPtrOutput) ToDocumentPtrOutput added in v3.25.0

func (o DocumentPtrOutput) ToDocumentPtrOutput() DocumentPtrOutput

func (DocumentPtrOutput) ToDocumentPtrOutputWithContext added in v3.25.0

func (o DocumentPtrOutput) ToDocumentPtrOutputWithContext(ctx context.Context) DocumentPtrOutput

type DocumentState

type DocumentState struct {
	Arn pulumi.StringPtrInput
	// One or more configuration blocks describing attachments sources to a version of a document. Defined below.
	AttachmentsSources DocumentAttachmentsSourceArrayInput
	// The JSON or YAML content of the document.
	Content pulumi.StringPtrInput
	// The date the document was created.
	CreatedDate pulumi.StringPtrInput
	// The default version of the document.
	DefaultVersion pulumi.StringPtrInput
	// The description of the document.
	Description pulumi.StringPtrInput
	// The format of the document. Valid document types include: `JSON` and `YAML`
	DocumentFormat pulumi.StringPtrInput
	// The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session`
	DocumentType pulumi.StringPtrInput
	// The document version.
	DocumentVersion pulumi.StringPtrInput
	// The sha1 or sha256 of the document content
	Hash pulumi.StringPtrInput
	// "Sha1" "Sha256". The hashing algorithm used when hashing the content.
	HashType pulumi.StringPtrInput
	// The latest version of the document.
	LatestVersion pulumi.StringPtrInput
	// The name of the document.
	Name pulumi.StringPtrInput
	// The AWS user account of the person who created the document.
	Owner pulumi.StringPtrInput
	// The parameters that are available to this document.
	Parameters DocumentParameterArrayInput
	// Additional Permissions to attach to the document. See Permissions below for details.
	Permissions pulumi.StringMapInput
	// A list of OS platforms compatible with this SSM document, either "Windows" or "Linux".
	PlatformTypes pulumi.StringArrayInput
	// The schema version of the document.
	SchemaVersion pulumi.StringPtrInput
	// "Creating", "Active" or "Deleting". The current status of the document.
	Status pulumi.StringPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html)
	TargetType pulumi.StringPtrInput
	// A field specifying the version of the artifact you are creating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document and cannot be changed for an existing document version.
	VersionName pulumi.StringPtrInput
}

func (DocumentState) ElementType

func (DocumentState) ElementType() reflect.Type

type LookupDocumentArgs

type LookupDocumentArgs struct {
	// Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
	DocumentFormat *string `pulumi:"documentFormat"`
	// The document version for which you want information.
	DocumentVersion *string `pulumi:"documentVersion"`
	// The name of the Systems Manager document.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDocument.

type LookupDocumentResult

type LookupDocumentResult struct {
	// The ARN of the document.
	Arn string `pulumi:"arn"`
	// The contents of the document.
	Content        string  `pulumi:"content"`
	DocumentFormat *string `pulumi:"documentFormat"`
	// The type of the document.
	DocumentType    string  `pulumi:"documentType"`
	DocumentVersion *string `pulumi:"documentVersion"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getDocument.

func LookupDocument

func LookupDocument(ctx *pulumi.Context, args *LookupDocumentArgs, opts ...pulumi.InvokeOption) (*LookupDocumentResult, error)

Gets the contents of the specified Systems Manager document.

## Example Usage

To get the contents of the document owned by AWS.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "YAML"
		foo, err := ssm.LookupDocument(ctx, &ssm.LookupDocumentArgs{
			Name:           "AWS-GatherSoftwareInventory",
			DocumentFormat: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("content", foo.Content)
		return nil
	})
}

```

To get the contents of the custom document.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "JSON"
		_, err := ssm.LookupDocument(ctx, &ssm.LookupDocumentArgs{
			Name:           aws_ssm_document.Test.Name,
			DocumentFormat: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupParameterArgs

type LookupParameterArgs struct {
	// The name of the parameter.
	Name string `pulumi:"name"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	WithDecryption *bool `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParameter.

type LookupParameterResult

type LookupParameterResult struct {
	Arn string `pulumi:"arn"`
	// The provider-assigned unique ID for this managed resource.
	Id             string `pulumi:"id"`
	Name           string `pulumi:"name"`
	Type           string `pulumi:"type"`
	Value          string `pulumi:"value"`
	Version        int    `pulumi:"version"`
	WithDecryption *bool  `pulumi:"withDecryption"`
}

A collection of values returned by getParameter.

func LookupParameter

func LookupParameter(ctx *pulumi.Context, args *LookupParameterArgs, opts ...pulumi.InvokeOption) (*LookupParameterResult, error)

Provides an SSM Parameter data source.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.LookupParameter(ctx, &ssm.LookupParameterArgs{
			Name: "foo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **Note:** The data source is currently following the behavior of the [SSM API](https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/#Parameter) to return a string value, regardless of parameter type.

type LookupPatchBaselineArgs

type LookupPatchBaselineArgs struct {
	// Filters the results against the baselines defaultBaseline field.
	DefaultBaseline *bool `pulumi:"defaultBaseline"`
	// Filter results by the baseline name prefix.
	NamePrefix *string `pulumi:"namePrefix"`
	// The specified OS for the baseline.
	OperatingSystem *string `pulumi:"operatingSystem"`
	// The owner of the baseline. Valid values: `All`, `AWS`, `Self` (the current account).
	Owner string `pulumi:"owner"`
}

A collection of arguments for invoking getPatchBaseline.

type LookupPatchBaselineResult

type LookupPatchBaselineResult struct {
	DefaultBaseline *bool `pulumi:"defaultBaseline"`
	// The description of the baseline.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the baseline.
	Name            string  `pulumi:"name"`
	NamePrefix      *string `pulumi:"namePrefix"`
	OperatingSystem *string `pulumi:"operatingSystem"`
	Owner           string  `pulumi:"owner"`
}

A collection of values returned by getPatchBaseline.

func LookupPatchBaseline

func LookupPatchBaseline(ctx *pulumi.Context, args *LookupPatchBaselineArgs, opts ...pulumi.InvokeOption) (*LookupPatchBaselineResult, error)

Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided.

## Example Usage

To retrieve a baseline provided by AWS:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "AWS-"
		opt1 := "CENTOS"
		_, err := ssm.LookupPatchBaseline(ctx, &ssm.LookupPatchBaselineArgs{
			NamePrefix:      &opt0,
			OperatingSystem: &opt1,
			Owner:           "AWS",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

To retrieve a baseline on your account:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := true
		opt1 := "MyCustomBaseline"
		opt2 := "WINDOWS"
		_, err := ssm.LookupPatchBaseline(ctx, &ssm.LookupPatchBaselineArgs{
			DefaultBaseline: &opt0,
			NamePrefix:      &opt1,
			OperatingSystem: &opt2,
			Owner:           "Self",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type MaintenanceWindow

type MaintenanceWindow struct {
	pulumi.CustomResourceState

	// Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
	AllowUnassociatedTargets pulumi.BoolPtrOutput `pulumi:"allowUnassociatedTargets"`
	// The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
	Cutoff pulumi.IntOutput `pulumi:"cutoff"`
	// A description for the maintenance window.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The duration of the Maintenance Window in hours.
	Duration pulumi.IntOutput `pulumi:"duration"`
	// Whether the maintenance window is enabled. Default: `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window.
	EndDate pulumi.StringPtrOutput `pulumi:"endDate"`
	// The name of the maintenance window.
	Name pulumi.StringOutput `pulumi:"name"`
	// The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
	Schedule pulumi.StringOutput `pulumi:"schedule"`
	// The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
	ScheduleOffset pulumi.IntPtrOutput `pulumi:"scheduleOffset"`
	// Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`.
	ScheduleTimezone pulumi.StringPtrOutput `pulumi:"scheduleTimezone"`
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
	StartDate pulumi.StringPtrOutput `pulumi:"startDate"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an SSM Maintenance Window resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewMaintenanceWindow(ctx, "production", &ssm.MaintenanceWindowArgs{
			Cutoff:   pulumi.Int(1),
			Duration: pulumi.Int(3),
			Schedule: pulumi.String("cron(0 16 ? * TUE *)"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSM

Maintenance Windows can be imported using the `maintenance window id`, e.g.

```sh

$ pulumi import aws:ssm/maintenanceWindow:MaintenanceWindow imported-window mw-0123456789

```

func GetMaintenanceWindow

func GetMaintenanceWindow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceWindowState, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

GetMaintenanceWindow gets an existing MaintenanceWindow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMaintenanceWindow

func NewMaintenanceWindow(ctx *pulumi.Context,
	name string, args *MaintenanceWindowArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

NewMaintenanceWindow registers a new resource with the given unique name, arguments, and options.

func (*MaintenanceWindow) ElementType added in v3.13.0

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput added in v3.13.0

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext added in v3.13.0

func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutput added in v3.25.0

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext added in v3.25.0

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowArgs

type MaintenanceWindowArgs struct {
	// Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
	AllowUnassociatedTargets pulumi.BoolPtrInput
	// The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
	Cutoff pulumi.IntInput
	// A description for the maintenance window.
	Description pulumi.StringPtrInput
	// The duration of the Maintenance Window in hours.
	Duration pulumi.IntInput
	// Whether the maintenance window is enabled. Default: `true`.
	Enabled pulumi.BoolPtrInput
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window.
	EndDate pulumi.StringPtrInput
	// The name of the maintenance window.
	Name pulumi.StringPtrInput
	// The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
	Schedule pulumi.StringInput
	// The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
	ScheduleOffset pulumi.IntPtrInput
	// Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`.
	ScheduleTimezone pulumi.StringPtrInput
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
	StartDate pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a MaintenanceWindow resource.

func (MaintenanceWindowArgs) ElementType

func (MaintenanceWindowArgs) ElementType() reflect.Type

type MaintenanceWindowArray added in v3.25.0

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType added in v3.25.0

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput added in v3.25.0

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext added in v3.25.0

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowArrayInput added in v3.25.0

type MaintenanceWindowArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
	ToMaintenanceWindowArrayOutputWithContext(context.Context) MaintenanceWindowArrayOutput
}

MaintenanceWindowArrayInput is an input type that accepts MaintenanceWindowArray and MaintenanceWindowArrayOutput values. You can construct a concrete instance of `MaintenanceWindowArrayInput` via:

MaintenanceWindowArray{ MaintenanceWindowArgs{...} }

type MaintenanceWindowArrayOutput added in v3.25.0

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType added in v3.25.0

func (MaintenanceWindowArrayOutput) Index added in v3.25.0

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput added in v3.25.0

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext added in v3.25.0

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowInput added in v3.13.0

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
}

type MaintenanceWindowMap added in v3.25.0

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType added in v3.25.0

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput added in v3.25.0

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext added in v3.25.0

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowMapInput added in v3.25.0

type MaintenanceWindowMapInput interface {
	pulumi.Input

	ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
	ToMaintenanceWindowMapOutputWithContext(context.Context) MaintenanceWindowMapOutput
}

MaintenanceWindowMapInput is an input type that accepts MaintenanceWindowMap and MaintenanceWindowMapOutput values. You can construct a concrete instance of `MaintenanceWindowMapInput` via:

MaintenanceWindowMap{ "key": MaintenanceWindowArgs{...} }

type MaintenanceWindowMapOutput added in v3.25.0

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType added in v3.25.0

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex added in v3.25.0

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput added in v3.25.0

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext added in v3.25.0

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowOutput added in v3.13.0

type MaintenanceWindowOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowOutput) ElementType added in v3.13.0

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput added in v3.13.0

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext added in v3.13.0

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput added in v3.25.0

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowPtrInput added in v3.25.0

type MaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
	ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
}

type MaintenanceWindowPtrOutput added in v3.25.0

type MaintenanceWindowPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowPtrOutput) ElementType added in v3.25.0

func (MaintenanceWindowPtrOutput) ElementType() reflect.Type

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput added in v3.25.0

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowState

type MaintenanceWindowState struct {
	// Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
	AllowUnassociatedTargets pulumi.BoolPtrInput
	// The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
	Cutoff pulumi.IntPtrInput
	// A description for the maintenance window.
	Description pulumi.StringPtrInput
	// The duration of the Maintenance Window in hours.
	Duration pulumi.IntPtrInput
	// Whether the maintenance window is enabled. Default: `true`.
	Enabled pulumi.BoolPtrInput
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window.
	EndDate pulumi.StringPtrInput
	// The name of the maintenance window.
	Name pulumi.StringPtrInput
	// The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
	Schedule pulumi.StringPtrInput
	// The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
	ScheduleOffset pulumi.IntPtrInput
	// Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`.
	ScheduleTimezone pulumi.StringPtrInput
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
	StartDate pulumi.StringPtrInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (MaintenanceWindowState) ElementType

func (MaintenanceWindowState) ElementType() reflect.Type

type MaintenanceWindowTarget

type MaintenanceWindowTarget struct {
	pulumi.CustomResourceState

	// The description of the maintenance window target.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the maintenance window target.
	Name pulumi.StringOutput `pulumi:"name"`
	// User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
	OwnerInformation pulumi.StringPtrOutput `pulumi:"ownerInformation"`
	// The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see
	// (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html)
	Targets MaintenanceWindowTargetTargetArrayOutput `pulumi:"targets"`
	// The Id of the maintenance window to register the target with.
	WindowId pulumi.StringOutput `pulumi:"windowId"`
}

Provides an SSM Maintenance Window Target resource

## Example Usage ### Instance Target

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		window, err := ssm.NewMaintenanceWindow(ctx, "window", &ssm.MaintenanceWindowArgs{
			Schedule: pulumi.String("cron(0 16 ? * TUE *)"),
			Duration: pulumi.Int(3),
			Cutoff:   pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewMaintenanceWindowTarget(ctx, "target1", &ssm.MaintenanceWindowTargetArgs{
			WindowId:     window.ID(),
			Description:  pulumi.String("This is a maintenance window target"),
			ResourceType: pulumi.String("INSTANCE"),
			Targets: ssm.MaintenanceWindowTargetTargetArray{
				&ssm.MaintenanceWindowTargetTargetArgs{
					Key: pulumi.String("tag:Name"),
					Values: pulumi.StringArray{
						pulumi.String("acceptance_test"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Resource Group Target

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		window, err := ssm.NewMaintenanceWindow(ctx, "window", &ssm.MaintenanceWindowArgs{
			Schedule: pulumi.String("cron(0 16 ? * TUE *)"),
			Duration: pulumi.Int(3),
			Cutoff:   pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewMaintenanceWindowTarget(ctx, "target1", &ssm.MaintenanceWindowTargetArgs{
			WindowId:     window.ID(),
			Description:  pulumi.String("This is a maintenance window target"),
			ResourceType: pulumi.String("RESOURCE_GROUP"),
			Targets: ssm.MaintenanceWindowTargetTargetArray{
				&ssm.MaintenanceWindowTargetTargetArgs{
					Key: pulumi.String("resource-groups:ResourceTypeFilters"),
					Values: pulumi.StringArray{
						pulumi.String("AWS::EC2::Instance"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSM Maintenance Window targets can be imported using `WINDOW_ID/WINDOW_TARGET_ID`, e.g.

```sh

$ pulumi import aws:ssm/maintenanceWindowTarget:MaintenanceWindowTarget example mw-0c50858d01EXAMPLE/23639a0b-ddbc-4bca-9e72-78d96EXAMPLE

```

func GetMaintenanceWindowTarget

func GetMaintenanceWindowTarget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceWindowTargetState, opts ...pulumi.ResourceOption) (*MaintenanceWindowTarget, error)

GetMaintenanceWindowTarget gets an existing MaintenanceWindowTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMaintenanceWindowTarget

func NewMaintenanceWindowTarget(ctx *pulumi.Context,
	name string, args *MaintenanceWindowTargetArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindowTarget, error)

NewMaintenanceWindowTarget registers a new resource with the given unique name, arguments, and options.

func (*MaintenanceWindowTarget) ElementType added in v3.13.0

func (*MaintenanceWindowTarget) ElementType() reflect.Type

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput added in v3.13.0

func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutputWithContext added in v3.13.0

func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetOutput

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetPtrOutput added in v3.25.0

func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetPtrOutput() MaintenanceWindowTargetPtrOutput

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetPtrOutputWithContext added in v3.25.0

func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetPtrOutputWithContext(ctx context.Context) MaintenanceWindowTargetPtrOutput

type MaintenanceWindowTargetArgs

type MaintenanceWindowTargetArgs struct {
	// The description of the maintenance window target.
	Description pulumi.StringPtrInput
	// The name of the maintenance window target.
	Name pulumi.StringPtrInput
	// User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
	OwnerInformation pulumi.StringPtrInput
	// The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.
	ResourceType pulumi.StringInput
	// The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see
	// (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html)
	Targets MaintenanceWindowTargetTargetArrayInput
	// The Id of the maintenance window to register the target with.
	WindowId pulumi.StringInput
}

The set of arguments for constructing a MaintenanceWindowTarget resource.

func (MaintenanceWindowTargetArgs) ElementType

type MaintenanceWindowTargetArray added in v3.25.0

type MaintenanceWindowTargetArray []MaintenanceWindowTargetInput

func (MaintenanceWindowTargetArray) ElementType added in v3.25.0

func (MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutput added in v3.25.0

func (i MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput

func (MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutputWithContext added in v3.25.0

func (i MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetArrayOutput

type MaintenanceWindowTargetArrayInput added in v3.25.0

type MaintenanceWindowTargetArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput
	ToMaintenanceWindowTargetArrayOutputWithContext(context.Context) MaintenanceWindowTargetArrayOutput
}

MaintenanceWindowTargetArrayInput is an input type that accepts MaintenanceWindowTargetArray and MaintenanceWindowTargetArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTargetArrayInput` via:

MaintenanceWindowTargetArray{ MaintenanceWindowTargetArgs{...} }

type MaintenanceWindowTargetArrayOutput added in v3.25.0

type MaintenanceWindowTargetArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetArrayOutput) ElementType added in v3.25.0

func (MaintenanceWindowTargetArrayOutput) Index added in v3.25.0

func (MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutput added in v3.25.0

func (o MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput

func (MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutputWithContext added in v3.25.0

func (o MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetArrayOutput

type MaintenanceWindowTargetInput added in v3.13.0

type MaintenanceWindowTargetInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput
	ToMaintenanceWindowTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetOutput
}

type MaintenanceWindowTargetMap added in v3.25.0

type MaintenanceWindowTargetMap map[string]MaintenanceWindowTargetInput

func (MaintenanceWindowTargetMap) ElementType added in v3.25.0

func (MaintenanceWindowTargetMap) ElementType() reflect.Type

func (MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutput added in v3.25.0

func (i MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput

func (MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutputWithContext added in v3.25.0

func (i MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutputWithContext(ctx context.Context) MaintenanceWindowTargetMapOutput

type MaintenanceWindowTargetMapInput added in v3.25.0

type MaintenanceWindowTargetMapInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput
	ToMaintenanceWindowTargetMapOutputWithContext(context.Context) MaintenanceWindowTargetMapOutput
}

MaintenanceWindowTargetMapInput is an input type that accepts MaintenanceWindowTargetMap and MaintenanceWindowTargetMapOutput values. You can construct a concrete instance of `MaintenanceWindowTargetMapInput` via:

MaintenanceWindowTargetMap{ "key": MaintenanceWindowTargetArgs{...} }

type MaintenanceWindowTargetMapOutput added in v3.25.0

type MaintenanceWindowTargetMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetMapOutput) ElementType added in v3.25.0

func (MaintenanceWindowTargetMapOutput) MapIndex added in v3.25.0

func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput added in v3.25.0

func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput

func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext added in v3.25.0

func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext(ctx context.Context) MaintenanceWindowTargetMapOutput

type MaintenanceWindowTargetOutput added in v3.13.0

type MaintenanceWindowTargetOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowTargetOutput) ElementType added in v3.13.0

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput added in v3.13.0

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext added in v3.13.0

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetOutput

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetPtrOutput added in v3.25.0

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetPtrOutput() MaintenanceWindowTargetPtrOutput

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetPtrOutputWithContext(ctx context.Context) MaintenanceWindowTargetPtrOutput

type MaintenanceWindowTargetPtrInput added in v3.25.0

type MaintenanceWindowTargetPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetPtrOutput() MaintenanceWindowTargetPtrOutput
	ToMaintenanceWindowTargetPtrOutputWithContext(ctx context.Context) MaintenanceWindowTargetPtrOutput
}

type MaintenanceWindowTargetPtrOutput added in v3.25.0

type MaintenanceWindowTargetPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowTargetPtrOutput) ElementType added in v3.25.0

func (MaintenanceWindowTargetPtrOutput) ToMaintenanceWindowTargetPtrOutput added in v3.25.0

func (o MaintenanceWindowTargetPtrOutput) ToMaintenanceWindowTargetPtrOutput() MaintenanceWindowTargetPtrOutput

func (MaintenanceWindowTargetPtrOutput) ToMaintenanceWindowTargetPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowTargetPtrOutput) ToMaintenanceWindowTargetPtrOutputWithContext(ctx context.Context) MaintenanceWindowTargetPtrOutput

type MaintenanceWindowTargetState

type MaintenanceWindowTargetState struct {
	// The description of the maintenance window target.
	Description pulumi.StringPtrInput
	// The name of the maintenance window target.
	Name pulumi.StringPtrInput
	// User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
	OwnerInformation pulumi.StringPtrInput
	// The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.
	ResourceType pulumi.StringPtrInput
	// The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see
	// (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html)
	Targets MaintenanceWindowTargetTargetArrayInput
	// The Id of the maintenance window to register the target with.
	WindowId pulumi.StringPtrInput
}

func (MaintenanceWindowTargetState) ElementType

type MaintenanceWindowTargetTarget

type MaintenanceWindowTargetTarget struct {
	Key    string   `pulumi:"key"`
	Values []string `pulumi:"values"`
}

type MaintenanceWindowTargetTargetArgs

type MaintenanceWindowTargetTargetArgs struct {
	Key    pulumi.StringInput      `pulumi:"key"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (MaintenanceWindowTargetTargetArgs) ElementType

func (MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutput

func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput

func (MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutputWithContext

func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput

type MaintenanceWindowTargetTargetArray

type MaintenanceWindowTargetTargetArray []MaintenanceWindowTargetTargetInput

func (MaintenanceWindowTargetTargetArray) ElementType

func (MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutput

func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput

func (MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutputWithContext

func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput

type MaintenanceWindowTargetTargetArrayInput

type MaintenanceWindowTargetTargetArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput
	ToMaintenanceWindowTargetTargetArrayOutputWithContext(context.Context) MaintenanceWindowTargetTargetArrayOutput
}

MaintenanceWindowTargetTargetArrayInput is an input type that accepts MaintenanceWindowTargetTargetArray and MaintenanceWindowTargetTargetArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTargetTargetArrayInput` via:

MaintenanceWindowTargetTargetArray{ MaintenanceWindowTargetTargetArgs{...} }

type MaintenanceWindowTargetTargetArrayOutput

type MaintenanceWindowTargetTargetArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetTargetArrayOutput) ElementType

func (MaintenanceWindowTargetTargetArrayOutput) Index

func (MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutput

func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput

func (MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutputWithContext

func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput

type MaintenanceWindowTargetTargetInput

type MaintenanceWindowTargetTargetInput interface {
	pulumi.Input

	ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput
	ToMaintenanceWindowTargetTargetOutputWithContext(context.Context) MaintenanceWindowTargetTargetOutput
}

MaintenanceWindowTargetTargetInput is an input type that accepts MaintenanceWindowTargetTargetArgs and MaintenanceWindowTargetTargetOutput values. You can construct a concrete instance of `MaintenanceWindowTargetTargetInput` via:

MaintenanceWindowTargetTargetArgs{...}

type MaintenanceWindowTargetTargetOutput

type MaintenanceWindowTargetTargetOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetTargetOutput) ElementType

func (MaintenanceWindowTargetTargetOutput) Key

func (MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput

func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput

func (MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext

func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput

func (MaintenanceWindowTargetTargetOutput) Values

type MaintenanceWindowTask

type MaintenanceWindowTask struct {
	pulumi.CustomResourceState

	// The description of the maintenance window task.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The maximum number of targets this task can be run for in parallel.
	MaxConcurrency pulumi.StringOutput `pulumi:"maxConcurrency"`
	// The maximum number of errors allowed before this task stops being scheduled.
	MaxErrors pulumi.StringOutput `pulumi:"maxErrors"`
	// The name of the maintenance window task.
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you.
	ServiceRoleArn pulumi.StringOutput `pulumi:"serviceRoleArn"`
	// The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
	Targets MaintenanceWindowTaskTargetArrayOutput `pulumi:"targets"`
	// The ARN of the task to execute.
	TaskArn pulumi.StringOutput `pulumi:"taskArn"`
	// Configuration block with parameters for task execution.
	TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrOutput `pulumi:"taskInvocationParameters"`
	// The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`.
	TaskType pulumi.StringOutput `pulumi:"taskType"`
	// The Id of the maintenance window to register the task with.
	WindowId pulumi.StringOutput `pulumi:"windowId"`
}

Provides an SSM Maintenance Window Task resource

## Example Usage

## Import

AWS Maintenance Window Task can be imported using the `window_id` and `window_task_id` separated by `/`.

```sh

$ pulumi import aws:ssm/maintenanceWindowTask:MaintenanceWindowTask task <window_id>/<window_task_id>

```

func GetMaintenanceWindowTask

func GetMaintenanceWindowTask(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceWindowTaskState, opts ...pulumi.ResourceOption) (*MaintenanceWindowTask, error)

GetMaintenanceWindowTask gets an existing MaintenanceWindowTask resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMaintenanceWindowTask

func NewMaintenanceWindowTask(ctx *pulumi.Context,
	name string, args *MaintenanceWindowTaskArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindowTask, error)

NewMaintenanceWindowTask registers a new resource with the given unique name, arguments, and options.

func (*MaintenanceWindowTask) ElementType added in v3.13.0

func (*MaintenanceWindowTask) ElementType() reflect.Type

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutput added in v3.13.0

func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutputWithContext added in v3.13.0

func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskOutputWithContext(ctx context.Context) MaintenanceWindowTaskOutput

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskPtrOutput added in v3.25.0

func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskPtrOutput() MaintenanceWindowTaskPtrOutput

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskPtrOutputWithContext added in v3.25.0

func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskPtrOutput

type MaintenanceWindowTaskArgs

type MaintenanceWindowTaskArgs struct {
	// The description of the maintenance window task.
	Description pulumi.StringPtrInput
	// The maximum number of targets this task can be run for in parallel.
	MaxConcurrency pulumi.StringInput
	// The maximum number of errors allowed before this task stops being scheduled.
	MaxErrors pulumi.StringInput
	// The name of the maintenance window task.
	Name pulumi.StringPtrInput
	// The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
	Priority pulumi.IntPtrInput
	// The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you.
	ServiceRoleArn pulumi.StringPtrInput
	// The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
	Targets MaintenanceWindowTaskTargetArrayInput
	// The ARN of the task to execute.
	TaskArn pulumi.StringInput
	// Configuration block with parameters for task execution.
	TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrInput
	// The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`.
	TaskType pulumi.StringInput
	// The Id of the maintenance window to register the task with.
	WindowId pulumi.StringInput
}

The set of arguments for constructing a MaintenanceWindowTask resource.

func (MaintenanceWindowTaskArgs) ElementType

func (MaintenanceWindowTaskArgs) ElementType() reflect.Type

type MaintenanceWindowTaskArray added in v3.25.0

type MaintenanceWindowTaskArray []MaintenanceWindowTaskInput

func (MaintenanceWindowTaskArray) ElementType added in v3.25.0

func (MaintenanceWindowTaskArray) ElementType() reflect.Type

func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput added in v3.25.0

func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput

func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext added in v3.25.0

func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskArrayOutput

type MaintenanceWindowTaskArrayInput added in v3.25.0

type MaintenanceWindowTaskArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput
	ToMaintenanceWindowTaskArrayOutputWithContext(context.Context) MaintenanceWindowTaskArrayOutput
}

MaintenanceWindowTaskArrayInput is an input type that accepts MaintenanceWindowTaskArray and MaintenanceWindowTaskArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTaskArrayInput` via:

MaintenanceWindowTaskArray{ MaintenanceWindowTaskArgs{...} }

type MaintenanceWindowTaskArrayOutput added in v3.25.0

type MaintenanceWindowTaskArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskArrayOutput) ElementType added in v3.25.0

func (MaintenanceWindowTaskArrayOutput) Index added in v3.25.0

func (MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutput added in v3.25.0

func (o MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput

func (MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutputWithContext added in v3.25.0

func (o MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskArrayOutput

type MaintenanceWindowTaskInput added in v3.13.0

type MaintenanceWindowTaskInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput
	ToMaintenanceWindowTaskOutputWithContext(ctx context.Context) MaintenanceWindowTaskOutput
}

type MaintenanceWindowTaskMap added in v3.25.0

type MaintenanceWindowTaskMap map[string]MaintenanceWindowTaskInput

func (MaintenanceWindowTaskMap) ElementType added in v3.25.0

func (MaintenanceWindowTaskMap) ElementType() reflect.Type

func (MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutput added in v3.25.0

func (i MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput

func (MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutputWithContext added in v3.25.0

func (i MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutputWithContext(ctx context.Context) MaintenanceWindowTaskMapOutput

type MaintenanceWindowTaskMapInput added in v3.25.0

type MaintenanceWindowTaskMapInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput
	ToMaintenanceWindowTaskMapOutputWithContext(context.Context) MaintenanceWindowTaskMapOutput
}

MaintenanceWindowTaskMapInput is an input type that accepts MaintenanceWindowTaskMap and MaintenanceWindowTaskMapOutput values. You can construct a concrete instance of `MaintenanceWindowTaskMapInput` via:

MaintenanceWindowTaskMap{ "key": MaintenanceWindowTaskArgs{...} }

type MaintenanceWindowTaskMapOutput added in v3.25.0

type MaintenanceWindowTaskMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskMapOutput) ElementType added in v3.25.0

func (MaintenanceWindowTaskMapOutput) MapIndex added in v3.25.0

func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput added in v3.25.0

func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput

func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext added in v3.25.0

func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext(ctx context.Context) MaintenanceWindowTaskMapOutput

type MaintenanceWindowTaskOutput added in v3.13.0

type MaintenanceWindowTaskOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowTaskOutput) ElementType added in v3.13.0

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput added in v3.13.0

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext added in v3.13.0

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext(ctx context.Context) MaintenanceWindowTaskOutput

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskPtrOutput added in v3.25.0

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskPtrOutput() MaintenanceWindowTaskPtrOutput

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskPtrOutput

type MaintenanceWindowTaskPtrInput added in v3.25.0

type MaintenanceWindowTaskPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskPtrOutput() MaintenanceWindowTaskPtrOutput
	ToMaintenanceWindowTaskPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskPtrOutput
}

type MaintenanceWindowTaskPtrOutput added in v3.25.0

type MaintenanceWindowTaskPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowTaskPtrOutput) ElementType added in v3.25.0

func (MaintenanceWindowTaskPtrOutput) ToMaintenanceWindowTaskPtrOutput added in v3.25.0

func (o MaintenanceWindowTaskPtrOutput) ToMaintenanceWindowTaskPtrOutput() MaintenanceWindowTaskPtrOutput

func (MaintenanceWindowTaskPtrOutput) ToMaintenanceWindowTaskPtrOutputWithContext added in v3.25.0

func (o MaintenanceWindowTaskPtrOutput) ToMaintenanceWindowTaskPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskPtrOutput

type MaintenanceWindowTaskState

type MaintenanceWindowTaskState struct {
	// The description of the maintenance window task.
	Description pulumi.StringPtrInput
	// The maximum number of targets this task can be run for in parallel.
	MaxConcurrency pulumi.StringPtrInput
	// The maximum number of errors allowed before this task stops being scheduled.
	MaxErrors pulumi.StringPtrInput
	// The name of the maintenance window task.
	Name pulumi.StringPtrInput
	// The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
	Priority pulumi.IntPtrInput
	// The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you.
	ServiceRoleArn pulumi.StringPtrInput
	// The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
	Targets MaintenanceWindowTaskTargetArrayInput
	// The ARN of the task to execute.
	TaskArn pulumi.StringPtrInput
	// Configuration block with parameters for task execution.
	TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrInput
	// The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`.
	TaskType pulumi.StringPtrInput
	// The Id of the maintenance window to register the task with.
	WindowId pulumi.StringPtrInput
}

func (MaintenanceWindowTaskState) ElementType

func (MaintenanceWindowTaskState) ElementType() reflect.Type

type MaintenanceWindowTaskTarget

type MaintenanceWindowTaskTarget struct {
	Key string `pulumi:"key"`
	// The array of strings.
	Values []string `pulumi:"values"`
}

type MaintenanceWindowTaskTargetArgs

type MaintenanceWindowTaskTargetArgs struct {
	Key pulumi.StringInput `pulumi:"key"`
	// The array of strings.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (MaintenanceWindowTaskTargetArgs) ElementType

func (MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutput

func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput

func (MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutputWithContext

func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput

type MaintenanceWindowTaskTargetArray

type MaintenanceWindowTaskTargetArray []MaintenanceWindowTaskTargetInput

func (MaintenanceWindowTaskTargetArray) ElementType

func (MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutput

func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput

func (MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutputWithContext

func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput

type MaintenanceWindowTaskTargetArrayInput

type MaintenanceWindowTaskTargetArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput
	ToMaintenanceWindowTaskTargetArrayOutputWithContext(context.Context) MaintenanceWindowTaskTargetArrayOutput
}

MaintenanceWindowTaskTargetArrayInput is an input type that accepts MaintenanceWindowTaskTargetArray and MaintenanceWindowTaskTargetArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTargetArrayInput` via:

MaintenanceWindowTaskTargetArray{ MaintenanceWindowTaskTargetArgs{...} }

type MaintenanceWindowTaskTargetArrayOutput

type MaintenanceWindowTaskTargetArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTargetArrayOutput) ElementType

func (MaintenanceWindowTaskTargetArrayOutput) Index

func (MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutput

func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput

func (MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutputWithContext

func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput

type MaintenanceWindowTaskTargetInput

type MaintenanceWindowTaskTargetInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput
	ToMaintenanceWindowTaskTargetOutputWithContext(context.Context) MaintenanceWindowTaskTargetOutput
}

MaintenanceWindowTaskTargetInput is an input type that accepts MaintenanceWindowTaskTargetArgs and MaintenanceWindowTaskTargetOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTargetInput` via:

MaintenanceWindowTaskTargetArgs{...}

type MaintenanceWindowTaskTargetOutput

type MaintenanceWindowTaskTargetOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTargetOutput) ElementType

func (MaintenanceWindowTaskTargetOutput) Key

func (MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput

func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput

func (MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext

func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput

func (MaintenanceWindowTaskTargetOutput) Values

The array of strings.

type MaintenanceWindowTaskTaskInvocationParameters

type MaintenanceWindowTaskTaskInvocationParameters struct {
	// The parameters for an AUTOMATION task type. Documented below.
	AutomationParameters *MaintenanceWindowTaskTaskInvocationParametersAutomationParameters `pulumi:"automationParameters"`
	// The parameters for a LAMBDA task type. Documented below.
	LambdaParameters *MaintenanceWindowTaskTaskInvocationParametersLambdaParameters `pulumi:"lambdaParameters"`
	// The parameters for a RUN_COMMAND task type. Documented below.
	RunCommandParameters *MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters `pulumi:"runCommandParameters"`
	// The parameters for a STEP_FUNCTIONS task type. Documented below.
	StepFunctionsParameters *MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters `pulumi:"stepFunctionsParameters"`
}

type MaintenanceWindowTaskTaskInvocationParametersArgs

type MaintenanceWindowTaskTaskInvocationParametersArgs struct {
	// The parameters for an AUTOMATION task type. Documented below.
	AutomationParameters MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput `pulumi:"automationParameters"`
	// The parameters for a LAMBDA task type. Documented below.
	LambdaParameters MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput `pulumi:"lambdaParameters"`
	// The parameters for a RUN_COMMAND task type. Documented below.
	RunCommandParameters MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput `pulumi:"runCommandParameters"`
	// The parameters for a STEP_FUNCTIONS task type. Documented below.
	StepFunctionsParameters MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput `pulumi:"stepFunctionsParameters"`
}

func (MaintenanceWindowTaskTaskInvocationParametersArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutput

func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput

func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParameters

type MaintenanceWindowTaskTaskInvocationParametersAutomationParameters struct {
	// The version of an Automation document to use during task execution.
	DocumentVersion *string `pulumi:"documentVersion"`
	// The parameters for the RUN_COMMAND task execution. Documented below.
	Parameters []MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameter `pulumi:"parameters"`
}

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs struct {
	// The version of an Automation document to use during task execution.
	DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"`
	// The parameters for the RUN_COMMAND task execution. Documented below.
	Parameters MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput `pulumi:"parameters"`
}

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
}

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput` via:

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) DocumentVersion

The version of an Automation document to use during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) Parameters

The parameters for the RUN_COMMAND task execution. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameter

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameter struct {
	// The parameter name.
	Name string `pulumi:"name"`
	// The array of strings.
	Values []string `pulumi:"values"`
}

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs struct {
	// The parameter name.
	Name pulumi.StringInput `pulumi:"name"`
	// The array of strings.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray []MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
}

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput` via:

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray{ MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs{...} }

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
}

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput` via:

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Name

The parameter name.

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Values

The array of strings.

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs, MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtr and MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) DocumentVersion

The version of an Automation document to use during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Elem

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Parameters

The parameters for the RUN_COMMAND task execution. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersInput

type MaintenanceWindowTaskTaskInvocationParametersInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput
	ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput
}

MaintenanceWindowTaskTaskInvocationParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersArgs and MaintenanceWindowTaskTaskInvocationParametersOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersInput` via:

MaintenanceWindowTaskTaskInvocationParametersArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersLambdaParameters

type MaintenanceWindowTaskTaskInvocationParametersLambdaParameters struct {
	// Pass client-specific information to the Lambda function that you are invoking.
	ClientContext *string `pulumi:"clientContext"`
	// JSON to provide to your Lambda function as input.
	Payload *string `pulumi:"payload"`
	// Specify a Lambda function version or alias name.
	Qualifier *string `pulumi:"qualifier"`
}

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs struct {
	// Pass client-specific information to the Lambda function that you are invoking.
	ClientContext pulumi.StringPtrInput `pulumi:"clientContext"`
	// JSON to provide to your Lambda function as input.
	Payload pulumi.StringPtrInput `pulumi:"payload"`
	// Specify a Lambda function version or alias name.
	Qualifier pulumi.StringPtrInput `pulumi:"qualifier"`
}

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersInput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
	ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
}

MaintenanceWindowTaskTaskInvocationParametersLambdaParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs and MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersLambdaParametersInput` via:

MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ClientContext

Pass client-specific information to the Lambda function that you are invoking.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Payload

JSON to provide to your Lambda function as input.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Qualifier

Specify a Lambda function version or alias name.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs, MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtr and MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ClientContext

Pass client-specific information to the Lambda function that you are invoking.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Elem

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Payload

JSON to provide to your Lambda function as input.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Qualifier

Specify a Lambda function version or alias name.

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersOutput

type MaintenanceWindowTaskTaskInvocationParametersOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersOutput) AutomationParameters

The parameters for an AUTOMATION task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersOutput) LambdaParameters

The parameters for a LAMBDA task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersOutput) RunCommandParameters

The parameters for a RUN_COMMAND task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersOutput) StepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutput

func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput

func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersPtrInput

type MaintenanceWindowTaskTaskInvocationParametersPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersArgs, MaintenanceWindowTaskTaskInvocationParametersPtr and MaintenanceWindowTaskTaskInvocationParametersPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) AutomationParameters

The parameters for an AUTOMATION task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) Elem

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) LambdaParameters

The parameters for a LAMBDA task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) RunCommandParameters

The parameters for a RUN_COMMAND task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) StepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters struct {
	// Configuration options for sending command output to CloudWatch Logs. Documented below.
	CloudwatchConfig *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig `pulumi:"cloudwatchConfig"`
	// Information about the command(s) to execute.
	Comment *string `pulumi:"comment"`
	// The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
	DocumentHash *string `pulumi:"documentHash"`
	// SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`
	DocumentHashType *string `pulumi:"documentHashType"`
	// The version of an Automation document to use during task execution.
	DocumentVersion *string `pulumi:"documentVersion"`
	// Configurations for sending notifications about command status changes on a per-instance basis. Documented below.
	NotificationConfig *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig `pulumi:"notificationConfig"`
	// The name of the Amazon S3 bucket.
	OutputS3Bucket *string `pulumi:"outputS3Bucket"`
	// The Amazon S3 bucket subfolder.
	OutputS3KeyPrefix *string `pulumi:"outputS3KeyPrefix"`
	// The parameters for the RUN_COMMAND task execution. Documented below.
	Parameters []MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter `pulumi:"parameters"`
	// The IAM service role to assume during task execution.
	ServiceRoleArn *string `pulumi:"serviceRoleArn"`
	// If this time is reached and the command has not already started executing, it doesn't run.
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs struct {
	// Configuration options for sending command output to CloudWatch Logs. Documented below.
	CloudwatchConfig MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput `pulumi:"cloudwatchConfig"`
	// Information about the command(s) to execute.
	Comment pulumi.StringPtrInput `pulumi:"comment"`
	// The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
	DocumentHash pulumi.StringPtrInput `pulumi:"documentHash"`
	// SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`
	DocumentHashType pulumi.StringPtrInput `pulumi:"documentHashType"`
	// The version of an Automation document to use during task execution.
	DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"`
	// Configurations for sending notifications about command status changes on a per-instance basis. Documented below.
	NotificationConfig MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput `pulumi:"notificationConfig"`
	// The name of the Amazon S3 bucket.
	OutputS3Bucket pulumi.StringPtrInput `pulumi:"outputS3Bucket"`
	// The Amazon S3 bucket subfolder.
	OutputS3KeyPrefix pulumi.StringPtrInput `pulumi:"outputS3KeyPrefix"`
	// The parameters for the RUN_COMMAND task execution. Documented below.
	Parameters MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput `pulumi:"parameters"`
	// The IAM service role to assume during task execution.
	ServiceRoleArn pulumi.StringPtrInput `pulumi:"serviceRoleArn"`
	// If this time is reached and the command has not already started executing, it doesn't run.
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig struct {
	// The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
	CloudwatchLogGroupName *string `pulumi:"cloudwatchLogGroupName"`
	// Enables Systems Manager to send command output to CloudWatch Logs.
	CloudwatchOutputEnabled *bool `pulumi:"cloudwatchOutputEnabled"`
}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs struct {
	// The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
	CloudwatchLogGroupName pulumi.StringPtrInput `pulumi:"cloudwatchLogGroupName"`
	// Enables Systems Manager to send command output to CloudWatch Logs.
	CloudwatchOutputEnabled pulumi.BoolPtrInput `pulumi:"cloudwatchOutputEnabled"`
}

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ElementType added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput` via:

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchLogGroupName added in v3.29.0

The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchOutputEnabled added in v3.29.0

Enables Systems Manager to send command output to CloudWatch Logs.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ElementType added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs, MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtr and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchLogGroupName added in v3.29.0

The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchOutputEnabled added in v3.29.0

Enables Systems Manager to send command output to CloudWatch Logs.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) Elem added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ElementType added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput added in v3.29.0

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext added in v3.29.0

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersInput` via:

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig struct {
	// An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic.
	NotificationArn *string `pulumi:"notificationArn"`
	// The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`
	NotificationEvents []string `pulumi:"notificationEvents"`
	// When specified with `Command`, receive notification when the status of a command changes. When specified with `Invocation`, for commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes. Valid values: `Command` and `Invocation`
	NotificationType *string `pulumi:"notificationType"`
}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs struct {
	// An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic.
	NotificationArn pulumi.StringPtrInput `pulumi:"notificationArn"`
	// The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`
	NotificationEvents pulumi.StringArrayInput `pulumi:"notificationEvents"`
	// When specified with `Command`, receive notification when the status of a command changes. When specified with `Invocation`, for commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes. Valid values: `Command` and `Invocation`
	NotificationType pulumi.StringPtrInput `pulumi:"notificationType"`
}

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigInput` via:

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationArn

An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationEvents

The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationType

When specified with `Command`, receive notification when the status of a command changes. When specified with `Invocation`, for commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes. Valid values: `Command` and `Invocation`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs, MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtr and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationArn

An Amazon Resource Name (ARN) for a Simple Notification Service (SNS) topic. Run Command pushes notifications about command status changes to this topic.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationEvents

The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationType

When specified with `Command`, receive notification when the status of a command changes. When specified with `Invocation`, for commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes. Valid values: `Command` and `Invocation`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) CloudwatchConfig added in v3.29.0

Configuration options for sending command output to CloudWatch Logs. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Comment

Information about the command(s) to execute.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHash

The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHashType

SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentVersion added in v3.29.0

The version of an Automation document to use during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) NotificationConfig

Configurations for sending notifications about command status changes on a per-instance basis. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3Bucket

The name of the Amazon S3 bucket.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3KeyPrefix

The Amazon S3 bucket subfolder.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Parameters

The parameters for the RUN_COMMAND task execution. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ServiceRoleArn

The IAM service role to assume during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) TimeoutSeconds

If this time is reached and the command has not already started executing, it doesn't run.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter struct {
	// The parameter name.
	Name string `pulumi:"name"`
	// The array of strings.
	Values []string `pulumi:"values"`
}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs struct {
	// The parameter name.
	Name pulumi.StringInput `pulumi:"name"`
	// The array of strings.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray []MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput` via:

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray{ MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs{...} }

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput` via:

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Name

The parameter name.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Values

The array of strings.

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs, MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtr and MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) CloudwatchConfig added in v3.29.0

Configuration options for sending command output to CloudWatch Logs. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Comment

Information about the command(s) to execute.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHash

The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHashType

SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentVersion added in v3.29.0

The version of an Automation document to use during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Elem

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) NotificationConfig

Configurations for sending notifications about command status changes on a per-instance basis. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3Bucket

The name of the Amazon S3 bucket.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3KeyPrefix

The Amazon S3 bucket subfolder.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Parameters

The parameters for the RUN_COMMAND task execution. Documented below.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ServiceRoleArn

The IAM service role to assume during task execution.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) TimeoutSeconds

If this time is reached and the command has not already started executing, it doesn't run.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters struct {
	// The inputs for the STEP_FUNCTION task.
	Input *string `pulumi:"input"`
	// The name of the STEP_FUNCTION task.
	Name *string `pulumi:"name"`
}

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs struct {
	// The inputs for the STEP_FUNCTION task.
	Input pulumi.StringPtrInput `pulumi:"input"`
	// The name of the STEP_FUNCTION task.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext

func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersInput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
	ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
}

MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs and MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersInput` via:

MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs{...}

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Input

The inputs for the STEP_FUNCTION task.

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Name

The name of the STEP_FUNCTION task.

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext

func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
	ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
}

MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput is an input type that accepts MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs, MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtr and MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput values. You can construct a concrete instance of `MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput` via:

        MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs{...}

or:

        nil

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Elem

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Input

The inputs for the STEP_FUNCTION task.

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Name

The name of the STEP_FUNCTION task.

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext

type Parameter

type Parameter struct {
	pulumi.CustomResourceState

	// A regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrOutput `pulumi:"allowedPattern"`
	// The ARN of the parameter.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs
	// ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html)
	DataType pulumi.StringOutput `pulumi:"dataType"`
	// The description of the parameter.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The KMS key id or arn for encrypting a SecureString.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).
	Name pulumi.StringOutput `pulumi:"name"`
	// Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior).
	Overwrite pulumi.BoolPtrOutput `pulumi:"overwrite"`
	// A map of tags to assign to the object.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
	// The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of the parameter.
	Value pulumi.StringOutput `pulumi:"value"`
	// The version of the parameter.
	Version pulumi.IntOutput `pulumi:"version"`
}

Provides an SSM Parameter resource.

## Example Usage

To store a basic string parameter:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewParameter(ctx, "foo", &ssm.ParameterArgs{
			Type:  pulumi.String("String"),
			Value: pulumi.String("bar"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

To store an encrypted string using the default SSM KMS key:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/rds"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds.NewInstance(ctx, "_default", &rds.InstanceArgs{
			AllocatedStorage:   pulumi.Int(10),
			StorageType:        pulumi.String("gp2"),
			Engine:             pulumi.String("mysql"),
			EngineVersion:      pulumi.String("5.7.16"),
			InstanceClass:      pulumi.String("db.t2.micro"),
			Name:               pulumi.String("mydb"),
			Username:           pulumi.String("foo"),
			Password:           pulumi.Any(_var.Database_master_password),
			DbSubnetGroupName:  pulumi.String("my_database_subnet_group"),
			ParameterGroupName: pulumi.String("default.mysql5.7"),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewParameter(ctx, "secret", &ssm.ParameterArgs{
			Description: pulumi.String("The parameter description"),
			Type:        pulumi.String("SecureString"),
			Value:       pulumi.Any(_var.Database_master_password),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSM Parameters can be imported using the `parameter store name`, e.g.

```sh

$ pulumi import aws:ssm/parameter:Parameter my_param /my_path/my_paramname

```

func GetParameter

func GetParameter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ParameterState, opts ...pulumi.ResourceOption) (*Parameter, error)

GetParameter gets an existing Parameter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewParameter

func NewParameter(ctx *pulumi.Context,
	name string, args *ParameterArgs, opts ...pulumi.ResourceOption) (*Parameter, error)

NewParameter registers a new resource with the given unique name, arguments, and options.

func (*Parameter) ElementType added in v3.13.0

func (*Parameter) ElementType() reflect.Type

func (*Parameter) ToParameterOutput added in v3.13.0

func (i *Parameter) ToParameterOutput() ParameterOutput

func (*Parameter) ToParameterOutputWithContext added in v3.13.0

func (i *Parameter) ToParameterOutputWithContext(ctx context.Context) ParameterOutput

func (*Parameter) ToParameterPtrOutput added in v3.25.0

func (i *Parameter) ToParameterPtrOutput() ParameterPtrOutput

func (*Parameter) ToParameterPtrOutputWithContext added in v3.25.0

func (i *Parameter) ToParameterPtrOutputWithContext(ctx context.Context) ParameterPtrOutput

type ParameterArgs

type ParameterArgs struct {
	// A regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrInput
	// The ARN of the parameter.
	Arn pulumi.StringPtrInput
	// The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs
	// ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html)
	DataType pulumi.StringPtrInput
	// The description of the parameter.
	Description pulumi.StringPtrInput
	// The KMS key id or arn for encrypting a SecureString.
	KeyId pulumi.StringPtrInput
	// The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).
	Name pulumi.StringPtrInput
	// Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior).
	Overwrite pulumi.BoolPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
	Tier pulumi.StringPtrInput
	// The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	Type pulumi.StringInput
	// The value of the parameter.
	Value pulumi.StringInput
}

The set of arguments for constructing a Parameter resource.

func (ParameterArgs) ElementType

func (ParameterArgs) ElementType() reflect.Type

type ParameterArray added in v3.25.0

type ParameterArray []ParameterInput

func (ParameterArray) ElementType added in v3.25.0

func (ParameterArray) ElementType() reflect.Type

func (ParameterArray) ToParameterArrayOutput added in v3.25.0

func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArray) ToParameterArrayOutputWithContext added in v3.25.0

func (i ParameterArray) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput

type ParameterArrayInput added in v3.25.0

type ParameterArrayInput interface {
	pulumi.Input

	ToParameterArrayOutput() ParameterArrayOutput
	ToParameterArrayOutputWithContext(context.Context) ParameterArrayOutput
}

ParameterArrayInput is an input type that accepts ParameterArray and ParameterArrayOutput values. You can construct a concrete instance of `ParameterArrayInput` via:

ParameterArray{ ParameterArgs{...} }

type ParameterArrayOutput added in v3.25.0

type ParameterArrayOutput struct{ *pulumi.OutputState }

func (ParameterArrayOutput) ElementType added in v3.25.0

func (ParameterArrayOutput) ElementType() reflect.Type

func (ParameterArrayOutput) Index added in v3.25.0

func (ParameterArrayOutput) ToParameterArrayOutput added in v3.25.0

func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArrayOutput) ToParameterArrayOutputWithContext added in v3.25.0

func (o ParameterArrayOutput) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput

type ParameterInput added in v3.13.0

type ParameterInput interface {
	pulumi.Input

	ToParameterOutput() ParameterOutput
	ToParameterOutputWithContext(ctx context.Context) ParameterOutput
}

type ParameterMap added in v3.25.0

type ParameterMap map[string]ParameterInput

func (ParameterMap) ElementType added in v3.25.0

func (ParameterMap) ElementType() reflect.Type

func (ParameterMap) ToParameterMapOutput added in v3.25.0

func (i ParameterMap) ToParameterMapOutput() ParameterMapOutput

func (ParameterMap) ToParameterMapOutputWithContext added in v3.25.0

func (i ParameterMap) ToParameterMapOutputWithContext(ctx context.Context) ParameterMapOutput

type ParameterMapInput added in v3.25.0

type ParameterMapInput interface {
	pulumi.Input

	ToParameterMapOutput() ParameterMapOutput
	ToParameterMapOutputWithContext(context.Context) ParameterMapOutput
}

ParameterMapInput is an input type that accepts ParameterMap and ParameterMapOutput values. You can construct a concrete instance of `ParameterMapInput` via:

ParameterMap{ "key": ParameterArgs{...} }

type ParameterMapOutput added in v3.25.0

type ParameterMapOutput struct{ *pulumi.OutputState }

func (ParameterMapOutput) ElementType added in v3.25.0

func (ParameterMapOutput) ElementType() reflect.Type

func (ParameterMapOutput) MapIndex added in v3.25.0

func (ParameterMapOutput) ToParameterMapOutput added in v3.25.0

func (o ParameterMapOutput) ToParameterMapOutput() ParameterMapOutput

func (ParameterMapOutput) ToParameterMapOutputWithContext added in v3.25.0

func (o ParameterMapOutput) ToParameterMapOutputWithContext(ctx context.Context) ParameterMapOutput

type ParameterOutput added in v3.13.0

type ParameterOutput struct {
	*pulumi.OutputState
}

func (ParameterOutput) ElementType added in v3.13.0

func (ParameterOutput) ElementType() reflect.Type

func (ParameterOutput) ToParameterOutput added in v3.13.0

func (o ParameterOutput) ToParameterOutput() ParameterOutput

func (ParameterOutput) ToParameterOutputWithContext added in v3.13.0

func (o ParameterOutput) ToParameterOutputWithContext(ctx context.Context) ParameterOutput

func (ParameterOutput) ToParameterPtrOutput added in v3.25.0

func (o ParameterOutput) ToParameterPtrOutput() ParameterPtrOutput

func (ParameterOutput) ToParameterPtrOutputWithContext added in v3.25.0

func (o ParameterOutput) ToParameterPtrOutputWithContext(ctx context.Context) ParameterPtrOutput

type ParameterPtrInput added in v3.25.0

type ParameterPtrInput interface {
	pulumi.Input

	ToParameterPtrOutput() ParameterPtrOutput
	ToParameterPtrOutputWithContext(ctx context.Context) ParameterPtrOutput
}

type ParameterPtrOutput added in v3.25.0

type ParameterPtrOutput struct {
	*pulumi.OutputState
}

func (ParameterPtrOutput) ElementType added in v3.25.0

func (ParameterPtrOutput) ElementType() reflect.Type

func (ParameterPtrOutput) ToParameterPtrOutput added in v3.25.0

func (o ParameterPtrOutput) ToParameterPtrOutput() ParameterPtrOutput

func (ParameterPtrOutput) ToParameterPtrOutputWithContext added in v3.25.0

func (o ParameterPtrOutput) ToParameterPtrOutputWithContext(ctx context.Context) ParameterPtrOutput

type ParameterState

type ParameterState struct {
	// A regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrInput
	// The ARN of the parameter.
	Arn pulumi.StringPtrInput
	// The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs
	// ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html)
	DataType pulumi.StringPtrInput
	// The description of the parameter.
	Description pulumi.StringPtrInput
	// The KMS key id or arn for encrypting a SecureString.
	KeyId pulumi.StringPtrInput
	// The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).
	Name pulumi.StringPtrInput
	// Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior).
	Overwrite pulumi.BoolPtrInput
	// A map of tags to assign to the object.
	Tags pulumi.StringMapInput
	// The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html).
	Tier pulumi.StringPtrInput
	// The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	Type pulumi.StringPtrInput
	// The value of the parameter.
	Value pulumi.StringPtrInput
	// The version of the parameter.
	Version pulumi.IntPtrInput
}

func (ParameterState) ElementType

func (ParameterState) ElementType() reflect.Type

type ParameterType added in v3.18.0

type ParameterType pulumi.String

func (ParameterType) ElementType added in v3.18.0

func (ParameterType) ElementType() reflect.Type

func (ParameterType) ToStringOutput added in v3.18.0

func (e ParameterType) ToStringOutput() pulumi.StringOutput

func (ParameterType) ToStringOutputWithContext added in v3.18.0

func (e ParameterType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ParameterType) ToStringPtrOutput added in v3.18.0

func (e ParameterType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterType) ToStringPtrOutputWithContext added in v3.18.0

func (e ParameterType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type PatchBaseline

type PatchBaseline struct {
	pulumi.CustomResourceState

	// A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below.
	ApprovalRules PatchBaselineApprovalRuleArrayOutput `pulumi:"approvalRules"`
	// A list of explicitly approved patches for the baseline.
	ApprovedPatches pulumi.StringArrayOutput `pulumi:"approvedPatches"`
	// Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ApprovedPatchesComplianceLevel pulumi.StringPtrOutput `pulumi:"approvedPatchesComplianceLevel"`
	// Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrOutput `pulumi:"approvedPatchesEnableNonSecurity"`
	// The ARN of the patch baseline.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the patch baseline.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayOutput `pulumi:"globalFilters"`
	// The name specified to identify the patch source.
	Name pulumi.StringOutput `pulumi:"name"`
	// Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
	OperatingSystem pulumi.StringPtrOutput `pulumi:"operatingSystem"`
	// A list of rejected patches.
	RejectedPatches pulumi.StringArrayOutput `pulumi:"rejectedPatches"`
	// The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringOutput `pulumi:"rejectedPatchesAction"`
	// Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below.
	Sources PatchBaselineSourceArrayOutput `pulumi:"sources"`
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an SSM Patch Baseline resource

> **NOTE on Patch Baselines:** The `approvedPatches` and `approvalRule` are both marked as optional fields, but the Patch Baseline requires that at least one of them is specified.

## Example Usage

Basic usage using `approvedPatches` only

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{
			ApprovedPatches: pulumi.StringArray{
				pulumi.String("KB123456"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Advanced usage, specifying patch filters

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{
			ApprovalRules: ssm.PatchBaselineApprovalRuleArray{
				&ssm.PatchBaselineApprovalRuleArgs{
					ApproveAfterDays: pulumi.Int(7),
					ComplianceLevel:  pulumi.String("HIGH"),
					PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("PRODUCT"),
							Values: pulumi.StringArray{
								pulumi.String("WindowsServer2016"),
							},
						},
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("CLASSIFICATION"),
							Values: pulumi.StringArray{
								pulumi.String("CriticalUpdates"),
								pulumi.String("SecurityUpdates"),
								pulumi.String("Updates"),
							},
						},
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("MSRC_SEVERITY"),
							Values: pulumi.StringArray{
								pulumi.String("Critical"),
								pulumi.String("Important"),
								pulumi.String("Moderate"),
							},
						},
					},
				},
				&ssm.PatchBaselineApprovalRuleArgs{
					ApproveAfterDays: pulumi.Int(7),
					PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("PRODUCT"),
							Values: pulumi.StringArray{
								pulumi.String("WindowsServer2012"),
							},
						},
					},
				},
			},
			ApprovedPatches: pulumi.StringArray{
				pulumi.String("KB123456"),
				pulumi.String("KB456789"),
			},
			Description: pulumi.String("Patch Baseline Description"),
			GlobalFilters: ssm.PatchBaselineGlobalFilterArray{
				&ssm.PatchBaselineGlobalFilterArgs{
					Key: pulumi.String("PRODUCT"),
					Values: pulumi.StringArray{
						pulumi.String("WindowsServer2008"),
					},
				},
				&ssm.PatchBaselineGlobalFilterArgs{
					Key: pulumi.String("CLASSIFICATION"),
					Values: pulumi.StringArray{
						pulumi.String("ServicePacks"),
					},
				},
				&ssm.PatchBaselineGlobalFilterArgs{
					Key: pulumi.String("MSRC_SEVERITY"),
					Values: pulumi.StringArray{
						pulumi.String("Low"),
					},
				},
			},
			RejectedPatches: pulumi.StringArray{
				pulumi.String("KB987654"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Advanced usage, specifying Microsoft application and Windows patch rules

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewPatchBaseline(ctx, "windowsOsApps", &ssm.PatchBaselineArgs{
			ApprovalRules: ssm.PatchBaselineApprovalRuleArray{
				&ssm.PatchBaselineApprovalRuleArgs{
					ApproveAfterDays: pulumi.Int(7),
					PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("CLASSIFICATION"),
							Values: pulumi.StringArray{
								pulumi.String("CriticalUpdates"),
								pulumi.String("SecurityUpdates"),
							},
						},
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("MSRC_SEVERITY"),
							Values: pulumi.StringArray{
								pulumi.String("Critical"),
								pulumi.String("Important"),
							},
						},
					},
				},
				&ssm.PatchBaselineApprovalRuleArgs{
					ApproveAfterDays: pulumi.Int(7),
					PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("PATCH_SET"),
							Values: pulumi.StringArray{
								pulumi.String("APPLICATION"),
							},
						},
						&ssm.PatchBaselineApprovalRulePatchFilterArgs{
							Key: pulumi.String("PRODUCT"),
							Values: pulumi.StringArray{
								pulumi.String("Office 2013"),
								pulumi.String("Office 2016"),
							},
						},
					},
				},
			},
			Description:     pulumi.String("Patch both Windows and Microsoft apps"),
			OperatingSystem: pulumi.String("WINDOWS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Advanced usage, specifying alternate patch source repository

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewPatchBaseline(ctx, "al201709", &ssm.PatchBaselineArgs{
			ApprovalRules: ssm.PatchBaselineApprovalRuleArray{
				nil,
			},
			Description:     pulumi.String("My patch repository for Amazon Linux 2017.09"),
			OperatingSystem: pulumi.String("AMAZON_LINUX"),
			Sources: ssm.PatchBaselineSourceArray{
				&ssm.PatchBaselineSourceArgs{
					Configuration: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "[amzn-main]\n", "name=amzn-main-Base\n", "mirrorlist=http://repo./", "$", "awsregion./", "$", "awsdomain//", "$", "releasever/main/mirror.list\n", "mirrorlist_expire=300\n", "metadata_expire=300\n", "priority=10\n", "failovermethod=priority\n", "fastestmirror_enabled=0\n", "gpgcheck=1\n", "gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-ga\n", "enabled=1\n", "retries=3\n", "timeout=5\n", "report_instanceid=yes\n", "\n")),
					Name:          pulumi.String("My-AL2017.09"),
					Products: pulumi.StringArray{
						pulumi.String("AmazonLinux2017.09"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSM Patch Baselines can be imported by their baseline ID, e.g.

```sh

$ pulumi import aws:ssm/patchBaseline:PatchBaseline example pb-12345678

```

func GetPatchBaseline

func GetPatchBaseline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PatchBaselineState, opts ...pulumi.ResourceOption) (*PatchBaseline, error)

GetPatchBaseline gets an existing PatchBaseline resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPatchBaseline

func NewPatchBaseline(ctx *pulumi.Context,
	name string, args *PatchBaselineArgs, opts ...pulumi.ResourceOption) (*PatchBaseline, error)

NewPatchBaseline registers a new resource with the given unique name, arguments, and options.

func (*PatchBaseline) ElementType added in v3.13.0

func (*PatchBaseline) ElementType() reflect.Type

func (*PatchBaseline) ToPatchBaselineOutput added in v3.13.0

func (i *PatchBaseline) ToPatchBaselineOutput() PatchBaselineOutput

func (*PatchBaseline) ToPatchBaselineOutputWithContext added in v3.13.0

func (i *PatchBaseline) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput

func (*PatchBaseline) ToPatchBaselinePtrOutput added in v3.25.0

func (i *PatchBaseline) ToPatchBaselinePtrOutput() PatchBaselinePtrOutput

func (*PatchBaseline) ToPatchBaselinePtrOutputWithContext added in v3.25.0

func (i *PatchBaseline) ToPatchBaselinePtrOutputWithContext(ctx context.Context) PatchBaselinePtrOutput

type PatchBaselineApprovalRule

type PatchBaselineApprovalRule struct {
	// The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 100. Conflicts with `approveUntilDate`
	ApproveAfterDays *int `pulumi:"approveAfterDays"`
	// The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`
	ApproveUntilDate *string `pulumi:"approveUntilDate"`
	// Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ComplianceLevel *string `pulumi:"complianceLevel"`
	// Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only.
	EnableNonSecurity *bool `pulumi:"enableNonSecurity"`
	// The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values.
	PatchFilters []PatchBaselineApprovalRulePatchFilter `pulumi:"patchFilters"`
}

type PatchBaselineApprovalRuleArgs

type PatchBaselineApprovalRuleArgs struct {
	// The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 100. Conflicts with `approveUntilDate`
	ApproveAfterDays pulumi.IntPtrInput `pulumi:"approveAfterDays"`
	// The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`
	ApproveUntilDate pulumi.StringPtrInput `pulumi:"approveUntilDate"`
	// Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ComplianceLevel pulumi.StringPtrInput `pulumi:"complianceLevel"`
	// Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only.
	EnableNonSecurity pulumi.BoolPtrInput `pulumi:"enableNonSecurity"`
	// The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values.
	PatchFilters PatchBaselineApprovalRulePatchFilterArrayInput `pulumi:"patchFilters"`
}

func (PatchBaselineApprovalRuleArgs) ElementType

func (PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutput

func (i PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput

func (PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutputWithContext

func (i PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleOutput

type PatchBaselineApprovalRuleArray

type PatchBaselineApprovalRuleArray []PatchBaselineApprovalRuleInput

func (PatchBaselineApprovalRuleArray) ElementType

func (PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutput

func (i PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutput() PatchBaselineApprovalRuleArrayOutput

func (PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutputWithContext

func (i PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleArrayOutput

type PatchBaselineApprovalRuleArrayInput

type PatchBaselineApprovalRuleArrayInput interface {
	pulumi.Input

	ToPatchBaselineApprovalRuleArrayOutput() PatchBaselineApprovalRuleArrayOutput
	ToPatchBaselineApprovalRuleArrayOutputWithContext(context.Context) PatchBaselineApprovalRuleArrayOutput
}

PatchBaselineApprovalRuleArrayInput is an input type that accepts PatchBaselineApprovalRuleArray and PatchBaselineApprovalRuleArrayOutput values. You can construct a concrete instance of `PatchBaselineApprovalRuleArrayInput` via:

PatchBaselineApprovalRuleArray{ PatchBaselineApprovalRuleArgs{...} }

type PatchBaselineApprovalRuleArrayOutput

type PatchBaselineApprovalRuleArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineApprovalRuleArrayOutput) ElementType

func (PatchBaselineApprovalRuleArrayOutput) Index

func (PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutput

func (o PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutput() PatchBaselineApprovalRuleArrayOutput

func (PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutputWithContext

func (o PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleArrayOutput

type PatchBaselineApprovalRuleInput

type PatchBaselineApprovalRuleInput interface {
	pulumi.Input

	ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput
	ToPatchBaselineApprovalRuleOutputWithContext(context.Context) PatchBaselineApprovalRuleOutput
}

PatchBaselineApprovalRuleInput is an input type that accepts PatchBaselineApprovalRuleArgs and PatchBaselineApprovalRuleOutput values. You can construct a concrete instance of `PatchBaselineApprovalRuleInput` via:

PatchBaselineApprovalRuleArgs{...}

type PatchBaselineApprovalRuleOutput

type PatchBaselineApprovalRuleOutput struct{ *pulumi.OutputState }

func (PatchBaselineApprovalRuleOutput) ApproveAfterDays

The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 100. Conflicts with `approveUntilDate`

func (PatchBaselineApprovalRuleOutput) ApproveUntilDate added in v3.29.0

The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays`

func (PatchBaselineApprovalRuleOutput) ComplianceLevel

Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.

func (PatchBaselineApprovalRuleOutput) ElementType

func (PatchBaselineApprovalRuleOutput) EnableNonSecurity

Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only.

func (PatchBaselineApprovalRuleOutput) PatchFilters

The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values.

func (PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutput

func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput

func (PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutputWithContext

func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleOutput

type PatchBaselineApprovalRulePatchFilter

type PatchBaselineApprovalRulePatchFilter struct {
	Key    string   `pulumi:"key"`
	Values []string `pulumi:"values"`
}

type PatchBaselineApprovalRulePatchFilterArgs

type PatchBaselineApprovalRulePatchFilterArgs struct {
	Key    pulumi.StringInput      `pulumi:"key"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (PatchBaselineApprovalRulePatchFilterArgs) ElementType

func (PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutput

func (i PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput

func (PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutputWithContext

func (i PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterOutput

type PatchBaselineApprovalRulePatchFilterArray

type PatchBaselineApprovalRulePatchFilterArray []PatchBaselineApprovalRulePatchFilterInput

func (PatchBaselineApprovalRulePatchFilterArray) ElementType

func (PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutput

func (i PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutput() PatchBaselineApprovalRulePatchFilterArrayOutput

func (PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext

func (i PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterArrayOutput

type PatchBaselineApprovalRulePatchFilterArrayInput

type PatchBaselineApprovalRulePatchFilterArrayInput interface {
	pulumi.Input

	ToPatchBaselineApprovalRulePatchFilterArrayOutput() PatchBaselineApprovalRulePatchFilterArrayOutput
	ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(context.Context) PatchBaselineApprovalRulePatchFilterArrayOutput
}

PatchBaselineApprovalRulePatchFilterArrayInput is an input type that accepts PatchBaselineApprovalRulePatchFilterArray and PatchBaselineApprovalRulePatchFilterArrayOutput values. You can construct a concrete instance of `PatchBaselineApprovalRulePatchFilterArrayInput` via:

PatchBaselineApprovalRulePatchFilterArray{ PatchBaselineApprovalRulePatchFilterArgs{...} }

type PatchBaselineApprovalRulePatchFilterArrayOutput

type PatchBaselineApprovalRulePatchFilterArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineApprovalRulePatchFilterArrayOutput) ElementType

func (PatchBaselineApprovalRulePatchFilterArrayOutput) Index

func (PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutput

func (o PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutput() PatchBaselineApprovalRulePatchFilterArrayOutput

func (PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext

func (o PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterArrayOutput

type PatchBaselineApprovalRulePatchFilterInput

type PatchBaselineApprovalRulePatchFilterInput interface {
	pulumi.Input

	ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput
	ToPatchBaselineApprovalRulePatchFilterOutputWithContext(context.Context) PatchBaselineApprovalRulePatchFilterOutput
}

PatchBaselineApprovalRulePatchFilterInput is an input type that accepts PatchBaselineApprovalRulePatchFilterArgs and PatchBaselineApprovalRulePatchFilterOutput values. You can construct a concrete instance of `PatchBaselineApprovalRulePatchFilterInput` via:

PatchBaselineApprovalRulePatchFilterArgs{...}

type PatchBaselineApprovalRulePatchFilterOutput

type PatchBaselineApprovalRulePatchFilterOutput struct{ *pulumi.OutputState }

func (PatchBaselineApprovalRulePatchFilterOutput) ElementType

func (PatchBaselineApprovalRulePatchFilterOutput) Key

func (PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutput

func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput

func (PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutputWithContext

func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterOutput

func (PatchBaselineApprovalRulePatchFilterOutput) Values

type PatchBaselineArgs

type PatchBaselineArgs struct {
	// A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below.
	ApprovalRules PatchBaselineApprovalRuleArrayInput
	// A list of explicitly approved patches for the baseline.
	ApprovedPatches pulumi.StringArrayInput
	// Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ApprovedPatchesComplianceLevel pulumi.StringPtrInput
	// Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput
	// The description of the patch baseline.
	Description pulumi.StringPtrInput
	// A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayInput
	// The name specified to identify the patch source.
	Name pulumi.StringPtrInput
	// Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
	OperatingSystem pulumi.StringPtrInput
	// A list of rejected patches.
	RejectedPatches pulumi.StringArrayInput
	// The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below.
	Sources PatchBaselineSourceArrayInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a PatchBaseline resource.

func (PatchBaselineArgs) ElementType

func (PatchBaselineArgs) ElementType() reflect.Type

type PatchBaselineArray added in v3.25.0

type PatchBaselineArray []PatchBaselineInput

func (PatchBaselineArray) ElementType added in v3.25.0

func (PatchBaselineArray) ElementType() reflect.Type

func (PatchBaselineArray) ToPatchBaselineArrayOutput added in v3.25.0

func (i PatchBaselineArray) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArray) ToPatchBaselineArrayOutputWithContext added in v3.25.0

func (i PatchBaselineArray) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput

type PatchBaselineArrayInput added in v3.25.0

type PatchBaselineArrayInput interface {
	pulumi.Input

	ToPatchBaselineArrayOutput() PatchBaselineArrayOutput
	ToPatchBaselineArrayOutputWithContext(context.Context) PatchBaselineArrayOutput
}

PatchBaselineArrayInput is an input type that accepts PatchBaselineArray and PatchBaselineArrayOutput values. You can construct a concrete instance of `PatchBaselineArrayInput` via:

PatchBaselineArray{ PatchBaselineArgs{...} }

type PatchBaselineArrayOutput added in v3.25.0

type PatchBaselineArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineArrayOutput) ElementType added in v3.25.0

func (PatchBaselineArrayOutput) ElementType() reflect.Type

func (PatchBaselineArrayOutput) Index added in v3.25.0

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutput added in v3.25.0

func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext added in v3.25.0

func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput

type PatchBaselineGlobalFilter

type PatchBaselineGlobalFilter struct {
	Key    string   `pulumi:"key"`
	Values []string `pulumi:"values"`
}

type PatchBaselineGlobalFilterArgs

type PatchBaselineGlobalFilterArgs struct {
	Key    pulumi.StringInput      `pulumi:"key"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (PatchBaselineGlobalFilterArgs) ElementType

func (PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutput

func (i PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput

func (PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutputWithContext

func (i PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterOutput

type PatchBaselineGlobalFilterArray

type PatchBaselineGlobalFilterArray []PatchBaselineGlobalFilterInput

func (PatchBaselineGlobalFilterArray) ElementType

func (PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutput

func (i PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutput() PatchBaselineGlobalFilterArrayOutput

func (PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutputWithContext

func (i PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterArrayOutput

type PatchBaselineGlobalFilterArrayInput

type PatchBaselineGlobalFilterArrayInput interface {
	pulumi.Input

	ToPatchBaselineGlobalFilterArrayOutput() PatchBaselineGlobalFilterArrayOutput
	ToPatchBaselineGlobalFilterArrayOutputWithContext(context.Context) PatchBaselineGlobalFilterArrayOutput
}

PatchBaselineGlobalFilterArrayInput is an input type that accepts PatchBaselineGlobalFilterArray and PatchBaselineGlobalFilterArrayOutput values. You can construct a concrete instance of `PatchBaselineGlobalFilterArrayInput` via:

PatchBaselineGlobalFilterArray{ PatchBaselineGlobalFilterArgs{...} }

type PatchBaselineGlobalFilterArrayOutput

type PatchBaselineGlobalFilterArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineGlobalFilterArrayOutput) ElementType

func (PatchBaselineGlobalFilterArrayOutput) Index

func (PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutput

func (o PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutput() PatchBaselineGlobalFilterArrayOutput

func (PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutputWithContext

func (o PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterArrayOutput

type PatchBaselineGlobalFilterInput

type PatchBaselineGlobalFilterInput interface {
	pulumi.Input

	ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput
	ToPatchBaselineGlobalFilterOutputWithContext(context.Context) PatchBaselineGlobalFilterOutput
}

PatchBaselineGlobalFilterInput is an input type that accepts PatchBaselineGlobalFilterArgs and PatchBaselineGlobalFilterOutput values. You can construct a concrete instance of `PatchBaselineGlobalFilterInput` via:

PatchBaselineGlobalFilterArgs{...}

type PatchBaselineGlobalFilterOutput

type PatchBaselineGlobalFilterOutput struct{ *pulumi.OutputState }

func (PatchBaselineGlobalFilterOutput) ElementType

func (PatchBaselineGlobalFilterOutput) Key

func (PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutput

func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput

func (PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutputWithContext

func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterOutput

func (PatchBaselineGlobalFilterOutput) Values

type PatchBaselineInput added in v3.13.0

type PatchBaselineInput interface {
	pulumi.Input

	ToPatchBaselineOutput() PatchBaselineOutput
	ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput
}

type PatchBaselineMap added in v3.25.0

type PatchBaselineMap map[string]PatchBaselineInput

func (PatchBaselineMap) ElementType added in v3.25.0

func (PatchBaselineMap) ElementType() reflect.Type

func (PatchBaselineMap) ToPatchBaselineMapOutput added in v3.25.0

func (i PatchBaselineMap) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMap) ToPatchBaselineMapOutputWithContext added in v3.25.0

func (i PatchBaselineMap) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput

type PatchBaselineMapInput added in v3.25.0

type PatchBaselineMapInput interface {
	pulumi.Input

	ToPatchBaselineMapOutput() PatchBaselineMapOutput
	ToPatchBaselineMapOutputWithContext(context.Context) PatchBaselineMapOutput
}

PatchBaselineMapInput is an input type that accepts PatchBaselineMap and PatchBaselineMapOutput values. You can construct a concrete instance of `PatchBaselineMapInput` via:

PatchBaselineMap{ "key": PatchBaselineArgs{...} }

type PatchBaselineMapOutput added in v3.25.0

type PatchBaselineMapOutput struct{ *pulumi.OutputState }

func (PatchBaselineMapOutput) ElementType added in v3.25.0

func (PatchBaselineMapOutput) ElementType() reflect.Type

func (PatchBaselineMapOutput) MapIndex added in v3.25.0

func (PatchBaselineMapOutput) ToPatchBaselineMapOutput added in v3.25.0

func (o PatchBaselineMapOutput) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext added in v3.25.0

func (o PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput

type PatchBaselineOutput added in v3.13.0

type PatchBaselineOutput struct {
	*pulumi.OutputState
}

func (PatchBaselineOutput) ElementType added in v3.13.0

func (PatchBaselineOutput) ElementType() reflect.Type

func (PatchBaselineOutput) ToPatchBaselineOutput added in v3.13.0

func (o PatchBaselineOutput) ToPatchBaselineOutput() PatchBaselineOutput

func (PatchBaselineOutput) ToPatchBaselineOutputWithContext added in v3.13.0

func (o PatchBaselineOutput) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput

func (PatchBaselineOutput) ToPatchBaselinePtrOutput added in v3.25.0

func (o PatchBaselineOutput) ToPatchBaselinePtrOutput() PatchBaselinePtrOutput

func (PatchBaselineOutput) ToPatchBaselinePtrOutputWithContext added in v3.25.0

func (o PatchBaselineOutput) ToPatchBaselinePtrOutputWithContext(ctx context.Context) PatchBaselinePtrOutput

type PatchBaselinePtrInput added in v3.25.0

type PatchBaselinePtrInput interface {
	pulumi.Input

	ToPatchBaselinePtrOutput() PatchBaselinePtrOutput
	ToPatchBaselinePtrOutputWithContext(ctx context.Context) PatchBaselinePtrOutput
}

type PatchBaselinePtrOutput added in v3.25.0

type PatchBaselinePtrOutput struct {
	*pulumi.OutputState
}

func (PatchBaselinePtrOutput) ElementType added in v3.25.0

func (PatchBaselinePtrOutput) ElementType() reflect.Type

func (PatchBaselinePtrOutput) ToPatchBaselinePtrOutput added in v3.25.0

func (o PatchBaselinePtrOutput) ToPatchBaselinePtrOutput() PatchBaselinePtrOutput

func (PatchBaselinePtrOutput) ToPatchBaselinePtrOutputWithContext added in v3.25.0

func (o PatchBaselinePtrOutput) ToPatchBaselinePtrOutputWithContext(ctx context.Context) PatchBaselinePtrOutput

type PatchBaselineSource added in v3.29.0

type PatchBaselineSource struct {
	// The value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
	Configuration string `pulumi:"configuration"`
	// The name specified to identify the patch source.
	Name string `pulumi:"name"`
	// The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html).
	Products []string `pulumi:"products"`
}

type PatchBaselineSourceArgs added in v3.29.0

type PatchBaselineSourceArgs struct {
	// The value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)
	Configuration pulumi.StringInput `pulumi:"configuration"`
	// The name specified to identify the patch source.
	Name pulumi.StringInput `pulumi:"name"`
	// The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html).
	Products pulumi.StringArrayInput `pulumi:"products"`
}

func (PatchBaselineSourceArgs) ElementType added in v3.29.0

func (PatchBaselineSourceArgs) ElementType() reflect.Type

func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutput added in v3.29.0

func (i PatchBaselineSourceArgs) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput

func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutputWithContext added in v3.29.0

func (i PatchBaselineSourceArgs) ToPatchBaselineSourceOutputWithContext(ctx context.Context) PatchBaselineSourceOutput

type PatchBaselineSourceArray added in v3.29.0

type PatchBaselineSourceArray []PatchBaselineSourceInput

func (PatchBaselineSourceArray) ElementType added in v3.29.0

func (PatchBaselineSourceArray) ElementType() reflect.Type

func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput added in v3.29.0

func (i PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput

func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutputWithContext added in v3.29.0

func (i PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutputWithContext(ctx context.Context) PatchBaselineSourceArrayOutput

type PatchBaselineSourceArrayInput added in v3.29.0

type PatchBaselineSourceArrayInput interface {
	pulumi.Input

	ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput
	ToPatchBaselineSourceArrayOutputWithContext(context.Context) PatchBaselineSourceArrayOutput
}

PatchBaselineSourceArrayInput is an input type that accepts PatchBaselineSourceArray and PatchBaselineSourceArrayOutput values. You can construct a concrete instance of `PatchBaselineSourceArrayInput` via:

PatchBaselineSourceArray{ PatchBaselineSourceArgs{...} }

type PatchBaselineSourceArrayOutput added in v3.29.0

type PatchBaselineSourceArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineSourceArrayOutput) ElementType added in v3.29.0

func (PatchBaselineSourceArrayOutput) Index added in v3.29.0

func (PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutput added in v3.29.0

func (o PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput

func (PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutputWithContext added in v3.29.0

func (o PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutputWithContext(ctx context.Context) PatchBaselineSourceArrayOutput

type PatchBaselineSourceInput added in v3.29.0

type PatchBaselineSourceInput interface {
	pulumi.Input

	ToPatchBaselineSourceOutput() PatchBaselineSourceOutput
	ToPatchBaselineSourceOutputWithContext(context.Context) PatchBaselineSourceOutput
}

PatchBaselineSourceInput is an input type that accepts PatchBaselineSourceArgs and PatchBaselineSourceOutput values. You can construct a concrete instance of `PatchBaselineSourceInput` via:

PatchBaselineSourceArgs{...}

type PatchBaselineSourceOutput added in v3.29.0

type PatchBaselineSourceOutput struct{ *pulumi.OutputState }

func (PatchBaselineSourceOutput) Configuration added in v3.29.0

func (o PatchBaselineSourceOutput) Configuration() pulumi.StringOutput

The value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html)

func (PatchBaselineSourceOutput) ElementType added in v3.29.0

func (PatchBaselineSourceOutput) ElementType() reflect.Type

func (PatchBaselineSourceOutput) Name added in v3.29.0

The name specified to identify the patch source.

func (PatchBaselineSourceOutput) Products added in v3.29.0

The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html).

func (PatchBaselineSourceOutput) ToPatchBaselineSourceOutput added in v3.29.0

func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput

func (PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext added in v3.29.0

func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext(ctx context.Context) PatchBaselineSourceOutput

type PatchBaselineState

type PatchBaselineState struct {
	// A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below.
	ApprovalRules PatchBaselineApprovalRuleArrayInput
	// A list of explicitly approved patches for the baseline.
	ApprovedPatches pulumi.StringArrayInput
	// Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ApprovedPatchesComplianceLevel pulumi.StringPtrInput
	// Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
	ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput
	// The ARN of the patch baseline.
	Arn pulumi.StringPtrInput
	// The description of the patch baseline.
	Description pulumi.StringPtrInput
	// A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayInput
	// The name specified to identify the patch source.
	Name pulumi.StringPtrInput
	// Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
	OperatingSystem pulumi.StringPtrInput
	// A list of rejected patches.
	RejectedPatches pulumi.StringArrayInput
	// The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below.
	Sources PatchBaselineSourceArrayInput
	// A map of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (PatchBaselineState) ElementType

func (PatchBaselineState) ElementType() reflect.Type

type PatchGroup

type PatchGroup struct {
	pulumi.CustomResourceState

	// The ID of the patch baseline to register the patch group with.
	BaselineId pulumi.StringOutput `pulumi:"baselineId"`
	// The name of the patch group that should be registered with the patch baseline.
	PatchGroup pulumi.StringOutput `pulumi:"patchGroup"`
}

Provides an SSM Patch Group resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		production, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{
			ApprovedPatches: pulumi.StringArray{
				pulumi.String("KB123456"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewPatchGroup(ctx, "patchgroup", &ssm.PatchGroupArgs{
			BaselineId: production.ID(),
			PatchGroup: pulumi.String("patch-group-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetPatchGroup

func GetPatchGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PatchGroupState, opts ...pulumi.ResourceOption) (*PatchGroup, error)

GetPatchGroup gets an existing PatchGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPatchGroup

func NewPatchGroup(ctx *pulumi.Context,
	name string, args *PatchGroupArgs, opts ...pulumi.ResourceOption) (*PatchGroup, error)

NewPatchGroup registers a new resource with the given unique name, arguments, and options.

func (*PatchGroup) ElementType added in v3.13.0

func (*PatchGroup) ElementType() reflect.Type

func (*PatchGroup) ToPatchGroupOutput added in v3.13.0

func (i *PatchGroup) ToPatchGroupOutput() PatchGroupOutput

func (*PatchGroup) ToPatchGroupOutputWithContext added in v3.13.0

func (i *PatchGroup) ToPatchGroupOutputWithContext(ctx context.Context) PatchGroupOutput

func (*PatchGroup) ToPatchGroupPtrOutput added in v3.25.0

func (i *PatchGroup) ToPatchGroupPtrOutput() PatchGroupPtrOutput

func (*PatchGroup) ToPatchGroupPtrOutputWithContext added in v3.25.0

func (i *PatchGroup) ToPatchGroupPtrOutputWithContext(ctx context.Context) PatchGroupPtrOutput

type PatchGroupArgs

type PatchGroupArgs struct {
	// The ID of the patch baseline to register the patch group with.
	BaselineId pulumi.StringInput
	// The name of the patch group that should be registered with the patch baseline.
	PatchGroup pulumi.StringInput
}

The set of arguments for constructing a PatchGroup resource.

func (PatchGroupArgs) ElementType

func (PatchGroupArgs) ElementType() reflect.Type

type PatchGroupArray added in v3.25.0

type PatchGroupArray []PatchGroupInput

func (PatchGroupArray) ElementType added in v3.25.0

func (PatchGroupArray) ElementType() reflect.Type

func (PatchGroupArray) ToPatchGroupArrayOutput added in v3.25.0

func (i PatchGroupArray) ToPatchGroupArrayOutput() PatchGroupArrayOutput

func (PatchGroupArray) ToPatchGroupArrayOutputWithContext added in v3.25.0

func (i PatchGroupArray) ToPatchGroupArrayOutputWithContext(ctx context.Context) PatchGroupArrayOutput

type PatchGroupArrayInput added in v3.25.0

type PatchGroupArrayInput interface {
	pulumi.Input

	ToPatchGroupArrayOutput() PatchGroupArrayOutput
	ToPatchGroupArrayOutputWithContext(context.Context) PatchGroupArrayOutput
}

PatchGroupArrayInput is an input type that accepts PatchGroupArray and PatchGroupArrayOutput values. You can construct a concrete instance of `PatchGroupArrayInput` via:

PatchGroupArray{ PatchGroupArgs{...} }

type PatchGroupArrayOutput added in v3.25.0

type PatchGroupArrayOutput struct{ *pulumi.OutputState }

func (PatchGroupArrayOutput) ElementType added in v3.25.0

func (PatchGroupArrayOutput) ElementType() reflect.Type

func (PatchGroupArrayOutput) Index added in v3.25.0

func (PatchGroupArrayOutput) ToPatchGroupArrayOutput added in v3.25.0

func (o PatchGroupArrayOutput) ToPatchGroupArrayOutput() PatchGroupArrayOutput

func (PatchGroupArrayOutput) ToPatchGroupArrayOutputWithContext added in v3.25.0

func (o PatchGroupArrayOutput) ToPatchGroupArrayOutputWithContext(ctx context.Context) PatchGroupArrayOutput

type PatchGroupInput added in v3.13.0

type PatchGroupInput interface {
	pulumi.Input

	ToPatchGroupOutput() PatchGroupOutput
	ToPatchGroupOutputWithContext(ctx context.Context) PatchGroupOutput
}

type PatchGroupMap added in v3.25.0

type PatchGroupMap map[string]PatchGroupInput

func (PatchGroupMap) ElementType added in v3.25.0

func (PatchGroupMap) ElementType() reflect.Type

func (PatchGroupMap) ToPatchGroupMapOutput added in v3.25.0

func (i PatchGroupMap) ToPatchGroupMapOutput() PatchGroupMapOutput

func (PatchGroupMap) ToPatchGroupMapOutputWithContext added in v3.25.0

func (i PatchGroupMap) ToPatchGroupMapOutputWithContext(ctx context.Context) PatchGroupMapOutput

type PatchGroupMapInput added in v3.25.0

type PatchGroupMapInput interface {
	pulumi.Input

	ToPatchGroupMapOutput() PatchGroupMapOutput
	ToPatchGroupMapOutputWithContext(context.Context) PatchGroupMapOutput
}

PatchGroupMapInput is an input type that accepts PatchGroupMap and PatchGroupMapOutput values. You can construct a concrete instance of `PatchGroupMapInput` via:

PatchGroupMap{ "key": PatchGroupArgs{...} }

type PatchGroupMapOutput added in v3.25.0

type PatchGroupMapOutput struct{ *pulumi.OutputState }

func (PatchGroupMapOutput) ElementType added in v3.25.0

func (PatchGroupMapOutput) ElementType() reflect.Type

func (PatchGroupMapOutput) MapIndex added in v3.25.0

func (PatchGroupMapOutput) ToPatchGroupMapOutput added in v3.25.0

func (o PatchGroupMapOutput) ToPatchGroupMapOutput() PatchGroupMapOutput

func (PatchGroupMapOutput) ToPatchGroupMapOutputWithContext added in v3.25.0

func (o PatchGroupMapOutput) ToPatchGroupMapOutputWithContext(ctx context.Context) PatchGroupMapOutput

type PatchGroupOutput added in v3.13.0

type PatchGroupOutput struct {
	*pulumi.OutputState
}

func (PatchGroupOutput) ElementType added in v3.13.0

func (PatchGroupOutput) ElementType() reflect.Type

func (PatchGroupOutput) ToPatchGroupOutput added in v3.13.0

func (o PatchGroupOutput) ToPatchGroupOutput() PatchGroupOutput

func (PatchGroupOutput) ToPatchGroupOutputWithContext added in v3.13.0

func (o PatchGroupOutput) ToPatchGroupOutputWithContext(ctx context.Context) PatchGroupOutput

func (PatchGroupOutput) ToPatchGroupPtrOutput added in v3.25.0

func (o PatchGroupOutput) ToPatchGroupPtrOutput() PatchGroupPtrOutput

func (PatchGroupOutput) ToPatchGroupPtrOutputWithContext added in v3.25.0

func (o PatchGroupOutput) ToPatchGroupPtrOutputWithContext(ctx context.Context) PatchGroupPtrOutput

type PatchGroupPtrInput added in v3.25.0

type PatchGroupPtrInput interface {
	pulumi.Input

	ToPatchGroupPtrOutput() PatchGroupPtrOutput
	ToPatchGroupPtrOutputWithContext(ctx context.Context) PatchGroupPtrOutput
}

type PatchGroupPtrOutput added in v3.25.0

type PatchGroupPtrOutput struct {
	*pulumi.OutputState
}

func (PatchGroupPtrOutput) ElementType added in v3.25.0

func (PatchGroupPtrOutput) ElementType() reflect.Type

func (PatchGroupPtrOutput) ToPatchGroupPtrOutput added in v3.25.0

func (o PatchGroupPtrOutput) ToPatchGroupPtrOutput() PatchGroupPtrOutput

func (PatchGroupPtrOutput) ToPatchGroupPtrOutputWithContext added in v3.25.0

func (o PatchGroupPtrOutput) ToPatchGroupPtrOutputWithContext(ctx context.Context) PatchGroupPtrOutput

type PatchGroupState

type PatchGroupState struct {
	// The ID of the patch baseline to register the patch group with.
	BaselineId pulumi.StringPtrInput
	// The name of the patch group that should be registered with the patch baseline.
	PatchGroup pulumi.StringPtrInput
}

func (PatchGroupState) ElementType

func (PatchGroupState) ElementType() reflect.Type

type ResourceDataSync

type ResourceDataSync struct {
	pulumi.CustomResourceState

	// Name for the configuration.
	Name pulumi.StringOutput `pulumi:"name"`
	// Amazon S3 configuration details for the sync.
	S3Destination ResourceDataSyncS3DestinationOutput `pulumi:"s3Destination"`
}

Provides a SSM resource data sync.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/s3"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hogeBucket, err := s3.NewBucket(ctx, "hogeBucket", nil)
		if err != nil {
			return err
		}
		_, err = s3.NewBucketPolicy(ctx, "hogeBucketPolicy", &s3.BucketPolicyArgs{
			Bucket: hogeBucket.Bucket,
			Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "    \"Version\": \"2012-10-17\",\n", "    \"Statement\": [\n", "        {\n", "            \"Sid\": \"SSMBucketPermissionsCheck\",\n", "            \"Effect\": \"Allow\",\n", "            \"Principal\": {\n", "                \"Service\": \"ssm.amazonaws.com\"\n", "            },\n", "            \"Action\": \"s3:GetBucketAcl\",\n", "            \"Resource\": \"arn:aws:s3:::tf-test-bucket-1234\"\n", "        },\n", "        {\n", "            \"Sid\": \" SSMBucketDelivery\",\n", "            \"Effect\": \"Allow\",\n", "            \"Principal\": {\n", "                \"Service\": \"ssm.amazonaws.com\"\n", "            },\n", "            \"Action\": \"s3:PutObject\",\n", "            \"Resource\": [\"arn:aws:s3:::tf-test-bucket-1234/*\"],\n", "            \"Condition\": {\n", "                \"StringEquals\": {\n", "                    \"s3:x-amz-acl\": \"bucket-owner-full-control\"\n", "                }\n", "            }\n", "        }\n", "    ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewResourceDataSync(ctx, "foo", &ssm.ResourceDataSyncArgs{
			S3Destination: &ssm.ResourceDataSyncS3DestinationArgs{
				BucketName: hogeBucket.Bucket,
				Region:     hogeBucket.Region,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSM resource data sync can be imported using the `name`, e.g.

```sh

$ pulumi import aws:ssm/resourceDataSync:ResourceDataSync example example-name

```

func GetResourceDataSync

func GetResourceDataSync(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceDataSyncState, opts ...pulumi.ResourceOption) (*ResourceDataSync, error)

GetResourceDataSync gets an existing ResourceDataSync resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewResourceDataSync

func NewResourceDataSync(ctx *pulumi.Context,
	name string, args *ResourceDataSyncArgs, opts ...pulumi.ResourceOption) (*ResourceDataSync, error)

NewResourceDataSync registers a new resource with the given unique name, arguments, and options.

func (*ResourceDataSync) ElementType added in v3.13.0

func (*ResourceDataSync) ElementType() reflect.Type

func (*ResourceDataSync) ToResourceDataSyncOutput added in v3.13.0

func (i *ResourceDataSync) ToResourceDataSyncOutput() ResourceDataSyncOutput

func (*ResourceDataSync) ToResourceDataSyncOutputWithContext added in v3.13.0

func (i *ResourceDataSync) ToResourceDataSyncOutputWithContext(ctx context.Context) ResourceDataSyncOutput

func (*ResourceDataSync) ToResourceDataSyncPtrOutput added in v3.25.0

func (i *ResourceDataSync) ToResourceDataSyncPtrOutput() ResourceDataSyncPtrOutput

func (*ResourceDataSync) ToResourceDataSyncPtrOutputWithContext added in v3.25.0

func (i *ResourceDataSync) ToResourceDataSyncPtrOutputWithContext(ctx context.Context) ResourceDataSyncPtrOutput

type ResourceDataSyncArgs

type ResourceDataSyncArgs struct {
	// Name for the configuration.
	Name pulumi.StringPtrInput
	// Amazon S3 configuration details for the sync.
	S3Destination ResourceDataSyncS3DestinationInput
}

The set of arguments for constructing a ResourceDataSync resource.

func (ResourceDataSyncArgs) ElementType

func (ResourceDataSyncArgs) ElementType() reflect.Type

type ResourceDataSyncArray added in v3.25.0

type ResourceDataSyncArray []ResourceDataSyncInput

func (ResourceDataSyncArray) ElementType added in v3.25.0

func (ResourceDataSyncArray) ElementType() reflect.Type

func (ResourceDataSyncArray) ToResourceDataSyncArrayOutput added in v3.25.0

func (i ResourceDataSyncArray) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput

func (ResourceDataSyncArray) ToResourceDataSyncArrayOutputWithContext added in v3.25.0

func (i ResourceDataSyncArray) ToResourceDataSyncArrayOutputWithContext(ctx context.Context) ResourceDataSyncArrayOutput

type ResourceDataSyncArrayInput added in v3.25.0

type ResourceDataSyncArrayInput interface {
	pulumi.Input

	ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput
	ToResourceDataSyncArrayOutputWithContext(context.Context) ResourceDataSyncArrayOutput
}

ResourceDataSyncArrayInput is an input type that accepts ResourceDataSyncArray and ResourceDataSyncArrayOutput values. You can construct a concrete instance of `ResourceDataSyncArrayInput` via:

ResourceDataSyncArray{ ResourceDataSyncArgs{...} }

type ResourceDataSyncArrayOutput added in v3.25.0

type ResourceDataSyncArrayOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncArrayOutput) ElementType added in v3.25.0

func (ResourceDataSyncArrayOutput) Index added in v3.25.0

func (ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutput added in v3.25.0

func (o ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput

func (ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutputWithContext added in v3.25.0

func (o ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutputWithContext(ctx context.Context) ResourceDataSyncArrayOutput

type ResourceDataSyncInput added in v3.13.0

type ResourceDataSyncInput interface {
	pulumi.Input

	ToResourceDataSyncOutput() ResourceDataSyncOutput
	ToResourceDataSyncOutputWithContext(ctx context.Context) ResourceDataSyncOutput
}

type ResourceDataSyncMap added in v3.25.0

type ResourceDataSyncMap map[string]ResourceDataSyncInput

func (ResourceDataSyncMap) ElementType added in v3.25.0

func (ResourceDataSyncMap) ElementType() reflect.Type

func (ResourceDataSyncMap) ToResourceDataSyncMapOutput added in v3.25.0

func (i ResourceDataSyncMap) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput

func (ResourceDataSyncMap) ToResourceDataSyncMapOutputWithContext added in v3.25.0

func (i ResourceDataSyncMap) ToResourceDataSyncMapOutputWithContext(ctx context.Context) ResourceDataSyncMapOutput

type ResourceDataSyncMapInput added in v3.25.0

type ResourceDataSyncMapInput interface {
	pulumi.Input

	ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput
	ToResourceDataSyncMapOutputWithContext(context.Context) ResourceDataSyncMapOutput
}

ResourceDataSyncMapInput is an input type that accepts ResourceDataSyncMap and ResourceDataSyncMapOutput values. You can construct a concrete instance of `ResourceDataSyncMapInput` via:

ResourceDataSyncMap{ "key": ResourceDataSyncArgs{...} }

type ResourceDataSyncMapOutput added in v3.25.0

type ResourceDataSyncMapOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncMapOutput) ElementType added in v3.25.0

func (ResourceDataSyncMapOutput) ElementType() reflect.Type

func (ResourceDataSyncMapOutput) MapIndex added in v3.25.0

func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput added in v3.25.0

func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput

func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext added in v3.25.0

func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext(ctx context.Context) ResourceDataSyncMapOutput

type ResourceDataSyncOutput added in v3.13.0

type ResourceDataSyncOutput struct {
	*pulumi.OutputState
}

func (ResourceDataSyncOutput) ElementType added in v3.13.0

func (ResourceDataSyncOutput) ElementType() reflect.Type

func (ResourceDataSyncOutput) ToResourceDataSyncOutput added in v3.13.0

func (o ResourceDataSyncOutput) ToResourceDataSyncOutput() ResourceDataSyncOutput

func (ResourceDataSyncOutput) ToResourceDataSyncOutputWithContext added in v3.13.0

func (o ResourceDataSyncOutput) ToResourceDataSyncOutputWithContext(ctx context.Context) ResourceDataSyncOutput

func (ResourceDataSyncOutput) ToResourceDataSyncPtrOutput added in v3.25.0

func (o ResourceDataSyncOutput) ToResourceDataSyncPtrOutput() ResourceDataSyncPtrOutput

func (ResourceDataSyncOutput) ToResourceDataSyncPtrOutputWithContext added in v3.25.0

func (o ResourceDataSyncOutput) ToResourceDataSyncPtrOutputWithContext(ctx context.Context) ResourceDataSyncPtrOutput

type ResourceDataSyncPtrInput added in v3.25.0

type ResourceDataSyncPtrInput interface {
	pulumi.Input

	ToResourceDataSyncPtrOutput() ResourceDataSyncPtrOutput
	ToResourceDataSyncPtrOutputWithContext(ctx context.Context) ResourceDataSyncPtrOutput
}

type ResourceDataSyncPtrOutput added in v3.25.0

type ResourceDataSyncPtrOutput struct {
	*pulumi.OutputState
}

func (ResourceDataSyncPtrOutput) ElementType added in v3.25.0

func (ResourceDataSyncPtrOutput) ElementType() reflect.Type

func (ResourceDataSyncPtrOutput) ToResourceDataSyncPtrOutput added in v3.25.0

func (o ResourceDataSyncPtrOutput) ToResourceDataSyncPtrOutput() ResourceDataSyncPtrOutput

func (ResourceDataSyncPtrOutput) ToResourceDataSyncPtrOutputWithContext added in v3.25.0

func (o ResourceDataSyncPtrOutput) ToResourceDataSyncPtrOutputWithContext(ctx context.Context) ResourceDataSyncPtrOutput

type ResourceDataSyncS3Destination

type ResourceDataSyncS3Destination struct {
	// Name of S3 bucket where the aggregated data is stored.
	BucketName string `pulumi:"bucketName"`
	// ARN of an encryption key for a destination in Amazon S3.
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
	// Prefix for the bucket.
	Prefix *string `pulumi:"prefix"`
	// Region with the bucket targeted by the Resource Data Sync.
	Region string `pulumi:"region"`
	// A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.
	SyncFormat *string `pulumi:"syncFormat"`
}

type ResourceDataSyncS3DestinationArgs

type ResourceDataSyncS3DestinationArgs struct {
	// Name of S3 bucket where the aggregated data is stored.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// ARN of an encryption key for a destination in Amazon S3.
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
	// Prefix for the bucket.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Region with the bucket targeted by the Resource Data Sync.
	Region pulumi.StringInput `pulumi:"region"`
	// A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.
	SyncFormat pulumi.StringPtrInput `pulumi:"syncFormat"`
}

func (ResourceDataSyncS3DestinationArgs) ElementType

func (ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutput

func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutput() ResourceDataSyncS3DestinationOutput

func (ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutputWithContext

func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationOutput

func (ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutput

func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput

func (ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutputWithContext

func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput

type ResourceDataSyncS3DestinationInput

type ResourceDataSyncS3DestinationInput interface {
	pulumi.Input

	ToResourceDataSyncS3DestinationOutput() ResourceDataSyncS3DestinationOutput
	ToResourceDataSyncS3DestinationOutputWithContext(context.Context) ResourceDataSyncS3DestinationOutput
}

ResourceDataSyncS3DestinationInput is an input type that accepts ResourceDataSyncS3DestinationArgs and ResourceDataSyncS3DestinationOutput values. You can construct a concrete instance of `ResourceDataSyncS3DestinationInput` via:

ResourceDataSyncS3DestinationArgs{...}

type ResourceDataSyncS3DestinationOutput

type ResourceDataSyncS3DestinationOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncS3DestinationOutput) BucketName

Name of S3 bucket where the aggregated data is stored.

func (ResourceDataSyncS3DestinationOutput) ElementType

func (ResourceDataSyncS3DestinationOutput) KmsKeyArn

ARN of an encryption key for a destination in Amazon S3.

func (ResourceDataSyncS3DestinationOutput) Prefix

Prefix for the bucket.

func (ResourceDataSyncS3DestinationOutput) Region

Region with the bucket targeted by the Resource Data Sync.

func (ResourceDataSyncS3DestinationOutput) SyncFormat

A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.

func (ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutput

func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutput() ResourceDataSyncS3DestinationOutput

func (ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutputWithContext

func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationOutput

func (ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutput

func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput

func (ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext

func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput

type ResourceDataSyncS3DestinationPtrInput

type ResourceDataSyncS3DestinationPtrInput interface {
	pulumi.Input

	ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput
	ToResourceDataSyncS3DestinationPtrOutputWithContext(context.Context) ResourceDataSyncS3DestinationPtrOutput
}

ResourceDataSyncS3DestinationPtrInput is an input type that accepts ResourceDataSyncS3DestinationArgs, ResourceDataSyncS3DestinationPtr and ResourceDataSyncS3DestinationPtrOutput values. You can construct a concrete instance of `ResourceDataSyncS3DestinationPtrInput` via:

        ResourceDataSyncS3DestinationArgs{...}

or:

        nil

type ResourceDataSyncS3DestinationPtrOutput

type ResourceDataSyncS3DestinationPtrOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncS3DestinationPtrOutput) BucketName

Name of S3 bucket where the aggregated data is stored.

func (ResourceDataSyncS3DestinationPtrOutput) Elem

func (ResourceDataSyncS3DestinationPtrOutput) ElementType

func (ResourceDataSyncS3DestinationPtrOutput) KmsKeyArn

ARN of an encryption key for a destination in Amazon S3.

func (ResourceDataSyncS3DestinationPtrOutput) Prefix

Prefix for the bucket.

func (ResourceDataSyncS3DestinationPtrOutput) Region

Region with the bucket targeted by the Resource Data Sync.

func (ResourceDataSyncS3DestinationPtrOutput) SyncFormat

A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.

func (ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutput

func (o ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput

func (ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext

func (o ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput

type ResourceDataSyncState

type ResourceDataSyncState struct {
	// Name for the configuration.
	Name pulumi.StringPtrInput
	// Amazon S3 configuration details for the sync.
	S3Destination ResourceDataSyncS3DestinationPtrInput
}

func (ResourceDataSyncState) ElementType

func (ResourceDataSyncState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL