ssm

package
v4.38.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

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/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(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

func (*Activation) ElementType() reflect.Type

func (*Activation) ToActivationOutput

func (i *Activation) ToActivationOutput() ActivationOutput

func (*Activation) ToActivationOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Activation resource.

func (ActivationArgs) ElementType

func (ActivationArgs) ElementType() reflect.Type

type ActivationArray

type ActivationArray []ActivationInput

func (ActivationArray) ElementType

func (ActivationArray) ElementType() reflect.Type

func (ActivationArray) ToActivationArrayOutput

func (i ActivationArray) ToActivationArrayOutput() ActivationArrayOutput

func (ActivationArray) ToActivationArrayOutputWithContext

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

type ActivationArrayInput

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

type ActivationArrayOutput struct{ *pulumi.OutputState }

func (ActivationArrayOutput) ElementType

func (ActivationArrayOutput) ElementType() reflect.Type

func (ActivationArrayOutput) Index

func (ActivationArrayOutput) ToActivationArrayOutput

func (o ActivationArrayOutput) ToActivationArrayOutput() ActivationArrayOutput

func (ActivationArrayOutput) ToActivationArrayOutputWithContext

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

type ActivationInput

type ActivationInput interface {
	pulumi.Input

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

type ActivationMap

type ActivationMap map[string]ActivationInput

func (ActivationMap) ElementType

func (ActivationMap) ElementType() reflect.Type

func (ActivationMap) ToActivationMapOutput

func (i ActivationMap) ToActivationMapOutput() ActivationMapOutput

func (ActivationMap) ToActivationMapOutputWithContext

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

type ActivationMapInput

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

type ActivationMapOutput struct{ *pulumi.OutputState }

func (ActivationMapOutput) ElementType

func (ActivationMapOutput) ElementType() reflect.Type

func (ActivationMapOutput) MapIndex

func (ActivationMapOutput) ToActivationMapOutput

func (o ActivationMapOutput) ToActivationMapOutput() ActivationMapOutput

func (ActivationMapOutput) ToActivationMapOutputWithContext

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

type ActivationOutput

type ActivationOutput struct{ *pulumi.OutputState }

func (ActivationOutput) ElementType

func (ActivationOutput) ElementType() reflect.Type

func (ActivationOutput) ToActivationOutput

func (o ActivationOutput) ToActivationOutput() ActivationOutput

func (ActivationOutput) ToActivationOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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. This should be set to the SSM document `parameter` that will define how your automation will branch out.
	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.

## Example Usage ### Create an association for a specific instance

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{
			Targets: ssm.AssociationTargetArray{
				&ssm.AssociationTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.Any(aws_instance.Example.Id),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create an association for all managed instances in an AWS account

To target all managed instances in an AWS account, set the `key` as `"InstanceIds"` with `values` set as `["*"]`. This example also illustrates how to use an Amazon owned SSM document named `AmazonCloudWatch-ManageAgent`.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{
			Targets: ssm.AssociationTargetArray{
				&ssm.AssociationTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create an association for a specific tag

This example shows how to target all managed instances that are assigned a tag key of `Environment` and value of `Development`.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{
			Targets: ssm.AssociationTargetArray{
				&ssm.AssociationTargetArgs{
					Key: pulumi.String("tag:Environment"),
					Values: pulumi.StringArray{
						pulumi.String("Development"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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

func (*Association) ElementType() reflect.Type

func (*Association) ToAssociationOutput

func (i *Association) ToAssociationOutput() AssociationOutput

func (*Association) ToAssociationOutputWithContext

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

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. This should be set to the SSM document `parameter` that will define how your automation will branch out.
	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

type AssociationArray []AssociationInput

func (AssociationArray) ElementType

func (AssociationArray) ElementType() reflect.Type

func (AssociationArray) ToAssociationArrayOutput

func (i AssociationArray) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArray) ToAssociationArrayOutputWithContext

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

type AssociationArrayInput

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

type AssociationArrayOutput struct{ *pulumi.OutputState }

func (AssociationArrayOutput) ElementType

func (AssociationArrayOutput) ElementType() reflect.Type

func (AssociationArrayOutput) Index

func (AssociationArrayOutput) ToAssociationArrayOutput

func (o AssociationArrayOutput) ToAssociationArrayOutput() AssociationArrayOutput

func (AssociationArrayOutput) ToAssociationArrayOutputWithContext

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

type AssociationInput

type AssociationInput interface {
	pulumi.Input

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

type AssociationMap

type AssociationMap map[string]AssociationInput

func (AssociationMap) ElementType

func (AssociationMap) ElementType() reflect.Type

func (AssociationMap) ToAssociationMapOutput

func (i AssociationMap) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMap) ToAssociationMapOutputWithContext

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

type AssociationMapInput

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

type AssociationMapOutput struct{ *pulumi.OutputState }

func (AssociationMapOutput) ElementType

func (AssociationMapOutput) ElementType() reflect.Type

func (AssociationMapOutput) MapIndex

func (AssociationMapOutput) ToAssociationMapOutput

func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput

func (AssociationMapOutput) ToAssociationMapOutputWithContext

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

type AssociationOutput

type AssociationOutput struct{ *pulumi.OutputState }

func (AssociationOutput) ElementType

func (AssociationOutput) ElementType() reflect.Type

func (AssociationOutput) ToAssociationOutput

func (o AssociationOutput) ToAssociationOutput() AssociationOutput

func (AssociationOutput) ToAssociationOutputWithContext

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

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"`
	// The S3 bucket region.
	S3Region *string `pulumi:"s3Region"`
}

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"`
	// The S3 bucket region.
	S3Region pulumi.StringPtrInput `pulumi:"s3Region"`
}

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) S3Region added in v4.30.0

The S3 bucket region.

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) S3Region added in v4.30.0

The S3 bucket region.

func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput

func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput

func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext

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

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. This should be set to the SSM document `parameter` that will define how your automation will branch out.
	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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// 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. Not all document types support a schema version of 2.0 or greater. Refer to [SSM document schema features and examples](https://docs.aws.amazon.com/systems-manager/latest/userguide/document-schemas-features.html) for information about which schema versions are supported for the respective `documentType`.

## Example Usage ### Create an ssm document in JSON format

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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
	})
}

``` ### Create an ssm document in YAML format

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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", "schemaVersion: '1.2'\n", "description: Check ip configuration of a Linux instance.\n", "parameters: {}\n", "runtimeConfig:\n", "  'aws:runShellScript':\n", "    properties:\n", "      - id: '0.aws:runShellScript'\n", "        runCommand:\n", "          - ifconfig\n", "\n")),
			DocumentFormat: pulumi.String("YAML"),
			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

func (*Document) ElementType() reflect.Type

func (*Document) ToDocumentOutput

func (i *Document) ToDocumentOutput() DocumentOutput

func (*Document) ToDocumentOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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

type DocumentArray []DocumentInput

func (DocumentArray) ElementType

func (DocumentArray) ElementType() reflect.Type

func (DocumentArray) ToDocumentArrayOutput

func (i DocumentArray) ToDocumentArrayOutput() DocumentArrayOutput

func (DocumentArray) ToDocumentArrayOutputWithContext

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

type DocumentArrayInput

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

type DocumentArrayOutput struct{ *pulumi.OutputState }

func (DocumentArrayOutput) ElementType

func (DocumentArrayOutput) ElementType() reflect.Type

func (DocumentArrayOutput) Index

func (DocumentArrayOutput) ToDocumentArrayOutput

func (o DocumentArrayOutput) ToDocumentArrayOutput() DocumentArrayOutput

func (DocumentArrayOutput) ToDocumentArrayOutputWithContext

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

type DocumentInput interface {
	pulumi.Input

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

type DocumentMap

type DocumentMap map[string]DocumentInput

func (DocumentMap) ElementType

func (DocumentMap) ElementType() reflect.Type

func (DocumentMap) ToDocumentMapOutput

func (i DocumentMap) ToDocumentMapOutput() DocumentMapOutput

func (DocumentMap) ToDocumentMapOutputWithContext

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

type DocumentMapInput

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

type DocumentMapOutput struct{ *pulumi.OutputState }

func (DocumentMapOutput) ElementType

func (DocumentMapOutput) ElementType() reflect.Type

func (DocumentMapOutput) MapIndex

func (DocumentMapOutput) ToDocumentMapOutput

func (o DocumentMapOutput) ToDocumentMapOutput() DocumentMapOutput

func (DocumentMapOutput) ToDocumentMapOutputWithContext

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

type DocumentOutput

type DocumentOutput struct{ *pulumi.OutputState }

func (DocumentOutput) ElementType

func (DocumentOutput) ElementType() reflect.Type

func (DocumentOutput) ToDocumentOutput

func (o DocumentOutput) ToDocumentOutput() DocumentOutput

func (DocumentOutput) ToDocumentOutputWithContext

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

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 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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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 GetParametersByPathArgs added in v4.23.0

type GetParametersByPathArgs struct {
	// The prefix path of the parameter.
	Path string `pulumi:"path"`
	// Whether to recursively return parameters under `path`. Defaults to `false`.
	Recursive *bool `pulumi:"recursive"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	WithDecryption *bool `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParametersByPath.

type GetParametersByPathOutputArgs added in v4.23.0

type GetParametersByPathOutputArgs struct {
	// The prefix path of the parameter.
	Path pulumi.StringInput `pulumi:"path"`
	// Whether to recursively return parameters under `path`. Defaults to `false`.
	Recursive pulumi.BoolPtrInput `pulumi:"recursive"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	WithDecryption pulumi.BoolPtrInput `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParametersByPath.

func (GetParametersByPathOutputArgs) ElementType added in v4.23.0

type GetParametersByPathResult added in v4.23.0

type GetParametersByPathResult struct {
	Arns []string `pulumi:"arns"`
	// The provider-assigned unique ID for this managed resource.
	Id             string   `pulumi:"id"`
	Names          []string `pulumi:"names"`
	Path           string   `pulumi:"path"`
	Recursive      *bool    `pulumi:"recursive"`
	Types          []string `pulumi:"types"`
	Values         []string `pulumi:"values"`
	WithDecryption *bool    `pulumi:"withDecryption"`
}

A collection of values returned by getParametersByPath.

func GetParametersByPath added in v4.23.0

func GetParametersByPath(ctx *pulumi.Context, args *GetParametersByPathArgs, opts ...pulumi.InvokeOption) (*GetParametersByPathResult, error)

type GetParametersByPathResultOutput added in v4.23.0

type GetParametersByPathResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParametersByPath.

func GetParametersByPathOutput added in v4.23.0

func (GetParametersByPathResultOutput) Arns added in v4.23.0

func (GetParametersByPathResultOutput) ElementType added in v4.23.0

func (GetParametersByPathResultOutput) Id added in v4.23.0

The provider-assigned unique ID for this managed resource.

func (GetParametersByPathResultOutput) Names added in v4.23.0

func (GetParametersByPathResultOutput) Path added in v4.23.0

func (GetParametersByPathResultOutput) Recursive added in v4.34.0

func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutput added in v4.23.0

func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutput() GetParametersByPathResultOutput

func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext added in v4.23.0

func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext(ctx context.Context) GetParametersByPathResultOutput

func (GetParametersByPathResultOutput) Types added in v4.23.0

func (GetParametersByPathResultOutput) Values added in v4.23.0

func (GetParametersByPathResultOutput) WithDecryption added in v4.23.0

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 LookupDocumentOutputArgs added in v4.21.0

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

A collection of arguments for invoking getDocument.

func (LookupDocumentOutputArgs) ElementType added in v4.21.0

func (LookupDocumentOutputArgs) ElementType() reflect.Type

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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := ssm.LookupDocument(ctx, &ssm.LookupDocumentArgs{
			Name:           "AWS-GatherSoftwareInventory",
			DocumentFormat: pulumi.StringRef("YAML"),
		}, 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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type LookupDocumentResultOutput added in v4.21.0

type LookupDocumentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDocument.

func LookupDocumentOutput added in v4.21.0

func LookupDocumentOutput(ctx *pulumi.Context, args LookupDocumentOutputArgs, opts ...pulumi.InvokeOption) LookupDocumentResultOutput

func (LookupDocumentResultOutput) Arn added in v4.21.0

The ARN of the document.

func (LookupDocumentResultOutput) Content added in v4.21.0

The contents of the document.

func (LookupDocumentResultOutput) DocumentFormat added in v4.21.0

func (LookupDocumentResultOutput) DocumentType added in v4.21.0

The type of the document.

func (LookupDocumentResultOutput) DocumentVersion added in v4.21.0

func (LookupDocumentResultOutput) ElementType added in v4.21.0

func (LookupDocumentResultOutput) ElementType() reflect.Type

func (LookupDocumentResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (LookupDocumentResultOutput) Name added in v4.21.0

func (LookupDocumentResultOutput) ToLookupDocumentResultOutput added in v4.21.0

func (o LookupDocumentResultOutput) ToLookupDocumentResultOutput() LookupDocumentResultOutput

func (LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext added in v4.21.0

func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx context.Context) LookupDocumentResultOutput

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 LookupParameterOutputArgs added in v4.21.0

type LookupParameterOutputArgs struct {
	// The name of the parameter.
	Name pulumi.StringInput `pulumi:"name"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	WithDecryption pulumi.BoolPtrInput `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParameter.

func (LookupParameterOutputArgs) ElementType added in v4.21.0

func (LookupParameterOutputArgs) ElementType() reflect.Type

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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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 LookupParameterResultOutput added in v4.21.0

type LookupParameterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameter.

func LookupParameterOutput added in v4.21.0

func (LookupParameterResultOutput) Arn added in v4.21.0

func (LookupParameterResultOutput) ElementType added in v4.21.0

func (LookupParameterResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (LookupParameterResultOutput) Name added in v4.21.0

func (LookupParameterResultOutput) ToLookupParameterResultOutput added in v4.21.0

func (o LookupParameterResultOutput) ToLookupParameterResultOutput() LookupParameterResultOutput

func (LookupParameterResultOutput) ToLookupParameterResultOutputWithContext added in v4.21.0

func (o LookupParameterResultOutput) ToLookupParameterResultOutputWithContext(ctx context.Context) LookupParameterResultOutput

func (LookupParameterResultOutput) Type added in v4.21.0

func (LookupParameterResultOutput) Value added in v4.21.0

func (LookupParameterResultOutput) Version added in v4.21.0

func (LookupParameterResultOutput) WithDecryption added in v4.21.0

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 LookupPatchBaselineOutputArgs added in v4.21.0

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

A collection of arguments for invoking getPatchBaseline.

func (LookupPatchBaselineOutputArgs) ElementType added in v4.21.0

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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.LookupPatchBaseline(ctx, &ssm.LookupPatchBaselineArgs{
			NamePrefix:      pulumi.StringRef("AWS-"),
			OperatingSystem: pulumi.StringRef("CENTOS"),
			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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type LookupPatchBaselineResultOutput added in v4.21.0

type LookupPatchBaselineResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPatchBaseline.

func LookupPatchBaselineOutput added in v4.21.0

func (LookupPatchBaselineResultOutput) DefaultBaseline added in v4.21.0

func (LookupPatchBaselineResultOutput) Description added in v4.21.0

The description of the baseline.

func (LookupPatchBaselineResultOutput) ElementType added in v4.21.0

func (LookupPatchBaselineResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (LookupPatchBaselineResultOutput) Name added in v4.21.0

The name of the baseline.

func (LookupPatchBaselineResultOutput) NamePrefix added in v4.21.0

func (LookupPatchBaselineResultOutput) OperatingSystem added in v4.21.0

func (LookupPatchBaselineResultOutput) Owner added in v4.21.0

func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput added in v4.21.0

func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput() LookupPatchBaselineResultOutput

func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext added in v4.21.0

func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext(ctx context.Context) LookupPatchBaselineResultOutput

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an SSM Maintenance Window resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a MaintenanceWindow resource.

func (MaintenanceWindowArgs) ElementType

func (MaintenanceWindowArgs) ElementType() reflect.Type

type MaintenanceWindowArray

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext

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

type MaintenanceWindowArrayInput

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

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType

func (MaintenanceWindowArrayOutput) Index

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext

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

type MaintenanceWindowInput

type MaintenanceWindowInput interface {
	pulumi.Input

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

type MaintenanceWindowMap

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext

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

type MaintenanceWindowMapInput

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

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext

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

type MaintenanceWindowOutput

type MaintenanceWindowOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowOutput) ElementType

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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

func (*MaintenanceWindowTarget) ElementType() reflect.Type

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput

func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput

func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutputWithContext

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

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

type MaintenanceWindowTargetArray []MaintenanceWindowTargetInput

func (MaintenanceWindowTargetArray) ElementType

func (MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutput

func (i MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput

func (MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutputWithContext

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

type MaintenanceWindowTargetArrayInput

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

type MaintenanceWindowTargetArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetArrayOutput) ElementType

func (MaintenanceWindowTargetArrayOutput) Index

func (MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutput

func (o MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput

func (MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutputWithContext

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

type MaintenanceWindowTargetInput

type MaintenanceWindowTargetInput interface {
	pulumi.Input

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

type MaintenanceWindowTargetMap

type MaintenanceWindowTargetMap map[string]MaintenanceWindowTargetInput

func (MaintenanceWindowTargetMap) ElementType

func (MaintenanceWindowTargetMap) ElementType() reflect.Type

func (MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutput

func (i MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput

func (MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutputWithContext

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

type MaintenanceWindowTargetMapInput

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

type MaintenanceWindowTargetMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetMapOutput) ElementType

func (MaintenanceWindowTargetMapOutput) MapIndex

func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput

func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput

func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext

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

type MaintenanceWindowTargetOutput

type MaintenanceWindowTargetOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTargetOutput) ElementType

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext

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

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 ### Automation Tasks

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{
			MaxConcurrency: pulumi.String("2"),
			MaxErrors:      pulumi.String("1"),
			Priority:       pulumi.Int(1),
			TaskArn:        pulumi.String("AWS-RestartEC2Instance"),
			TaskType:       pulumi.String("AUTOMATION"),
			WindowId:       pulumi.Any(aws_ssm_maintenance_window.Example.Id),
			Targets: ssm.MaintenanceWindowTaskTargetArray{
				&ssm.MaintenanceWindowTaskTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.Any(aws_instance.Example.Id),
					},
				},
			},
			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
				AutomationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{
					DocumentVersion: pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")),
					Parameters: ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray{
						&ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs{
							Name: pulumi.String("InstanceId"),
							Values: pulumi.StringArray{
								pulumi.Any(aws_instance.Example.Id),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Run Command Tasks

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{
			MaxConcurrency: pulumi.String("2"),
			MaxErrors:      pulumi.String("1"),
			Priority:       pulumi.Int(1),
			TaskArn:        pulumi.String("AWS-RunShellScript"),
			TaskType:       pulumi.String("RUN_COMMAND"),
			WindowId:       pulumi.Any(aws_ssm_maintenance_window.Example.Id),
			Targets: ssm.MaintenanceWindowTaskTargetArray{
				&ssm.MaintenanceWindowTaskTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.Any(aws_instance.Example.Id),
					},
				},
			},
			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
				RunCommandParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs{
					OutputS3Bucket:    pulumi.Any(aws_s3_bucket.Example.Bucket),
					OutputS3KeyPrefix: pulumi.String("output"),
					ServiceRoleArn:    pulumi.Any(aws_iam_role.Example.Arn),
					TimeoutSeconds:    pulumi.Int(600),
					NotificationConfig: &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs{
						NotificationArn: pulumi.Any(aws_sns_topic.Example.Arn),
						NotificationEvents: pulumi.StringArray{
							pulumi.String("All"),
						},
						NotificationType: pulumi.String("Command"),
					},
					Parameters: ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray{
						&ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs{
							Name: pulumi.String("commands"),
							Values: pulumi.StringArray{
								pulumi.String("date"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Step Function Tasks

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{
			MaxConcurrency: pulumi.String("2"),
			MaxErrors:      pulumi.String("1"),
			Priority:       pulumi.Int(1),
			TaskArn:        pulumi.Any(aws_sfn_activity.Example.Id),
			TaskType:       pulumi.String("STEP_FUNCTIONS"),
			WindowId:       pulumi.Any(aws_ssm_maintenance_window.Example.Id),
			Targets: ssm.MaintenanceWindowTaskTargetArray{
				&ssm.MaintenanceWindowTaskTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.Any(aws_instance.Example.Id),
					},
				},
			},
			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
				StepFunctionsParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs{
					Input: pulumi.String("{\"key1\":\"value1\"}"),
					Name:  pulumi.String("example"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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

func (*MaintenanceWindowTask) ElementType() reflect.Type

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutput

func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput

func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutputWithContext

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

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

type MaintenanceWindowTaskArray []MaintenanceWindowTaskInput

func (MaintenanceWindowTaskArray) ElementType

func (MaintenanceWindowTaskArray) ElementType() reflect.Type

func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput

func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput

func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext

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

type MaintenanceWindowTaskArrayInput

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

type MaintenanceWindowTaskArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskArrayOutput) ElementType

func (MaintenanceWindowTaskArrayOutput) Index

func (MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutput

func (o MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput

func (MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutputWithContext

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

type MaintenanceWindowTaskInput

type MaintenanceWindowTaskInput interface {
	pulumi.Input

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

type MaintenanceWindowTaskMap

type MaintenanceWindowTaskMap map[string]MaintenanceWindowTaskInput

func (MaintenanceWindowTaskMap) ElementType

func (MaintenanceWindowTaskMap) ElementType() reflect.Type

func (MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutput

func (i MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput

func (MaintenanceWindowTaskMap) ToMaintenanceWindowTaskMapOutputWithContext

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

type MaintenanceWindowTaskMapInput

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

type MaintenanceWindowTaskMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskMapOutput) ElementType

func (MaintenanceWindowTaskMapOutput) MapIndex

func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput

func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput

func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext

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

type MaintenanceWindowTaskOutput

type MaintenanceWindowTaskOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskOutput) ElementType

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext

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

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

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

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

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput

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

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchLogGroupName

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

Enables Systems Manager to send command output to CloudWatch Logs.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput

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

type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchLogGroupName

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

Enables Systems Manager to send command output to CloudWatch Logs.

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ElementType

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput

func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext

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

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

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

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// 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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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/v4/go/aws/rds"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Parameter) ElementType() reflect.Type

func (*Parameter) ToParameterOutput

func (i *Parameter) ToParameterOutput() ParameterOutput

func (*Parameter) ToParameterOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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

type ParameterArray []ParameterInput

func (ParameterArray) ElementType

func (ParameterArray) ElementType() reflect.Type

func (ParameterArray) ToParameterArrayOutput

func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArray) ToParameterArrayOutputWithContext

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

type ParameterArrayInput

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

type ParameterArrayOutput struct{ *pulumi.OutputState }

func (ParameterArrayOutput) ElementType

func (ParameterArrayOutput) ElementType() reflect.Type

func (ParameterArrayOutput) Index

func (ParameterArrayOutput) ToParameterArrayOutput

func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput

func (ParameterArrayOutput) ToParameterArrayOutputWithContext

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

type ParameterInput

type ParameterInput interface {
	pulumi.Input

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

type ParameterMap

type ParameterMap map[string]ParameterInput

func (ParameterMap) ElementType

func (ParameterMap) ElementType() reflect.Type

func (ParameterMap) ToParameterMapOutput

func (i ParameterMap) ToParameterMapOutput() ParameterMapOutput

func (ParameterMap) ToParameterMapOutputWithContext

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

type ParameterMapInput

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

type ParameterMapOutput struct{ *pulumi.OutputState }

func (ParameterMapOutput) ElementType

func (ParameterMapOutput) ElementType() reflect.Type

func (ParameterMapOutput) MapIndex

func (ParameterMapOutput) ToParameterMapOutput

func (o ParameterMapOutput) ToParameterMapOutput() ParameterMapOutput

func (ParameterMapOutput) ToParameterMapOutputWithContext

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

type ParameterOutput

type ParameterOutput struct{ *pulumi.OutputState }

func (ParameterOutput) ElementType

func (ParameterOutput) ElementType() reflect.Type

func (ParameterOutput) ToParameterOutput

func (o ParameterOutput) ToParameterOutput() ParameterOutput

func (ParameterOutput) ToParameterOutputWithContext

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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

type ParameterType string

func (ParameterType) ElementType

func (ParameterType) ElementType() reflect.Type

func (ParameterType) ToParameterTypeOutput added in v4.13.0

func (e ParameterType) ToParameterTypeOutput() ParameterTypeOutput

func (ParameterType) ToParameterTypeOutputWithContext added in v4.13.0

func (e ParameterType) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput

func (ParameterType) ToParameterTypePtrOutput added in v4.13.0

func (e ParameterType) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterType) ToParameterTypePtrOutputWithContext added in v4.13.0

func (e ParameterType) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput

func (ParameterType) ToStringOutput

func (e ParameterType) ToStringOutput() pulumi.StringOutput

func (ParameterType) ToStringOutputWithContext

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

func (ParameterType) ToStringPtrOutput

func (e ParameterType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterType) ToStringPtrOutputWithContext

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

type ParameterTypeInput added in v4.13.0

type ParameterTypeInput interface {
	pulumi.Input

	ToParameterTypeOutput() ParameterTypeOutput
	ToParameterTypeOutputWithContext(context.Context) ParameterTypeOutput
}

ParameterTypeInput is an input type that accepts ParameterTypeArgs and ParameterTypeOutput values. You can construct a concrete instance of `ParameterTypeInput` via:

ParameterTypeArgs{...}

type ParameterTypeOutput added in v4.13.0

type ParameterTypeOutput struct{ *pulumi.OutputState }

func (ParameterTypeOutput) ElementType added in v4.13.0

func (ParameterTypeOutput) ElementType() reflect.Type

func (ParameterTypeOutput) ToParameterTypeOutput added in v4.13.0

func (o ParameterTypeOutput) ToParameterTypeOutput() ParameterTypeOutput

func (ParameterTypeOutput) ToParameterTypeOutputWithContext added in v4.13.0

func (o ParameterTypeOutput) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput

func (ParameterTypeOutput) ToParameterTypePtrOutput added in v4.13.0

func (o ParameterTypeOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterTypeOutput) ToParameterTypePtrOutputWithContext added in v4.13.0

func (o ParameterTypeOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput

func (ParameterTypeOutput) ToStringOutput added in v4.13.0

func (o ParameterTypeOutput) ToStringOutput() pulumi.StringOutput

func (ParameterTypeOutput) ToStringOutputWithContext added in v4.13.0

func (o ParameterTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ParameterTypeOutput) ToStringPtrOutput added in v4.13.0

func (o ParameterTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterTypeOutput) ToStringPtrOutputWithContext added in v4.13.0

func (o ParameterTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ParameterTypePtrInput added in v4.13.0

type ParameterTypePtrInput interface {
	pulumi.Input

	ToParameterTypePtrOutput() ParameterTypePtrOutput
	ToParameterTypePtrOutputWithContext(context.Context) ParameterTypePtrOutput
}

func ParameterTypePtr added in v4.13.0

func ParameterTypePtr(v string) ParameterTypePtrInput

type ParameterTypePtrOutput added in v4.13.0

type ParameterTypePtrOutput struct{ *pulumi.OutputState }

func (ParameterTypePtrOutput) Elem added in v4.13.0

func (ParameterTypePtrOutput) ElementType added in v4.13.0

func (ParameterTypePtrOutput) ElementType() reflect.Type

func (ParameterTypePtrOutput) ToParameterTypePtrOutput added in v4.13.0

func (o ParameterTypePtrOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext added in v4.13.0

func (o ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput

func (ParameterTypePtrOutput) ToStringPtrOutput added in v4.13.0

func (o ParameterTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterTypePtrOutput) ToStringPtrOutputWithContext added in v4.13.0

func (o ParameterTypePtrOutput) 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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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

func (*PatchBaseline) ElementType() reflect.Type

func (*PatchBaseline) ToPatchBaselineOutput

func (i *PatchBaseline) ToPatchBaselineOutput() PatchBaselineOutput

func (*PatchBaseline) ToPatchBaselineOutputWithContext

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

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

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a PatchBaseline resource.

func (PatchBaselineArgs) ElementType

func (PatchBaselineArgs) ElementType() reflect.Type

type PatchBaselineArray

type PatchBaselineArray []PatchBaselineInput

func (PatchBaselineArray) ElementType

func (PatchBaselineArray) ElementType() reflect.Type

func (PatchBaselineArray) ToPatchBaselineArrayOutput

func (i PatchBaselineArray) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArray) ToPatchBaselineArrayOutputWithContext

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

type PatchBaselineArrayInput

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

type PatchBaselineArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineArrayOutput) ElementType

func (PatchBaselineArrayOutput) ElementType() reflect.Type

func (PatchBaselineArrayOutput) Index

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutput

func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput

func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext

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

type PatchBaselineInput interface {
	pulumi.Input

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

type PatchBaselineMap

type PatchBaselineMap map[string]PatchBaselineInput

func (PatchBaselineMap) ElementType

func (PatchBaselineMap) ElementType() reflect.Type

func (PatchBaselineMap) ToPatchBaselineMapOutput

func (i PatchBaselineMap) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMap) ToPatchBaselineMapOutputWithContext

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

type PatchBaselineMapInput

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

type PatchBaselineMapOutput struct{ *pulumi.OutputState }

func (PatchBaselineMapOutput) ElementType

func (PatchBaselineMapOutput) ElementType() reflect.Type

func (PatchBaselineMapOutput) MapIndex

func (PatchBaselineMapOutput) ToPatchBaselineMapOutput

func (o PatchBaselineMapOutput) ToPatchBaselineMapOutput() PatchBaselineMapOutput

func (PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext

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

type PatchBaselineOutput

type PatchBaselineOutput struct{ *pulumi.OutputState }

func (PatchBaselineOutput) ElementType

func (PatchBaselineOutput) ElementType() reflect.Type

func (PatchBaselineOutput) ToPatchBaselineOutput

func (o PatchBaselineOutput) ToPatchBaselineOutput() PatchBaselineOutput

func (PatchBaselineOutput) ToPatchBaselineOutputWithContext

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

type PatchBaselineSource

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

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

func (PatchBaselineSourceArgs) ElementType() reflect.Type

func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutput

func (i PatchBaselineSourceArgs) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput

func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutputWithContext

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

type PatchBaselineSourceArray

type PatchBaselineSourceArray []PatchBaselineSourceInput

func (PatchBaselineSourceArray) ElementType

func (PatchBaselineSourceArray) ElementType() reflect.Type

func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput

func (i PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput

func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutputWithContext

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

type PatchBaselineSourceArrayInput

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

type PatchBaselineSourceArrayOutput struct{ *pulumi.OutputState }

func (PatchBaselineSourceArrayOutput) ElementType

func (PatchBaselineSourceArrayOutput) Index

func (PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutput

func (o PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput

func (PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutputWithContext

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

type PatchBaselineSourceInput

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

type PatchBaselineSourceOutput struct{ *pulumi.OutputState }

func (PatchBaselineSourceOutput) Configuration

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

func (PatchBaselineSourceOutput) ElementType() reflect.Type

func (PatchBaselineSourceOutput) Name

The name specified to identify the patch source.

func (PatchBaselineSourceOutput) Products

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

func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput

func (PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext

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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll 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/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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

func (*PatchGroup) ElementType() reflect.Type

func (*PatchGroup) ToPatchGroupOutput

func (i *PatchGroup) ToPatchGroupOutput() PatchGroupOutput

func (*PatchGroup) ToPatchGroupOutputWithContext

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

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

type PatchGroupArray []PatchGroupInput

func (PatchGroupArray) ElementType

func (PatchGroupArray) ElementType() reflect.Type

func (PatchGroupArray) ToPatchGroupArrayOutput

func (i PatchGroupArray) ToPatchGroupArrayOutput() PatchGroupArrayOutput

func (PatchGroupArray) ToPatchGroupArrayOutputWithContext

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

type PatchGroupArrayInput

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

type PatchGroupArrayOutput struct{ *pulumi.OutputState }

func (PatchGroupArrayOutput) ElementType

func (PatchGroupArrayOutput) ElementType() reflect.Type

func (PatchGroupArrayOutput) Index

func (PatchGroupArrayOutput) ToPatchGroupArrayOutput

func (o PatchGroupArrayOutput) ToPatchGroupArrayOutput() PatchGroupArrayOutput

func (PatchGroupArrayOutput) ToPatchGroupArrayOutputWithContext

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

type PatchGroupInput

type PatchGroupInput interface {
	pulumi.Input

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

type PatchGroupMap

type PatchGroupMap map[string]PatchGroupInput

func (PatchGroupMap) ElementType

func (PatchGroupMap) ElementType() reflect.Type

func (PatchGroupMap) ToPatchGroupMapOutput

func (i PatchGroupMap) ToPatchGroupMapOutput() PatchGroupMapOutput

func (PatchGroupMap) ToPatchGroupMapOutputWithContext

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

type PatchGroupMapInput

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

type PatchGroupMapOutput struct{ *pulumi.OutputState }

func (PatchGroupMapOutput) ElementType

func (PatchGroupMapOutput) ElementType() reflect.Type

func (PatchGroupMapOutput) MapIndex

func (PatchGroupMapOutput) ToPatchGroupMapOutput

func (o PatchGroupMapOutput) ToPatchGroupMapOutput() PatchGroupMapOutput

func (PatchGroupMapOutput) ToPatchGroupMapOutputWithContext

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

type PatchGroupOutput

type PatchGroupOutput struct{ *pulumi.OutputState }

func (PatchGroupOutput) ElementType

func (PatchGroupOutput) ElementType() reflect.Type

func (PatchGroupOutput) ToPatchGroupOutput

func (o PatchGroupOutput) ToPatchGroupOutput() PatchGroupOutput

func (PatchGroupOutput) ToPatchGroupOutputWithContext

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

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/v4/go/aws/s3"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/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.Any(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

func (*ResourceDataSync) ElementType() reflect.Type

func (*ResourceDataSync) ToResourceDataSyncOutput

func (i *ResourceDataSync) ToResourceDataSyncOutput() ResourceDataSyncOutput

func (*ResourceDataSync) ToResourceDataSyncOutputWithContext

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

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

type ResourceDataSyncArray []ResourceDataSyncInput

func (ResourceDataSyncArray) ElementType

func (ResourceDataSyncArray) ElementType() reflect.Type

func (ResourceDataSyncArray) ToResourceDataSyncArrayOutput

func (i ResourceDataSyncArray) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput

func (ResourceDataSyncArray) ToResourceDataSyncArrayOutputWithContext

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

type ResourceDataSyncArrayInput

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

type ResourceDataSyncArrayOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncArrayOutput) ElementType

func (ResourceDataSyncArrayOutput) Index

func (ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutput

func (o ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput

func (ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutputWithContext

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

type ResourceDataSyncInput

type ResourceDataSyncInput interface {
	pulumi.Input

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

type ResourceDataSyncMap

type ResourceDataSyncMap map[string]ResourceDataSyncInput

func (ResourceDataSyncMap) ElementType

func (ResourceDataSyncMap) ElementType() reflect.Type

func (ResourceDataSyncMap) ToResourceDataSyncMapOutput

func (i ResourceDataSyncMap) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput

func (ResourceDataSyncMap) ToResourceDataSyncMapOutputWithContext

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

type ResourceDataSyncMapInput

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

type ResourceDataSyncMapOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncMapOutput) ElementType

func (ResourceDataSyncMapOutput) ElementType() reflect.Type

func (ResourceDataSyncMapOutput) MapIndex

func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput

func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput

func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext

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

type ResourceDataSyncOutput

type ResourceDataSyncOutput struct{ *pulumi.OutputState }

func (ResourceDataSyncOutput) ElementType

func (ResourceDataSyncOutput) ElementType() reflect.Type

func (ResourceDataSyncOutput) ToResourceDataSyncOutput

func (o ResourceDataSyncOutput) ToResourceDataSyncOutput() ResourceDataSyncOutput

func (ResourceDataSyncOutput) ToResourceDataSyncOutputWithContext

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

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