ssm

package
v5.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 5

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 `defaultTags` configuration block.
	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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"ssm.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{
			AssumeRolePolicy: *pulumi.String(assumeRole.Json),
		})
		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) ActivationCode added in v5.4.0

func (o ActivationOutput) ActivationCode() pulumi.StringOutput

The code the system generates when it processes the activation.

func (ActivationOutput) Description added in v5.4.0

func (o ActivationOutput) Description() pulumi.StringPtrOutput

The description of the resource that you want to register.

func (ActivationOutput) ElementType

func (ActivationOutput) ElementType() reflect.Type

func (ActivationOutput) ExpirationDate added in v5.4.0

func (o ActivationOutput) ExpirationDate() pulumi.StringOutput

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.

func (ActivationOutput) Expired added in v5.4.0

func (o ActivationOutput) Expired() pulumi.BoolOutput

If the current activation has expired.

func (ActivationOutput) IamRole added in v5.4.0

func (o ActivationOutput) IamRole() pulumi.StringOutput

The IAM Role to attach to the managed instance.

func (ActivationOutput) Name added in v5.4.0

The default name of the registered managed instance.

func (ActivationOutput) RegistrationCount added in v5.4.0

func (o ActivationOutput) RegistrationCount() pulumi.IntOutput

The number of managed instances that are currently registered using this activation.

func (ActivationOutput) RegistrationLimit added in v5.4.0

func (o ActivationOutput) RegistrationLimit() pulumi.IntPtrOutput

The maximum number of managed instances you want to register. The default value is 1 instance.

func (ActivationOutput) Tags added in v5.4.0

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.

func (ActivationOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

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 `defaultTags` configuration block.
	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 ARN of the SSM association
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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.
	//
	// Deprecated: use 'targets' argument instead. https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociation.html#systemsmanager-CreateAssociation-request-InstanceId
	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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html) that specifies when the association runs.
	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"`
	// The number of seconds to wait for the association status to be `Success`. If `Success` status is not reached within the given time, create opration will fail.
	//
	// Output Location (`outputLocation`) is an S3 bucket where you want to store the results of this association:
	WaitForSuccessTimeoutSeconds pulumi.IntPtrOutput `pulumi:"waitForSuccessTimeoutSeconds"`
}

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/v5/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{
						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/v5/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/v5/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
	})
}

``` ### Create an association with a specific schedule

This example shows how to schedule an association in various ways.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			ScheduleExpression: pulumi.String("cron(0 2 ? * SUN *)"),
			Targets: ssm.AssociationTargetArray{
				&ssm.AssociationTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						aws_instance.Example.Id,
					},
				},
			},
		})
		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.
	//
	// Deprecated: use 'targets' argument instead. https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociation.html#systemsmanager-CreateAssociation-request-InstanceId
	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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html) that specifies when the association runs.
	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 number of seconds to wait for the association status to be `Success`. If `Success` status is not reached within the given time, create opration will fail.
	//
	// Output Location (`outputLocation`) is an S3 bucket where you want to store the results of this association:
	WaitForSuccessTimeoutSeconds pulumi.IntPtrInput
}

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) ApplyOnlyAtCronInterval added in v5.4.0

func (o AssociationOutput) ApplyOnlyAtCronInterval() pulumi.BoolPtrOutput

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`.

func (AssociationOutput) Arn added in v5.4.0

The ARN of the SSM association

func (AssociationOutput) AssociationId added in v5.4.0

func (o AssociationOutput) AssociationId() pulumi.StringOutput

The ID of the SSM association.

func (AssociationOutput) AssociationName added in v5.4.0

func (o AssociationOutput) AssociationName() pulumi.StringPtrOutput

The descriptive name for the association.

func (AssociationOutput) AutomationTargetParameterName added in v5.4.0

func (o AssociationOutput) AutomationTargetParameterName() pulumi.StringPtrOutput

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.

func (AssociationOutput) ComplianceSeverity added in v5.4.0

func (o AssociationOutput) ComplianceSeverity() pulumi.StringPtrOutput

The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`

func (AssociationOutput) DocumentVersion added in v5.4.0

func (o AssociationOutput) DocumentVersion() pulumi.StringOutput

The document version you want to associate with the target(s). Can be a specific version or the default version.

func (AssociationOutput) ElementType

func (AssociationOutput) ElementType() reflect.Type

func (AssociationOutput) InstanceId deprecated added in v5.4.0

func (o AssociationOutput) InstanceId() pulumi.StringPtrOutput

The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.

Deprecated: use 'targets' argument instead. https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociation.html#systemsmanager-CreateAssociation-request-InstanceId

func (AssociationOutput) MaxConcurrency added in v5.4.0

func (o AssociationOutput) MaxConcurrency() pulumi.StringPtrOutput

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%.

func (AssociationOutput) MaxErrors added in v5.4.0

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%.

func (AssociationOutput) Name added in v5.4.0

The name of the SSM document to apply.

func (AssociationOutput) OutputLocation added in v5.4.0

An output location block. Output Location is documented below.

func (AssociationOutput) Parameters added in v5.4.0

func (o AssociationOutput) Parameters() pulumi.StringMapOutput

A block of arbitrary string parameters to pass to the SSM document.

func (AssociationOutput) ScheduleExpression added in v5.4.0

func (o AssociationOutput) ScheduleExpression() pulumi.StringPtrOutput

A [cron or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html) that specifies when the association runs.

func (AssociationOutput) Targets added in v5.4.0

A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.

func (AssociationOutput) ToAssociationOutput

func (o AssociationOutput) ToAssociationOutput() AssociationOutput

func (AssociationOutput) ToAssociationOutputWithContext

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

func (AssociationOutput) WaitForSuccessTimeoutSeconds added in v5.4.0

func (o AssociationOutput) WaitForSuccessTimeoutSeconds() pulumi.IntPtrOutput

The number of seconds to wait for the association status to be `Success`. If `Success` status is not reached within the given time, create opration will fail.

Output Location (`outputLocation`) is an S3 bucket where you want to store the results of this association:

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.
	//
	// Targets specify what instance IDs or tags to apply the document to and has these keys:
	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.
	//
	// Targets specify what instance IDs or tags to apply the document to and has these keys:
	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

The S3 bucket region.

Targets specify what instance IDs or tags to apply the document to and has these keys:

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

The S3 bucket region.

Targets specify what instance IDs or tags to apply the document to and has these keys:

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 ARN of the SSM association
	Arn pulumi.StringPtrInput
	// 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.
	//
	// Deprecated: use 'targets' argument instead. https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociation.html#systemsmanager-CreateAssociation-request-InstanceId
	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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html) that specifies when the association runs.
	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 number of seconds to wait for the association status to be `Success`. If `Success` status is not reached within the given time, create opration will fail.
	//
	// Output Location (`outputLocation`) is an S3 bucket where you want to store the results of this association:
	WaitForSuccessTimeoutSeconds pulumi.IntPtrInput
}

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 DefaultPatchBaseline added in v5.20.0

type DefaultPatchBaseline struct {
	pulumi.CustomResourceState

	// ID of the patch baseline.
	// Can be an ID or an ARN.
	// When specifying an AWS-provided patch baseline, must be the ARN.
	BaselineId pulumi.StringOutput `pulumi:"baselineId"`
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	OperatingSystem pulumi.StringOutput `pulumi:"operatingSystem"`
}

Resource for registering an AWS Systems Manager Default Patch Baseline.

## Example Usage ### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		examplePatchBaseline, err := ssm.NewPatchBaseline(ctx, "examplePatchBaseline", &ssm.PatchBaselineArgs{
			ApprovedPatches: pulumi.StringArray{
				pulumi.String("KB123456"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewDefaultPatchBaseline(ctx, "exampleDefaultPatchBaseline", &ssm.DefaultPatchBaselineArgs{
			BaselineId:      examplePatchBaseline.ID(),
			OperatingSystem: examplePatchBaseline.OperatingSystem,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The Systems Manager Default Patch Baseline can be imported using the patch baseline ID, patch baseline ARN, or the operating system value, e.g.,

```sh

$ pulumi import aws:ssm/defaultPatchBaseline:DefaultPatchBaseline example pb-1234567890abcdef1

```

```sh

$ pulumi import aws:ssm/defaultPatchBaseline:DefaultPatchBaseline example arn:aws:ssm:us-west-2:123456789012:patchbaseline/pb-1234567890abcdef1

```

```sh

$ pulumi import aws:ssm/defaultPatchBaseline:DefaultPatchBaseline example CENTOS

```

func GetDefaultPatchBaseline added in v5.20.0

func GetDefaultPatchBaseline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultPatchBaselineState, opts ...pulumi.ResourceOption) (*DefaultPatchBaseline, error)

GetDefaultPatchBaseline gets an existing DefaultPatchBaseline 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 NewDefaultPatchBaseline added in v5.20.0

func NewDefaultPatchBaseline(ctx *pulumi.Context,
	name string, args *DefaultPatchBaselineArgs, opts ...pulumi.ResourceOption) (*DefaultPatchBaseline, error)

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

func (*DefaultPatchBaseline) ElementType added in v5.20.0

func (*DefaultPatchBaseline) ElementType() reflect.Type

func (*DefaultPatchBaseline) ToDefaultPatchBaselineOutput added in v5.20.0

func (i *DefaultPatchBaseline) ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput

func (*DefaultPatchBaseline) ToDefaultPatchBaselineOutputWithContext added in v5.20.0

func (i *DefaultPatchBaseline) ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput

type DefaultPatchBaselineArgs added in v5.20.0

type DefaultPatchBaselineArgs struct {
	// ID of the patch baseline.
	// Can be an ID or an ARN.
	// When specifying an AWS-provided patch baseline, must be the ARN.
	BaselineId pulumi.StringInput
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	OperatingSystem pulumi.StringInput
}

The set of arguments for constructing a DefaultPatchBaseline resource.

func (DefaultPatchBaselineArgs) ElementType added in v5.20.0

func (DefaultPatchBaselineArgs) ElementType() reflect.Type

type DefaultPatchBaselineArray added in v5.20.0

type DefaultPatchBaselineArray []DefaultPatchBaselineInput

func (DefaultPatchBaselineArray) ElementType added in v5.20.0

func (DefaultPatchBaselineArray) ElementType() reflect.Type

func (DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutput added in v5.20.0

func (i DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput

func (DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutputWithContext added in v5.20.0

func (i DefaultPatchBaselineArray) ToDefaultPatchBaselineArrayOutputWithContext(ctx context.Context) DefaultPatchBaselineArrayOutput

type DefaultPatchBaselineArrayInput added in v5.20.0

type DefaultPatchBaselineArrayInput interface {
	pulumi.Input

	ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput
	ToDefaultPatchBaselineArrayOutputWithContext(context.Context) DefaultPatchBaselineArrayOutput
}

DefaultPatchBaselineArrayInput is an input type that accepts DefaultPatchBaselineArray and DefaultPatchBaselineArrayOutput values. You can construct a concrete instance of `DefaultPatchBaselineArrayInput` via:

DefaultPatchBaselineArray{ DefaultPatchBaselineArgs{...} }

type DefaultPatchBaselineArrayOutput added in v5.20.0

type DefaultPatchBaselineArrayOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineArrayOutput) ElementType added in v5.20.0

func (DefaultPatchBaselineArrayOutput) Index added in v5.20.0

func (DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutput added in v5.20.0

func (o DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutput() DefaultPatchBaselineArrayOutput

func (DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutputWithContext added in v5.20.0

func (o DefaultPatchBaselineArrayOutput) ToDefaultPatchBaselineArrayOutputWithContext(ctx context.Context) DefaultPatchBaselineArrayOutput

type DefaultPatchBaselineInput added in v5.20.0

type DefaultPatchBaselineInput interface {
	pulumi.Input

	ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput
	ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput
}

type DefaultPatchBaselineMap added in v5.20.0

type DefaultPatchBaselineMap map[string]DefaultPatchBaselineInput

func (DefaultPatchBaselineMap) ElementType added in v5.20.0

func (DefaultPatchBaselineMap) ElementType() reflect.Type

func (DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutput added in v5.20.0

func (i DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput

func (DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutputWithContext added in v5.20.0

func (i DefaultPatchBaselineMap) ToDefaultPatchBaselineMapOutputWithContext(ctx context.Context) DefaultPatchBaselineMapOutput

type DefaultPatchBaselineMapInput added in v5.20.0

type DefaultPatchBaselineMapInput interface {
	pulumi.Input

	ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput
	ToDefaultPatchBaselineMapOutputWithContext(context.Context) DefaultPatchBaselineMapOutput
}

DefaultPatchBaselineMapInput is an input type that accepts DefaultPatchBaselineMap and DefaultPatchBaselineMapOutput values. You can construct a concrete instance of `DefaultPatchBaselineMapInput` via:

DefaultPatchBaselineMap{ "key": DefaultPatchBaselineArgs{...} }

type DefaultPatchBaselineMapOutput added in v5.20.0

type DefaultPatchBaselineMapOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineMapOutput) ElementType added in v5.20.0

func (DefaultPatchBaselineMapOutput) MapIndex added in v5.20.0

func (DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutput added in v5.20.0

func (o DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutput() DefaultPatchBaselineMapOutput

func (DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutputWithContext added in v5.20.0

func (o DefaultPatchBaselineMapOutput) ToDefaultPatchBaselineMapOutputWithContext(ctx context.Context) DefaultPatchBaselineMapOutput

type DefaultPatchBaselineOutput added in v5.20.0

type DefaultPatchBaselineOutput struct{ *pulumi.OutputState }

func (DefaultPatchBaselineOutput) BaselineId added in v5.20.0

ID of the patch baseline. Can be an ID or an ARN. When specifying an AWS-provided patch baseline, must be the ARN.

func (DefaultPatchBaselineOutput) ElementType added in v5.20.0

func (DefaultPatchBaselineOutput) ElementType() reflect.Type

func (DefaultPatchBaselineOutput) OperatingSystem added in v5.20.0

func (o DefaultPatchBaselineOutput) OperatingSystem() pulumi.StringOutput

The operating system the patch baseline applies to. Valid values are `AMAZON_LINUX`, `AMAZON_LINUX_2`, `AMAZON_LINUX_2022`, `CENTOS`, `DEBIAN`, `MACOS`, `ORACLE_LINUX`, `RASPBIAN`, `REDHAT_ENTERPRISE_LINUX`, `ROCKY_LINUX`, `SUSE`, `UBUNTU`, and `WINDOWS`.

func (DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutput added in v5.20.0

func (o DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutput() DefaultPatchBaselineOutput

func (DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutputWithContext added in v5.20.0

func (o DefaultPatchBaselineOutput) ToDefaultPatchBaselineOutputWithContext(ctx context.Context) DefaultPatchBaselineOutput

type DefaultPatchBaselineState added in v5.20.0

type DefaultPatchBaselineState struct {
	// ID of the patch baseline.
	// Can be an ID or an ARN.
	// When specifying an AWS-provided patch baseline, must be the ARN.
	BaselineId pulumi.StringPtrInput
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	OperatingSystem pulumi.StringPtrInput
}

func (DefaultPatchBaselineState) ElementType added in v5.20.0

func (DefaultPatchBaselineState) ElementType() reflect.Type

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 `defaultTags` configuration block.
	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 (

"github.com/pulumi/pulumi-aws/sdk/v5/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(`  {
    "schemaVersion": "1.2",
    "description": "Check ip configuration of a Linux instance.",
    "parameters": {

    },
    "runtimeConfig": {
      "aws:runShellScript": {
        "properties": [
          {
            "id": "0.aws:runShellScript",
            "runCommand": ["ifconfig"]
          }
        ]
      }
    }
  }

`),

			DocumentType: pulumi.String("Command"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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(`schemaVersion: '1.2'

description: Check ip configuration of a Linux instance. parameters: {} runtimeConfig:

'aws:runShellScript':
  properties:
    - id: '0.aws:runShellScript'
      runCommand:
        - ifconfig

`),

			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) Arn added in v5.4.0

func (DocumentOutput) AttachmentsSources added in v5.4.0

One or more configuration blocks describing attachments sources to a version of a document. Defined below.

func (DocumentOutput) Content added in v5.4.0

func (o DocumentOutput) Content() pulumi.StringOutput

The JSON or YAML content of the document.

func (DocumentOutput) CreatedDate added in v5.4.0

func (o DocumentOutput) CreatedDate() pulumi.StringOutput

The date the document was created.

func (DocumentOutput) DefaultVersion added in v5.4.0

func (o DocumentOutput) DefaultVersion() pulumi.StringOutput

The default version of the document.

func (DocumentOutput) Description added in v5.4.0

func (o DocumentOutput) Description() pulumi.StringOutput

The description of the document.

func (DocumentOutput) DocumentFormat added in v5.4.0

func (o DocumentOutput) DocumentFormat() pulumi.StringPtrOutput

The format of the document. Valid document types include: `JSON` and `YAML`

func (DocumentOutput) DocumentType added in v5.4.0

func (o DocumentOutput) DocumentType() pulumi.StringOutput

The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session`

func (DocumentOutput) DocumentVersion added in v5.4.0

func (o DocumentOutput) DocumentVersion() pulumi.StringOutput

The document version.

func (DocumentOutput) ElementType

func (DocumentOutput) ElementType() reflect.Type

func (DocumentOutput) Hash added in v5.4.0

The sha1 or sha256 of the document content

func (DocumentOutput) HashType added in v5.4.0

func (o DocumentOutput) HashType() pulumi.StringOutput

"Sha1" "Sha256". The hashing algorithm used when hashing the content.

func (DocumentOutput) LatestVersion added in v5.4.0

func (o DocumentOutput) LatestVersion() pulumi.StringOutput

The latest version of the document.

func (DocumentOutput) Name added in v5.4.0

The name of the document.

func (DocumentOutput) Owner added in v5.4.0

The AWS user account of the person who created the document.

func (DocumentOutput) Parameters added in v5.4.0

The parameters that are available to this document.

func (DocumentOutput) Permissions added in v5.4.0

func (o DocumentOutput) Permissions() pulumi.StringMapOutput

Additional Permissions to attach to the document. See Permissions below for details.

func (DocumentOutput) PlatformTypes added in v5.4.0

func (o DocumentOutput) PlatformTypes() pulumi.StringArrayOutput

A list of OS platforms compatible with this SSM document, either "Windows" or "Linux".

func (DocumentOutput) SchemaVersion added in v5.4.0

func (o DocumentOutput) SchemaVersion() pulumi.StringOutput

The schema version of the document.

func (DocumentOutput) Status added in v5.4.0

func (o DocumentOutput) Status() pulumi.StringOutput

"Creating", "Active" or "Deleting". The current status of the document.

func (DocumentOutput) Tags added in v5.4.0

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.

func (DocumentOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (DocumentOutput) TargetType added in v5.4.0

func (o DocumentOutput) TargetType() pulumi.StringPtrOutput

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)

func (DocumentOutput) ToDocumentOutput

func (o DocumentOutput) ToDocumentOutput() DocumentOutput

func (DocumentOutput) ToDocumentOutputWithContext

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

func (DocumentOutput) VersionName added in v5.4.0

func (o DocumentOutput) VersionName() pulumi.StringPtrOutput

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.

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 `defaultTags` configuration block.
	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 GetInstancesArgs added in v5.1.0

type GetInstancesArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters []GetInstancesFilter `pulumi:"filters"`
}

A collection of arguments for invoking getInstances.

type GetInstancesFilter added in v5.1.0

type GetInstancesFilter struct {
	// Name of the filter field. Valid values can be found in the [SSM InstanceInformationStringFilter API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_InstanceInformationStringFilter.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values []string `pulumi:"values"`
}

type GetInstancesFilterArgs added in v5.1.0

type GetInstancesFilterArgs struct {
	// Name of the filter field. Valid values can be found in the [SSM InstanceInformationStringFilter API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_InstanceInformationStringFilter.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInstancesFilterArgs) ElementType added in v5.1.0

func (GetInstancesFilterArgs) ElementType() reflect.Type

func (GetInstancesFilterArgs) ToGetInstancesFilterOutput added in v5.1.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext added in v5.1.0

func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

type GetInstancesFilterArray added in v5.1.0

type GetInstancesFilterArray []GetInstancesFilterInput

func (GetInstancesFilterArray) ElementType added in v5.1.0

func (GetInstancesFilterArray) ElementType() reflect.Type

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput added in v5.1.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext added in v5.1.0

func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterArrayInput added in v5.1.0

type GetInstancesFilterArrayInput interface {
	pulumi.Input

	ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
	ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput
}

GetInstancesFilterArrayInput is an input type that accepts GetInstancesFilterArray and GetInstancesFilterArrayOutput values. You can construct a concrete instance of `GetInstancesFilterArrayInput` via:

GetInstancesFilterArray{ GetInstancesFilterArgs{...} }

type GetInstancesFilterArrayOutput added in v5.1.0

type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterArrayOutput) ElementType added in v5.1.0

func (GetInstancesFilterArrayOutput) Index added in v5.1.0

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput added in v5.1.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput

func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext added in v5.1.0

func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput

type GetInstancesFilterInput added in v5.1.0

type GetInstancesFilterInput interface {
	pulumi.Input

	ToGetInstancesFilterOutput() GetInstancesFilterOutput
	ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput
}

GetInstancesFilterInput is an input type that accepts GetInstancesFilterArgs and GetInstancesFilterOutput values. You can construct a concrete instance of `GetInstancesFilterInput` via:

GetInstancesFilterArgs{...}

type GetInstancesFilterOutput added in v5.1.0

type GetInstancesFilterOutput struct{ *pulumi.OutputState }

func (GetInstancesFilterOutput) ElementType added in v5.1.0

func (GetInstancesFilterOutput) ElementType() reflect.Type

func (GetInstancesFilterOutput) Name added in v5.1.0

Name of the filter field. Valid values can be found in the [SSM InstanceInformationStringFilter API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_InstanceInformationStringFilter.html).

func (GetInstancesFilterOutput) ToGetInstancesFilterOutput added in v5.1.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput

func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext added in v5.1.0

func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput

func (GetInstancesFilterOutput) Values added in v5.1.0

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

type GetInstancesOutputArgs added in v5.1.0

type GetInstancesOutputArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters GetInstancesFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType added in v5.1.0

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult added in v5.1.0

type GetInstancesResult struct {
	Filters []GetInstancesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Set of instance IDs of the matched SSM managed instances.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getInstances.

func GetInstances added in v5.1.0

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

Use this data source to get the instance IDs of SSM managed instances.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.GetInstances(ctx, &ssm.GetInstancesArgs{
			Filters: []ssm.GetInstancesFilter{
				{
					Name: "PlatformTypes",
					Values: []string{
						"Linux",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstancesResultOutput added in v5.1.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v5.1.0

func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v5.1.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Filters added in v5.1.0

func (GetInstancesResultOutput) Id added in v5.1.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids added in v5.1.0

Set of instance IDs of the matched SSM managed instances.

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v5.1.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v5.1.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetMaintenanceWindowsArgs added in v5.2.0

type GetMaintenanceWindowsArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters []GetMaintenanceWindowsFilter `pulumi:"filters"`
}

A collection of arguments for invoking getMaintenanceWindows.

type GetMaintenanceWindowsFilter added in v5.2.0

type GetMaintenanceWindowsFilter struct {
	// Name of the filter field. Valid values can be found in the [SSM DescribeMaintenanceWindows API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeMaintenanceWindows.html#API_DescribeMaintenanceWindows_RequestSyntax).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values []string `pulumi:"values"`
}

type GetMaintenanceWindowsFilterArgs added in v5.2.0

type GetMaintenanceWindowsFilterArgs struct {
	// Name of the filter field. Valid values can be found in the [SSM DescribeMaintenanceWindows API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeMaintenanceWindows.html#API_DescribeMaintenanceWindows_RequestSyntax).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetMaintenanceWindowsFilterArgs) ElementType added in v5.2.0

func (GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutput added in v5.2.0

func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput

func (GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutputWithContext added in v5.2.0

func (i GetMaintenanceWindowsFilterArgs) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput

type GetMaintenanceWindowsFilterArray added in v5.2.0

type GetMaintenanceWindowsFilterArray []GetMaintenanceWindowsFilterInput

func (GetMaintenanceWindowsFilterArray) ElementType added in v5.2.0

func (GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutput added in v5.2.0

func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput

func (GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutputWithContext added in v5.2.0

func (i GetMaintenanceWindowsFilterArray) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput

type GetMaintenanceWindowsFilterArrayInput added in v5.2.0

type GetMaintenanceWindowsFilterArrayInput interface {
	pulumi.Input

	ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput
	ToGetMaintenanceWindowsFilterArrayOutputWithContext(context.Context) GetMaintenanceWindowsFilterArrayOutput
}

GetMaintenanceWindowsFilterArrayInput is an input type that accepts GetMaintenanceWindowsFilterArray and GetMaintenanceWindowsFilterArrayOutput values. You can construct a concrete instance of `GetMaintenanceWindowsFilterArrayInput` via:

GetMaintenanceWindowsFilterArray{ GetMaintenanceWindowsFilterArgs{...} }

type GetMaintenanceWindowsFilterArrayOutput added in v5.2.0

type GetMaintenanceWindowsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetMaintenanceWindowsFilterArrayOutput) ElementType added in v5.2.0

func (GetMaintenanceWindowsFilterArrayOutput) Index added in v5.2.0

func (GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutput added in v5.2.0

func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutput() GetMaintenanceWindowsFilterArrayOutput

func (GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutputWithContext added in v5.2.0

func (o GetMaintenanceWindowsFilterArrayOutput) ToGetMaintenanceWindowsFilterArrayOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterArrayOutput

type GetMaintenanceWindowsFilterInput added in v5.2.0

type GetMaintenanceWindowsFilterInput interface {
	pulumi.Input

	ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput
	ToGetMaintenanceWindowsFilterOutputWithContext(context.Context) GetMaintenanceWindowsFilterOutput
}

GetMaintenanceWindowsFilterInput is an input type that accepts GetMaintenanceWindowsFilterArgs and GetMaintenanceWindowsFilterOutput values. You can construct a concrete instance of `GetMaintenanceWindowsFilterInput` via:

GetMaintenanceWindowsFilterArgs{...}

type GetMaintenanceWindowsFilterOutput added in v5.2.0

type GetMaintenanceWindowsFilterOutput struct{ *pulumi.OutputState }

func (GetMaintenanceWindowsFilterOutput) ElementType added in v5.2.0

func (GetMaintenanceWindowsFilterOutput) Name added in v5.2.0

Name of the filter field. Valid values can be found in the [SSM DescribeMaintenanceWindows API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeMaintenanceWindows.html#API_DescribeMaintenanceWindows_RequestSyntax).

func (GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutput added in v5.2.0

func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutput() GetMaintenanceWindowsFilterOutput

func (GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutputWithContext added in v5.2.0

func (o GetMaintenanceWindowsFilterOutput) ToGetMaintenanceWindowsFilterOutputWithContext(ctx context.Context) GetMaintenanceWindowsFilterOutput

func (GetMaintenanceWindowsFilterOutput) Values added in v5.2.0

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

type GetMaintenanceWindowsOutputArgs added in v5.2.0

type GetMaintenanceWindowsOutputArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters GetMaintenanceWindowsFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getMaintenanceWindows.

func (GetMaintenanceWindowsOutputArgs) ElementType added in v5.2.0

type GetMaintenanceWindowsResult added in v5.2.0

type GetMaintenanceWindowsResult struct {
	Filters []GetMaintenanceWindowsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of window IDs of the matched SSM maintenance windows.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getMaintenanceWindows.

func GetMaintenanceWindows added in v5.2.0

func GetMaintenanceWindows(ctx *pulumi.Context, args *GetMaintenanceWindowsArgs, opts ...pulumi.InvokeOption) (*GetMaintenanceWindowsResult, error)

Use this data source to get the window IDs of SSM maintenance windows.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.GetMaintenanceWindows(ctx, &ssm.GetMaintenanceWindowsArgs{
			Filters: []ssm.GetMaintenanceWindowsFilter{
				{
					Name: "Enabled",
					Values: []string{
						"true",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetMaintenanceWindowsResultOutput added in v5.2.0

type GetMaintenanceWindowsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMaintenanceWindows.

func GetMaintenanceWindowsOutput added in v5.2.0

func (GetMaintenanceWindowsResultOutput) ElementType added in v5.2.0

func (GetMaintenanceWindowsResultOutput) Filters added in v5.2.0

func (GetMaintenanceWindowsResultOutput) Id added in v5.2.0

The provider-assigned unique ID for this managed resource.

func (GetMaintenanceWindowsResultOutput) Ids added in v5.2.0

List of window IDs of the matched SSM maintenance windows.

func (GetMaintenanceWindowsResultOutput) ToGetMaintenanceWindowsResultOutput added in v5.2.0

func (o GetMaintenanceWindowsResultOutput) ToGetMaintenanceWindowsResultOutput() GetMaintenanceWindowsResultOutput

func (GetMaintenanceWindowsResultOutput) ToGetMaintenanceWindowsResultOutputWithContext added in v5.2.0

func (o GetMaintenanceWindowsResultOutput) ToGetMaintenanceWindowsResultOutputWithContext(ctx context.Context) GetMaintenanceWindowsResultOutput

type GetParametersByPathArgs

type GetParametersByPathArgs struct {
	// Prefix path of the parameter.
	Path string `pulumi:"path"`
	// Whether to recursively return parameters under `path`. Defaults to `false`.
	//
	// In addition to all arguments above, the following attributes are exported:
	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

type GetParametersByPathOutputArgs struct {
	// Prefix path of the parameter.
	Path pulumi.StringInput `pulumi:"path"`
	// Whether to recursively return parameters under `path`. Defaults to `false`.
	//
	// In addition to all arguments above, the following attributes are exported:
	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

type GetParametersByPathResult

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

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

Provides SSM Parameters by path.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.GetParametersByPath(ctx, &ssm.GetParametersByPathArgs{
			Path: "/foo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **Note:** The unencrypted value of a SecureString will be stored in the raw state as plain-text. **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. For type `StringList`, we can use the built-in split() function to get values in a list. Example: `split(",", data.aws_ssm_parameter.subnets.value)`

type GetParametersByPathResultOutput

type GetParametersByPathResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParametersByPath.

func (GetParametersByPathResultOutput) Arns

func (GetParametersByPathResultOutput) ElementType

func (GetParametersByPathResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetParametersByPathResultOutput) Names

func (GetParametersByPathResultOutput) Path

func (GetParametersByPathResultOutput) Recursive

func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutput

func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutput() GetParametersByPathResultOutput

func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext

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

func (GetParametersByPathResultOutput) Types

func (GetParametersByPathResultOutput) Values

func (GetParametersByPathResultOutput) WithDecryption

type GetPatchBaselineApprovalRule added in v5.5.0

type GetPatchBaselineApprovalRule 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.
	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"`
	// The compliance level for patches approved by this rule.
	ComplianceLevel string `pulumi:"complianceLevel"`
	// Boolean enabling the application of non-security updates.
	EnableNonSecurity bool `pulumi:"enableNonSecurity"`
	// The patch filter group that defines the criteria for the rule.
	PatchFilters []GetPatchBaselineApprovalRulePatchFilter `pulumi:"patchFilters"`
}

type GetPatchBaselineApprovalRuleArgs added in v5.5.0

type GetPatchBaselineApprovalRuleArgs 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.
	ApproveAfterDays pulumi.IntInput `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.StringInput `pulumi:"approveUntilDate"`
	// The compliance level for patches approved by this rule.
	ComplianceLevel pulumi.StringInput `pulumi:"complianceLevel"`
	// Boolean enabling the application of non-security updates.
	EnableNonSecurity pulumi.BoolInput `pulumi:"enableNonSecurity"`
	// The patch filter group that defines the criteria for the rule.
	PatchFilters GetPatchBaselineApprovalRulePatchFilterArrayInput `pulumi:"patchFilters"`
}

func (GetPatchBaselineApprovalRuleArgs) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRuleArgs) ToGetPatchBaselineApprovalRuleOutput added in v5.5.0

func (i GetPatchBaselineApprovalRuleArgs) ToGetPatchBaselineApprovalRuleOutput() GetPatchBaselineApprovalRuleOutput

func (GetPatchBaselineApprovalRuleArgs) ToGetPatchBaselineApprovalRuleOutputWithContext added in v5.5.0

func (i GetPatchBaselineApprovalRuleArgs) ToGetPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRuleOutput

type GetPatchBaselineApprovalRuleArray added in v5.5.0

type GetPatchBaselineApprovalRuleArray []GetPatchBaselineApprovalRuleInput

func (GetPatchBaselineApprovalRuleArray) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRuleArray) ToGetPatchBaselineApprovalRuleArrayOutput added in v5.5.0

func (i GetPatchBaselineApprovalRuleArray) ToGetPatchBaselineApprovalRuleArrayOutput() GetPatchBaselineApprovalRuleArrayOutput

func (GetPatchBaselineApprovalRuleArray) ToGetPatchBaselineApprovalRuleArrayOutputWithContext added in v5.5.0

func (i GetPatchBaselineApprovalRuleArray) ToGetPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRuleArrayOutput

type GetPatchBaselineApprovalRuleArrayInput added in v5.5.0

type GetPatchBaselineApprovalRuleArrayInput interface {
	pulumi.Input

	ToGetPatchBaselineApprovalRuleArrayOutput() GetPatchBaselineApprovalRuleArrayOutput
	ToGetPatchBaselineApprovalRuleArrayOutputWithContext(context.Context) GetPatchBaselineApprovalRuleArrayOutput
}

GetPatchBaselineApprovalRuleArrayInput is an input type that accepts GetPatchBaselineApprovalRuleArray and GetPatchBaselineApprovalRuleArrayOutput values. You can construct a concrete instance of `GetPatchBaselineApprovalRuleArrayInput` via:

GetPatchBaselineApprovalRuleArray{ GetPatchBaselineApprovalRuleArgs{...} }

type GetPatchBaselineApprovalRuleArrayOutput added in v5.5.0

type GetPatchBaselineApprovalRuleArrayOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineApprovalRuleArrayOutput) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRuleArrayOutput) Index added in v5.5.0

func (GetPatchBaselineApprovalRuleArrayOutput) ToGetPatchBaselineApprovalRuleArrayOutput added in v5.5.0

func (o GetPatchBaselineApprovalRuleArrayOutput) ToGetPatchBaselineApprovalRuleArrayOutput() GetPatchBaselineApprovalRuleArrayOutput

func (GetPatchBaselineApprovalRuleArrayOutput) ToGetPatchBaselineApprovalRuleArrayOutputWithContext added in v5.5.0

func (o GetPatchBaselineApprovalRuleArrayOutput) ToGetPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRuleArrayOutput

type GetPatchBaselineApprovalRuleInput added in v5.5.0

type GetPatchBaselineApprovalRuleInput interface {
	pulumi.Input

	ToGetPatchBaselineApprovalRuleOutput() GetPatchBaselineApprovalRuleOutput
	ToGetPatchBaselineApprovalRuleOutputWithContext(context.Context) GetPatchBaselineApprovalRuleOutput
}

GetPatchBaselineApprovalRuleInput is an input type that accepts GetPatchBaselineApprovalRuleArgs and GetPatchBaselineApprovalRuleOutput values. You can construct a concrete instance of `GetPatchBaselineApprovalRuleInput` via:

GetPatchBaselineApprovalRuleArgs{...}

type GetPatchBaselineApprovalRuleOutput added in v5.5.0

type GetPatchBaselineApprovalRuleOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineApprovalRuleOutput) ApproveAfterDays added in v5.5.0

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.

func (GetPatchBaselineApprovalRuleOutput) ApproveUntilDate added in v5.5.0

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

func (GetPatchBaselineApprovalRuleOutput) ComplianceLevel added in v5.5.0

The compliance level for patches approved by this rule.

func (GetPatchBaselineApprovalRuleOutput) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRuleOutput) EnableNonSecurity added in v5.5.0

Boolean enabling the application of non-security updates.

func (GetPatchBaselineApprovalRuleOutput) PatchFilters added in v5.5.0

The patch filter group that defines the criteria for the rule.

func (GetPatchBaselineApprovalRuleOutput) ToGetPatchBaselineApprovalRuleOutput added in v5.5.0

func (o GetPatchBaselineApprovalRuleOutput) ToGetPatchBaselineApprovalRuleOutput() GetPatchBaselineApprovalRuleOutput

func (GetPatchBaselineApprovalRuleOutput) ToGetPatchBaselineApprovalRuleOutputWithContext added in v5.5.0

func (o GetPatchBaselineApprovalRuleOutput) ToGetPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRuleOutput

type GetPatchBaselineApprovalRulePatchFilter added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilter struct {
	// The key for the filter.
	Key string `pulumi:"key"`
	// The value for the filter.
	Values []string `pulumi:"values"`
}

type GetPatchBaselineApprovalRulePatchFilterArgs added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterArgs struct {
	// The key for the filter.
	Key pulumi.StringInput `pulumi:"key"`
	// The value for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPatchBaselineApprovalRulePatchFilterArgs) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRulePatchFilterArgs) ToGetPatchBaselineApprovalRulePatchFilterOutput added in v5.5.0

func (i GetPatchBaselineApprovalRulePatchFilterArgs) ToGetPatchBaselineApprovalRulePatchFilterOutput() GetPatchBaselineApprovalRulePatchFilterOutput

func (GetPatchBaselineApprovalRulePatchFilterArgs) ToGetPatchBaselineApprovalRulePatchFilterOutputWithContext added in v5.5.0

func (i GetPatchBaselineApprovalRulePatchFilterArgs) ToGetPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRulePatchFilterOutput

type GetPatchBaselineApprovalRulePatchFilterArray added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterArray []GetPatchBaselineApprovalRulePatchFilterInput

func (GetPatchBaselineApprovalRulePatchFilterArray) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRulePatchFilterArray) ToGetPatchBaselineApprovalRulePatchFilterArrayOutput added in v5.5.0

func (i GetPatchBaselineApprovalRulePatchFilterArray) ToGetPatchBaselineApprovalRulePatchFilterArrayOutput() GetPatchBaselineApprovalRulePatchFilterArrayOutput

func (GetPatchBaselineApprovalRulePatchFilterArray) ToGetPatchBaselineApprovalRulePatchFilterArrayOutputWithContext added in v5.5.0

func (i GetPatchBaselineApprovalRulePatchFilterArray) ToGetPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRulePatchFilterArrayOutput

type GetPatchBaselineApprovalRulePatchFilterArrayInput added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterArrayInput interface {
	pulumi.Input

	ToGetPatchBaselineApprovalRulePatchFilterArrayOutput() GetPatchBaselineApprovalRulePatchFilterArrayOutput
	ToGetPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(context.Context) GetPatchBaselineApprovalRulePatchFilterArrayOutput
}

GetPatchBaselineApprovalRulePatchFilterArrayInput is an input type that accepts GetPatchBaselineApprovalRulePatchFilterArray and GetPatchBaselineApprovalRulePatchFilterArrayOutput values. You can construct a concrete instance of `GetPatchBaselineApprovalRulePatchFilterArrayInput` via:

GetPatchBaselineApprovalRulePatchFilterArray{ GetPatchBaselineApprovalRulePatchFilterArgs{...} }

type GetPatchBaselineApprovalRulePatchFilterArrayOutput added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineApprovalRulePatchFilterArrayOutput) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRulePatchFilterArrayOutput) Index added in v5.5.0

func (GetPatchBaselineApprovalRulePatchFilterArrayOutput) ToGetPatchBaselineApprovalRulePatchFilterArrayOutput added in v5.5.0

func (o GetPatchBaselineApprovalRulePatchFilterArrayOutput) ToGetPatchBaselineApprovalRulePatchFilterArrayOutput() GetPatchBaselineApprovalRulePatchFilterArrayOutput

func (GetPatchBaselineApprovalRulePatchFilterArrayOutput) ToGetPatchBaselineApprovalRulePatchFilterArrayOutputWithContext added in v5.5.0

func (o GetPatchBaselineApprovalRulePatchFilterArrayOutput) ToGetPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRulePatchFilterArrayOutput

type GetPatchBaselineApprovalRulePatchFilterInput added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterInput interface {
	pulumi.Input

	ToGetPatchBaselineApprovalRulePatchFilterOutput() GetPatchBaselineApprovalRulePatchFilterOutput
	ToGetPatchBaselineApprovalRulePatchFilterOutputWithContext(context.Context) GetPatchBaselineApprovalRulePatchFilterOutput
}

GetPatchBaselineApprovalRulePatchFilterInput is an input type that accepts GetPatchBaselineApprovalRulePatchFilterArgs and GetPatchBaselineApprovalRulePatchFilterOutput values. You can construct a concrete instance of `GetPatchBaselineApprovalRulePatchFilterInput` via:

GetPatchBaselineApprovalRulePatchFilterArgs{...}

type GetPatchBaselineApprovalRulePatchFilterOutput added in v5.5.0

type GetPatchBaselineApprovalRulePatchFilterOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineApprovalRulePatchFilterOutput) ElementType added in v5.5.0

func (GetPatchBaselineApprovalRulePatchFilterOutput) Key added in v5.5.0

The key for the filter.

func (GetPatchBaselineApprovalRulePatchFilterOutput) ToGetPatchBaselineApprovalRulePatchFilterOutput added in v5.5.0

func (o GetPatchBaselineApprovalRulePatchFilterOutput) ToGetPatchBaselineApprovalRulePatchFilterOutput() GetPatchBaselineApprovalRulePatchFilterOutput

func (GetPatchBaselineApprovalRulePatchFilterOutput) ToGetPatchBaselineApprovalRulePatchFilterOutputWithContext added in v5.5.0

func (o GetPatchBaselineApprovalRulePatchFilterOutput) ToGetPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) GetPatchBaselineApprovalRulePatchFilterOutput

func (GetPatchBaselineApprovalRulePatchFilterOutput) Values added in v5.5.0

The value for the filter.

type GetPatchBaselineGlobalFilter added in v5.5.0

type GetPatchBaselineGlobalFilter struct {
	// The key for the filter.
	Key string `pulumi:"key"`
	// The value for the filter.
	Values []string `pulumi:"values"`
}

type GetPatchBaselineGlobalFilterArgs added in v5.5.0

type GetPatchBaselineGlobalFilterArgs struct {
	// The key for the filter.
	Key pulumi.StringInput `pulumi:"key"`
	// The value for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPatchBaselineGlobalFilterArgs) ElementType added in v5.5.0

func (GetPatchBaselineGlobalFilterArgs) ToGetPatchBaselineGlobalFilterOutput added in v5.5.0

func (i GetPatchBaselineGlobalFilterArgs) ToGetPatchBaselineGlobalFilterOutput() GetPatchBaselineGlobalFilterOutput

func (GetPatchBaselineGlobalFilterArgs) ToGetPatchBaselineGlobalFilterOutputWithContext added in v5.5.0

func (i GetPatchBaselineGlobalFilterArgs) ToGetPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) GetPatchBaselineGlobalFilterOutput

type GetPatchBaselineGlobalFilterArray added in v5.5.0

type GetPatchBaselineGlobalFilterArray []GetPatchBaselineGlobalFilterInput

func (GetPatchBaselineGlobalFilterArray) ElementType added in v5.5.0

func (GetPatchBaselineGlobalFilterArray) ToGetPatchBaselineGlobalFilterArrayOutput added in v5.5.0

func (i GetPatchBaselineGlobalFilterArray) ToGetPatchBaselineGlobalFilterArrayOutput() GetPatchBaselineGlobalFilterArrayOutput

func (GetPatchBaselineGlobalFilterArray) ToGetPatchBaselineGlobalFilterArrayOutputWithContext added in v5.5.0

func (i GetPatchBaselineGlobalFilterArray) ToGetPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) GetPatchBaselineGlobalFilterArrayOutput

type GetPatchBaselineGlobalFilterArrayInput added in v5.5.0

type GetPatchBaselineGlobalFilterArrayInput interface {
	pulumi.Input

	ToGetPatchBaselineGlobalFilterArrayOutput() GetPatchBaselineGlobalFilterArrayOutput
	ToGetPatchBaselineGlobalFilterArrayOutputWithContext(context.Context) GetPatchBaselineGlobalFilterArrayOutput
}

GetPatchBaselineGlobalFilterArrayInput is an input type that accepts GetPatchBaselineGlobalFilterArray and GetPatchBaselineGlobalFilterArrayOutput values. You can construct a concrete instance of `GetPatchBaselineGlobalFilterArrayInput` via:

GetPatchBaselineGlobalFilterArray{ GetPatchBaselineGlobalFilterArgs{...} }

type GetPatchBaselineGlobalFilterArrayOutput added in v5.5.0

type GetPatchBaselineGlobalFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineGlobalFilterArrayOutput) ElementType added in v5.5.0

func (GetPatchBaselineGlobalFilterArrayOutput) Index added in v5.5.0

func (GetPatchBaselineGlobalFilterArrayOutput) ToGetPatchBaselineGlobalFilterArrayOutput added in v5.5.0

func (o GetPatchBaselineGlobalFilterArrayOutput) ToGetPatchBaselineGlobalFilterArrayOutput() GetPatchBaselineGlobalFilterArrayOutput

func (GetPatchBaselineGlobalFilterArrayOutput) ToGetPatchBaselineGlobalFilterArrayOutputWithContext added in v5.5.0

func (o GetPatchBaselineGlobalFilterArrayOutput) ToGetPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) GetPatchBaselineGlobalFilterArrayOutput

type GetPatchBaselineGlobalFilterInput added in v5.5.0

type GetPatchBaselineGlobalFilterInput interface {
	pulumi.Input

	ToGetPatchBaselineGlobalFilterOutput() GetPatchBaselineGlobalFilterOutput
	ToGetPatchBaselineGlobalFilterOutputWithContext(context.Context) GetPatchBaselineGlobalFilterOutput
}

GetPatchBaselineGlobalFilterInput is an input type that accepts GetPatchBaselineGlobalFilterArgs and GetPatchBaselineGlobalFilterOutput values. You can construct a concrete instance of `GetPatchBaselineGlobalFilterInput` via:

GetPatchBaselineGlobalFilterArgs{...}

type GetPatchBaselineGlobalFilterOutput added in v5.5.0

type GetPatchBaselineGlobalFilterOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineGlobalFilterOutput) ElementType added in v5.5.0

func (GetPatchBaselineGlobalFilterOutput) Key added in v5.5.0

The key for the filter.

func (GetPatchBaselineGlobalFilterOutput) ToGetPatchBaselineGlobalFilterOutput added in v5.5.0

func (o GetPatchBaselineGlobalFilterOutput) ToGetPatchBaselineGlobalFilterOutput() GetPatchBaselineGlobalFilterOutput

func (GetPatchBaselineGlobalFilterOutput) ToGetPatchBaselineGlobalFilterOutputWithContext added in v5.5.0

func (o GetPatchBaselineGlobalFilterOutput) ToGetPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) GetPatchBaselineGlobalFilterOutput

func (GetPatchBaselineGlobalFilterOutput) Values added in v5.5.0

The value for the filter.

type GetPatchBaselineSource added in v5.5.0

type GetPatchBaselineSource struct {
	// The value of the yum repo configuration.
	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.
	Products []string `pulumi:"products"`
}

type GetPatchBaselineSourceArgs added in v5.5.0

type GetPatchBaselineSourceArgs struct {
	// The value of the yum repo configuration.
	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.
	Products pulumi.StringArrayInput `pulumi:"products"`
}

func (GetPatchBaselineSourceArgs) ElementType added in v5.5.0

func (GetPatchBaselineSourceArgs) ElementType() reflect.Type

func (GetPatchBaselineSourceArgs) ToGetPatchBaselineSourceOutput added in v5.5.0

func (i GetPatchBaselineSourceArgs) ToGetPatchBaselineSourceOutput() GetPatchBaselineSourceOutput

func (GetPatchBaselineSourceArgs) ToGetPatchBaselineSourceOutputWithContext added in v5.5.0

func (i GetPatchBaselineSourceArgs) ToGetPatchBaselineSourceOutputWithContext(ctx context.Context) GetPatchBaselineSourceOutput

type GetPatchBaselineSourceArray added in v5.5.0

type GetPatchBaselineSourceArray []GetPatchBaselineSourceInput

func (GetPatchBaselineSourceArray) ElementType added in v5.5.0

func (GetPatchBaselineSourceArray) ToGetPatchBaselineSourceArrayOutput added in v5.5.0

func (i GetPatchBaselineSourceArray) ToGetPatchBaselineSourceArrayOutput() GetPatchBaselineSourceArrayOutput

func (GetPatchBaselineSourceArray) ToGetPatchBaselineSourceArrayOutputWithContext added in v5.5.0

func (i GetPatchBaselineSourceArray) ToGetPatchBaselineSourceArrayOutputWithContext(ctx context.Context) GetPatchBaselineSourceArrayOutput

type GetPatchBaselineSourceArrayInput added in v5.5.0

type GetPatchBaselineSourceArrayInput interface {
	pulumi.Input

	ToGetPatchBaselineSourceArrayOutput() GetPatchBaselineSourceArrayOutput
	ToGetPatchBaselineSourceArrayOutputWithContext(context.Context) GetPatchBaselineSourceArrayOutput
}

GetPatchBaselineSourceArrayInput is an input type that accepts GetPatchBaselineSourceArray and GetPatchBaselineSourceArrayOutput values. You can construct a concrete instance of `GetPatchBaselineSourceArrayInput` via:

GetPatchBaselineSourceArray{ GetPatchBaselineSourceArgs{...} }

type GetPatchBaselineSourceArrayOutput added in v5.5.0

type GetPatchBaselineSourceArrayOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineSourceArrayOutput) ElementType added in v5.5.0

func (GetPatchBaselineSourceArrayOutput) Index added in v5.5.0

func (GetPatchBaselineSourceArrayOutput) ToGetPatchBaselineSourceArrayOutput added in v5.5.0

func (o GetPatchBaselineSourceArrayOutput) ToGetPatchBaselineSourceArrayOutput() GetPatchBaselineSourceArrayOutput

func (GetPatchBaselineSourceArrayOutput) ToGetPatchBaselineSourceArrayOutputWithContext added in v5.5.0

func (o GetPatchBaselineSourceArrayOutput) ToGetPatchBaselineSourceArrayOutputWithContext(ctx context.Context) GetPatchBaselineSourceArrayOutput

type GetPatchBaselineSourceInput added in v5.5.0

type GetPatchBaselineSourceInput interface {
	pulumi.Input

	ToGetPatchBaselineSourceOutput() GetPatchBaselineSourceOutput
	ToGetPatchBaselineSourceOutputWithContext(context.Context) GetPatchBaselineSourceOutput
}

GetPatchBaselineSourceInput is an input type that accepts GetPatchBaselineSourceArgs and GetPatchBaselineSourceOutput values. You can construct a concrete instance of `GetPatchBaselineSourceInput` via:

GetPatchBaselineSourceArgs{...}

type GetPatchBaselineSourceOutput added in v5.5.0

type GetPatchBaselineSourceOutput struct{ *pulumi.OutputState }

func (GetPatchBaselineSourceOutput) Configuration added in v5.5.0

The value of the yum repo configuration.

func (GetPatchBaselineSourceOutput) ElementType added in v5.5.0

func (GetPatchBaselineSourceOutput) Name added in v5.5.0

The name specified to identify the patch source.

func (GetPatchBaselineSourceOutput) Products added in v5.5.0

The specific operating system versions a patch repository applies to.

func (GetPatchBaselineSourceOutput) ToGetPatchBaselineSourceOutput added in v5.5.0

func (o GetPatchBaselineSourceOutput) ToGetPatchBaselineSourceOutput() GetPatchBaselineSourceOutput

func (GetPatchBaselineSourceOutput) ToGetPatchBaselineSourceOutputWithContext added in v5.5.0

func (o GetPatchBaselineSourceOutput) ToGetPatchBaselineSourceOutputWithContext(ctx context.Context) GetPatchBaselineSourceOutput

type LookupDocumentArgs

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

A collection of arguments for invoking getDocument.

type LookupDocumentOutputArgs

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

A collection of arguments for invoking getDocument.

func (LookupDocumentOutputArgs) ElementType

func (LookupDocumentOutputArgs) ElementType() reflect.Type

type LookupDocumentResult

type LookupDocumentResult struct {
	// ARN of the document. If the document is an AWS managed document, this value will be set to the name of the document instead.
	Arn string `pulumi:"arn"`
	// Contents of the document.
	Content        string  `pulumi:"content"`
	DocumentFormat *string `pulumi:"documentFormat"`
	// 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/v5/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/v5/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

type LookupDocumentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDocument.

func (LookupDocumentResultOutput) Arn

ARN of the document. If the document is an AWS managed document, this value will be set to the name of the document instead.

func (LookupDocumentResultOutput) Content

Contents of the document.

func (LookupDocumentResultOutput) DocumentFormat

func (LookupDocumentResultOutput) DocumentType

Type of the document.

func (LookupDocumentResultOutput) DocumentVersion

func (LookupDocumentResultOutput) ElementType

func (LookupDocumentResultOutput) ElementType() reflect.Type

func (LookupDocumentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDocumentResultOutput) Name

func (LookupDocumentResultOutput) ToLookupDocumentResultOutput

func (o LookupDocumentResultOutput) ToLookupDocumentResultOutput() LookupDocumentResultOutput

func (LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext

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

type LookupParameterArgs

type LookupParameterArgs struct {
	// Name of the parameter.
	Name string `pulumi:"name"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	//
	// In addition to all arguments above, the following attributes are exported:
	WithDecryption *bool `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParameter.

type LookupParameterOutputArgs

type LookupParameterOutputArgs struct {
	// Name of the parameter.
	Name pulumi.StringInput `pulumi:"name"`
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	//
	// In addition to all arguments above, the following attributes are exported:
	WithDecryption pulumi.BoolPtrInput `pulumi:"withDecryption"`
}

A collection of arguments for invoking getParameter.

func (LookupParameterOutputArgs) ElementType

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/v5/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 unencrypted value of a SecureString will be stored in the raw state as plain-text.

type LookupParameterResultOutput

type LookupParameterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getParameter.

func (LookupParameterResultOutput) Arn

func (LookupParameterResultOutput) ElementType

func (LookupParameterResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupParameterResultOutput) Name

func (LookupParameterResultOutput) ToLookupParameterResultOutput

func (o LookupParameterResultOutput) ToLookupParameterResultOutput() LookupParameterResultOutput

func (LookupParameterResultOutput) ToLookupParameterResultOutputWithContext

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

func (LookupParameterResultOutput) Type

func (LookupParameterResultOutput) Value

func (LookupParameterResultOutput) Version

func (LookupParameterResultOutput) WithDecryption

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"`
	// Specified OS for the baseline. Valid values: `AMAZON_LINUX`, `AMAZON_LINUX_2`, `UBUNTU`, `REDHAT_ENTERPRISE_LINUX`, `SUSE`, `CENTOS`, `ORACLE_LINUX`, `DEBIAN`, `MACOS`, `RASPBIAN` and `ROCKY_LINUX`.
	OperatingSystem *string `pulumi:"operatingSystem"`
	// 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

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"`
	// Specified OS for the baseline. Valid values: `AMAZON_LINUX`, `AMAZON_LINUX_2`, `UBUNTU`, `REDHAT_ENTERPRISE_LINUX`, `SUSE`, `CENTOS`, `ORACLE_LINUX`, `DEBIAN`, `MACOS`, `RASPBIAN` and `ROCKY_LINUX`.
	OperatingSystem pulumi.StringPtrInput `pulumi:"operatingSystem"`
	// 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

type LookupPatchBaselineResult

type LookupPatchBaselineResult struct {
	// List of rules used to include patches in the baseline.
	ApprovalRules []GetPatchBaselineApprovalRule `pulumi:"approvalRules"`
	// List of explicitly approved patches for the baseline.
	ApprovedPatches []string `pulumi:"approvedPatches"`
	// The compliance level for approved patches.
	ApprovedPatchesComplianceLevel string `pulumi:"approvedPatchesComplianceLevel"`
	// Indicates whether the list of approved patches includes non-security updates that should be applied to the instances.
	ApprovedPatchesEnableNonSecurity bool  `pulumi:"approvedPatchesEnableNonSecurity"`
	DefaultBaseline                  *bool `pulumi:"defaultBaseline"`
	// Description of the baseline.
	Description string `pulumi:"description"`
	// Set of global filters used to exclude patches from the baseline.
	GlobalFilters []GetPatchBaselineGlobalFilter `pulumi:"globalFilters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name specified to identify the patch source.
	Name            string  `pulumi:"name"`
	NamePrefix      *string `pulumi:"namePrefix"`
	OperatingSystem *string `pulumi:"operatingSystem"`
	Owner           string  `pulumi:"owner"`
	// List of rejected patches.
	RejectedPatches []string `pulumi:"rejectedPatches"`
	// The action specified to take on patches included in the `rejectedPatches` list.
	RejectedPatchesAction string `pulumi:"rejectedPatchesAction"`
	// Information about the patches to use to update the managed nodes, including target operating systems and source repositories.
	Sources []GetPatchBaselineSource `pulumi:"sources"`
}

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/v5/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/v5/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

type LookupPatchBaselineResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPatchBaseline.

func (LookupPatchBaselineResultOutput) ApprovalRules added in v5.5.0

List of rules used to include patches in the baseline.

func (LookupPatchBaselineResultOutput) ApprovedPatches added in v5.5.0

List of explicitly approved patches for the baseline.

func (LookupPatchBaselineResultOutput) ApprovedPatchesComplianceLevel added in v5.5.0

func (o LookupPatchBaselineResultOutput) ApprovedPatchesComplianceLevel() pulumi.StringOutput

The compliance level for approved patches.

func (LookupPatchBaselineResultOutput) ApprovedPatchesEnableNonSecurity added in v5.5.0

func (o LookupPatchBaselineResultOutput) ApprovedPatchesEnableNonSecurity() pulumi.BoolOutput

Indicates whether the list of approved patches includes non-security updates that should be applied to the instances.

func (LookupPatchBaselineResultOutput) DefaultBaseline

func (LookupPatchBaselineResultOutput) Description

Description of the baseline.

func (LookupPatchBaselineResultOutput) ElementType

func (LookupPatchBaselineResultOutput) GlobalFilters added in v5.5.0

Set of global filters used to exclude patches from the baseline.

func (LookupPatchBaselineResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPatchBaselineResultOutput) Name

The name specified to identify the patch source.

func (LookupPatchBaselineResultOutput) NamePrefix

func (LookupPatchBaselineResultOutput) OperatingSystem

func (LookupPatchBaselineResultOutput) Owner

func (LookupPatchBaselineResultOutput) RejectedPatches added in v5.5.0

List of rejected patches.

func (LookupPatchBaselineResultOutput) RejectedPatchesAction added in v5.5.0

func (o LookupPatchBaselineResultOutput) RejectedPatchesAction() pulumi.StringOutput

The action specified to take on patches included in the `rejectedPatches` list.

func (LookupPatchBaselineResultOutput) Sources added in v5.5.0

Information about the patches to use to update the managed nodes, including target operating systems and source repositories.

func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput

func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput() LookupPatchBaselineResultOutput

func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext

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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).
	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 `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an SSM Maintenance Window resource

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).
	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) AllowUnassociatedTargets added in v5.4.0

func (o MaintenanceWindowOutput) AllowUnassociatedTargets() pulumi.BoolPtrOutput

Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

func (MaintenanceWindowOutput) Cutoff added in v5.4.0

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

func (MaintenanceWindowOutput) Description added in v5.4.0

A description for the maintenance window.

func (MaintenanceWindowOutput) Duration added in v5.4.0

The duration of the Maintenance Window in hours.

func (MaintenanceWindowOutput) ElementType

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) Enabled added in v5.4.0

Whether the maintenance window is enabled. Default: `true`.

func (MaintenanceWindowOutput) EndDate added in v5.4.0

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.

func (MaintenanceWindowOutput) Name added in v5.4.0

The name of the maintenance window.

func (MaintenanceWindowOutput) Schedule added in v5.4.0

The schedule of the Maintenance Window in the form of a [cron or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).

func (MaintenanceWindowOutput) ScheduleOffset added in v5.4.0

func (o MaintenanceWindowOutput) ScheduleOffset() pulumi.IntPtrOutput

The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.

func (MaintenanceWindowOutput) ScheduleTimezone added in v5.4.0

func (o MaintenanceWindowOutput) ScheduleTimezone() pulumi.StringPtrOutput

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`.

func (MaintenanceWindowOutput) StartDate added in v5.4.0

Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.

func (MaintenanceWindowOutput) Tags added in v5.4.0

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.

func (MaintenanceWindowOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

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 or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).
	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 `defaultTags` configuration block.
	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/v5/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/v5/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) Description added in v5.4.0

The description of the maintenance window target.

func (MaintenanceWindowTargetOutput) ElementType

func (MaintenanceWindowTargetOutput) Name added in v5.4.0

The name of the maintenance window target.

func (MaintenanceWindowTargetOutput) OwnerInformation added in v5.4.0

User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

func (MaintenanceWindowTargetOutput) ResourceType added in v5.4.0

The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.

func (MaintenanceWindowTargetOutput) Targets added in v5.4.0

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)

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput

func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput

func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext

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

func (MaintenanceWindowTargetOutput) WindowId added in v5.4.0

The Id of the maintenance window to register the target with.

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 ARN of the maintenance window task.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`.
	CutoffBehavior pulumi.StringPtrOutput `pulumi:"cutoffBehavior"`
	// 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"`
	// The ID of the maintenance window task.
	WindowTaskId pulumi.StringOutput `pulumi:"windowTaskId"`
}

Provides an SSM Maintenance Window Task resource

## Example Usage ### Automation Tasks

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
						aws_instance.Example.Id,
					},
				},
			},
			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
				AutomationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{
					DocumentVersion: pulumi.String("$LATEST"),
					Parameters: ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray{
						&ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs{
							Name: pulumi.String("InstanceId"),
							Values: pulumi.StringArray{
								aws_instance.Example.Id,
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Run Command Tasks

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
						aws_instance.Example.Id,
					},
				},
			},
			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
				RunCommandParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs{
					OutputS3Bucket:    pulumi.Any(aws_s3_bucket.Example.Id),
					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/v5/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{
						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 {
	// Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`.
	CutoffBehavior pulumi.StringPtrInput
	// 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.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) Arn added in v5.4.0

The ARN of the maintenance window task.

func (MaintenanceWindowTaskOutput) CutoffBehavior added in v5.4.0

Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`.

func (MaintenanceWindowTaskOutput) Description added in v5.4.0

The description of the maintenance window task.

func (MaintenanceWindowTaskOutput) ElementType

func (MaintenanceWindowTaskOutput) MaxConcurrency added in v5.4.0

func (o MaintenanceWindowTaskOutput) MaxConcurrency() pulumi.StringOutput

The maximum number of targets this task can be run for in parallel.

func (MaintenanceWindowTaskOutput) MaxErrors added in v5.4.0

The maximum number of errors allowed before this task stops being scheduled.

func (MaintenanceWindowTaskOutput) Name added in v5.4.0

The name of the maintenance window task.

func (MaintenanceWindowTaskOutput) Priority added in v5.4.0

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.

func (MaintenanceWindowTaskOutput) ServiceRoleArn added in v5.4.0

func (o MaintenanceWindowTaskOutput) ServiceRoleArn() pulumi.StringOutput

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.

func (MaintenanceWindowTaskOutput) Targets added in v5.4.0

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.

func (MaintenanceWindowTaskOutput) TaskArn added in v5.4.0

The ARN of the task to execute.

func (MaintenanceWindowTaskOutput) TaskInvocationParameters added in v5.4.0

Configuration block with parameters for task execution.

func (MaintenanceWindowTaskOutput) TaskType added in v5.4.0

The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`.

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput

func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput

func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext

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

func (MaintenanceWindowTaskOutput) WindowId added in v5.4.0

The Id of the maintenance window to register the task with.

func (MaintenanceWindowTaskOutput) WindowTaskId added in v5.4.0

The ID of the maintenance window task.

type MaintenanceWindowTaskState

type MaintenanceWindowTaskState struct {
	// The ARN of the maintenance window task.
	Arn pulumi.StringPtrInput
	// Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`.
	CutoffBehavior pulumi.StringPtrInput
	// 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
	// The ID of the maintenance window task.
	WindowTaskId 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 Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
	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 Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
	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 Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.

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 Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.

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

	// Regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrOutput `pulumi:"allowedPattern"`
	// ARN of the parameter.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Data type of the parameter. Valid values: `text`, `aws:ssm:integration` 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"`
	// Description of the parameter.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the preview. This argument is not valid with a `type` of `SecureString`.
	InsecureValue pulumi.StringOutput `pulumi:"insecureValue"`
	// KMS key ID or ARN for encrypting a SecureString.
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// 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.
	Overwrite pulumi.BoolPtrOutput `pulumi:"overwrite"`
	// 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"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource. 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"`
	// Type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	//
	// The following arguments are optional:
	Type pulumi.StringOutput `pulumi:"type"`
	// Value of the parameter. This value is always marked as sensitive in the plan output, regardless of `type`.
	//
	// > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
	Value pulumi.StringOutput `pulumi:"value"`
	// Version of the parameter.
	Version pulumi.IntOutput `pulumi:"version"`
}

Provides an SSM Parameter resource.

> **Note:** `overwrite` also makes it possible to overwrite an existing SSM Parameter that's not created by the provider before.

## Example Usage ### Basic example

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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
	})
}

``` ### Encrypted string using default SSM KMS key

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds"
"github.com/pulumi/pulumi-aws/sdk/v5/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 {
	// Regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrInput
	// ARN of the parameter.
	Arn pulumi.StringPtrInput
	// Data type of the parameter. Valid values: `text`, `aws:ssm:integration` 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
	// Description of the parameter.
	Description pulumi.StringPtrInput
	// Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the preview. This argument is not valid with a `type` of `SecureString`.
	InsecureValue pulumi.StringPtrInput
	// KMS key ID or ARN for encrypting a SecureString.
	KeyId pulumi.StringPtrInput
	// 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.
	Overwrite pulumi.BoolPtrInput
	// 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
	// Parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource. 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
	// Type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	//
	// The following arguments are optional:
	Type pulumi.StringInput
	// Value of the parameter. This value is always marked as sensitive in the plan output, regardless of `type`.
	//
	// > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
	Value pulumi.StringPtrInput
}

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) AllowedPattern added in v5.4.0

func (o ParameterOutput) AllowedPattern() pulumi.StringPtrOutput

Regular expression used to validate the parameter value.

func (ParameterOutput) Arn added in v5.4.0

ARN of the parameter.

func (ParameterOutput) DataType added in v5.4.0

func (o ParameterOutput) DataType() pulumi.StringOutput

Data type of the parameter. Valid values: `text`, `aws:ssm:integration` 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).

func (ParameterOutput) Description added in v5.4.0

func (o ParameterOutput) Description() pulumi.StringPtrOutput

Description of the parameter.

func (ParameterOutput) ElementType

func (ParameterOutput) ElementType() reflect.Type

func (ParameterOutput) InsecureValue added in v5.10.0

func (o ParameterOutput) InsecureValue() pulumi.StringOutput

Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the preview. This argument is not valid with a `type` of `SecureString`.

func (ParameterOutput) KeyId added in v5.4.0

KMS key ID or ARN for encrypting a SecureString.

func (ParameterOutput) Name added in v5.4.0

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).

func (ParameterOutput) Overwrite added in v5.4.0

func (o ParameterOutput) Overwrite() pulumi.BoolPtrOutput

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.

func (ParameterOutput) Tags added in v5.4.0

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.

func (ParameterOutput) TagsAll added in v5.4.0

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (ParameterOutput) Tier added in v5.4.0

Parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource. 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).

func (ParameterOutput) ToParameterOutput

func (o ParameterOutput) ToParameterOutput() ParameterOutput

func (ParameterOutput) ToParameterOutputWithContext

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

func (ParameterOutput) Type added in v5.4.0

Type of the parameter. Valid types are `String`, `StringList` and `SecureString`.

The following arguments are optional:

func (ParameterOutput) Value added in v5.4.0

Value of the parameter. This value is always marked as sensitive in the plan output, regardless of `type`.

> **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.

func (ParameterOutput) Version added in v5.4.0

func (o ParameterOutput) Version() pulumi.IntOutput

Version of the parameter.

type ParameterState

type ParameterState struct {
	// Regular expression used to validate the parameter value.
	AllowedPattern pulumi.StringPtrInput
	// ARN of the parameter.
	Arn pulumi.StringPtrInput
	// Data type of the parameter. Valid values: `text`, `aws:ssm:integration` 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
	// Description of the parameter.
	Description pulumi.StringPtrInput
	// Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the preview. This argument is not valid with a `type` of `SecureString`.
	InsecureValue pulumi.StringPtrInput
	// KMS key ID or ARN for encrypting a SecureString.
	KeyId pulumi.StringPtrInput
	// 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.
	Overwrite pulumi.BoolPtrInput
	// 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
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. Downgrading an `Advanced` tier parameter to `Standard` will recreate the resource. 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
	// Type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	//
	// The following arguments are optional:
	Type pulumi.StringPtrInput
	// Value of the parameter. This value is always marked as sensitive in the plan output, regardless of `type`.
	//
	// > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
	Value pulumi.StringPtrInput
	// 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

func (e ParameterType) ToParameterTypeOutput() ParameterTypeOutput

func (ParameterType) ToParameterTypeOutputWithContext

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

func (ParameterType) ToParameterTypePtrOutput

func (e ParameterType) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterType) ToParameterTypePtrOutputWithContext

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

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

type ParameterTypeOutput struct{ *pulumi.OutputState }

func (ParameterTypeOutput) ElementType

func (ParameterTypeOutput) ElementType() reflect.Type

func (ParameterTypeOutput) ToParameterTypeOutput

func (o ParameterTypeOutput) ToParameterTypeOutput() ParameterTypeOutput

func (ParameterTypeOutput) ToParameterTypeOutputWithContext

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

func (ParameterTypeOutput) ToParameterTypePtrOutput

func (o ParameterTypeOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterTypeOutput) ToParameterTypePtrOutputWithContext

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

func (ParameterTypeOutput) ToStringOutput

func (o ParameterTypeOutput) ToStringOutput() pulumi.StringOutput

func (ParameterTypeOutput) ToStringOutputWithContext

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

func (ParameterTypeOutput) ToStringPtrOutput

func (o ParameterTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterTypeOutput) ToStringPtrOutputWithContext

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

type ParameterTypePtrInput

type ParameterTypePtrInput interface {
	pulumi.Input

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

func ParameterTypePtr

func ParameterTypePtr(v string) ParameterTypePtrInput

type ParameterTypePtrOutput

type ParameterTypePtrOutput struct{ *pulumi.OutputState }

func (ParameterTypePtrOutput) Elem

func (ParameterTypePtrOutput) ElementType

func (ParameterTypePtrOutput) ElementType() reflect.Type

func (ParameterTypePtrOutput) ToParameterTypePtrOutput

func (o ParameterTypePtrOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput

func (ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext

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

func (ParameterTypePtrOutput) ToStringPtrOutput

func (o ParameterTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ParameterTypePtrOutput) ToStringPtrOutputWithContext

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.
	// See `approvalRule` below.
	ApprovalRules PatchBaselineApprovalRuleArrayOutput `pulumi:"approvalRules"`
	// A list of explicitly approved patches for the baseline.
	// Cannot be specified with `approvalRule`.
	ApprovedPatches pulumi.StringArrayOutput `pulumi:"approvedPatches"`
	// 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 values are `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`, and `PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayOutput `pulumi:"globalFilters"`
	// The name of the patch baseline.
	Name pulumi.StringOutput `pulumi:"name"`
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	// 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.
	// Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringOutput `pulumi:"rejectedPatchesAction"`
	// Configuration block with alternate sources for patches.
	// Applies to Linux instances only.
	// See `source` 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 `defaultTags` configuration block.
	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/v5/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/v5/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/v5/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 (

"github.com/pulumi/pulumi-aws/sdk/v5/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(`[amzn-main]

name=amzn-main-Base mirrorlist=http://repo./$awsregion./$awsdomain//$releasever/main/mirror.list mirrorlist_expire=300 metadata_expire=300 priority=10 failovermethod=priority fastestmirror_enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-ga enabled=1 retries=3 timeout=5 report_instanceid=yes

`),

					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"`
	// The compliance level for patches approved by this rule.
	// Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `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 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"`
	// The compliance level for patches approved by this rule.
	// Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `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 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

The compliance level for patches approved by this rule. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, and `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 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.
	// See `approvalRule` below.
	ApprovalRules PatchBaselineApprovalRuleArrayInput
	// A list of explicitly approved patches for the baseline.
	// Cannot be specified with `approvalRule`.
	ApprovedPatches pulumi.StringArrayInput
	// 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 values are `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`, and `PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayInput
	// The name of the patch baseline.
	Name pulumi.StringPtrInput
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	// 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.
	// Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// Configuration block with alternate sources for patches.
	// Applies to Linux instances only.
	// See `source` 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) ApprovalRules added in v5.4.0

A set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See `approvalRule` below.

func (PatchBaselineOutput) ApprovedPatches added in v5.4.0

func (o PatchBaselineOutput) ApprovedPatches() pulumi.StringArrayOutput

A list of explicitly approved patches for the baseline. Cannot be specified with `approvalRule`.

func (PatchBaselineOutput) ApprovedPatchesComplianceLevel added in v5.4.0

func (o PatchBaselineOutput) ApprovedPatchesComplianceLevel() pulumi.StringPtrOutput

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 values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.

func (PatchBaselineOutput) ApprovedPatchesEnableNonSecurity added in v5.4.0

func (o PatchBaselineOutput) ApprovedPatchesEnableNonSecurity() pulumi.BoolPtrOutput

Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.

func (PatchBaselineOutput) Arn added in v5.4.0

The ARN of the patch baseline.

func (PatchBaselineOutput) Description added in v5.4.0

func (o PatchBaselineOutput) Description() pulumi.StringPtrOutput

The description of the patch baseline.

func (PatchBaselineOutput) ElementType

func (PatchBaselineOutput) ElementType() reflect.Type

func (PatchBaselineOutput) GlobalFilters added in v5.4.0

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`, and `PATCH_ID`.

func (PatchBaselineOutput) Name added in v5.4.0

The name of the patch baseline.

func (PatchBaselineOutput) OperatingSystem added in v5.4.0

func (o PatchBaselineOutput) OperatingSystem() pulumi.StringPtrOutput

The operating system the patch baseline applies to. Valid values are `AMAZON_LINUX`, `AMAZON_LINUX_2`, `AMAZON_LINUX_2022`, `CENTOS`, `DEBIAN`, `MACOS`, `ORACLE_LINUX`, `RASPBIAN`, `REDHAT_ENTERPRISE_LINUX`, `ROCKY_LINUX`, `SUSE`, `UBUNTU`, and `WINDOWS`. The default value is `WINDOWS`.

func (PatchBaselineOutput) RejectedPatches added in v5.4.0

func (o PatchBaselineOutput) RejectedPatches() pulumi.StringArrayOutput

A list of rejected patches.

func (PatchBaselineOutput) RejectedPatchesAction added in v5.4.0

func (o PatchBaselineOutput) RejectedPatchesAction() pulumi.StringOutput

The action for Patch Manager to take on patches included in the `rejectedPatches` list. Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.

func (PatchBaselineOutput) Sources added in v5.4.0

Configuration block with alternate sources for patches. Applies to Linux instances only. See `source` below.

func (PatchBaselineOutput) Tags added in v5.4.0

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.

func (PatchBaselineOutput) TagsAll added in v5.4.0

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

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.
	// See `approvalRule` below.
	ApprovalRules PatchBaselineApprovalRuleArrayInput
	// A list of explicitly approved patches for the baseline.
	// Cannot be specified with `approvalRule`.
	ApprovedPatches pulumi.StringArrayInput
	// 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 values are `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`, and `PATCH_ID`.
	GlobalFilters PatchBaselineGlobalFilterArrayInput
	// The name of the patch baseline.
	Name pulumi.StringPtrInput
	// The operating system the patch baseline applies to.
	// Valid values are
	// `AMAZON_LINUX`,
	// `AMAZON_LINUX_2`,
	// `AMAZON_LINUX_2022`,
	// `CENTOS`,
	// `DEBIAN`,
	// `MACOS`,
	// `ORACLE_LINUX`,
	// `RASPBIAN`,
	// `REDHAT_ENTERPRISE_LINUX`,
	// `ROCKY_LINUX`,
	// `SUSE`,
	// `UBUNTU`, and
	// `WINDOWS`.
	// 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.
	// Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
	RejectedPatchesAction pulumi.StringPtrInput
	// Configuration block with alternate sources for patches.
	// Applies to Linux instances only.
	// See `source` 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 `defaultTags` configuration block.
	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/v5/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) BaselineId added in v5.4.0

func (o PatchGroupOutput) BaselineId() pulumi.StringOutput

The ID of the patch baseline to register the patch group with.

func (PatchGroupOutput) ElementType

func (PatchGroupOutput) ElementType() reflect.Type

func (PatchGroupOutput) PatchGroup added in v5.4.0

func (o PatchGroupOutput) PatchGroup() pulumi.StringOutput

The name of the patch group that should be registered with the patch baseline.

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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hogeBucketV2, err := s3.NewBucketV2(ctx, "hogeBucketV2", nil)
		if err != nil {
			return err
		}
		hogePolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Sid:    pulumi.StringRef("SSMBucketPermissionsCheck"),
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"ssm.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"s3:GetBucketAcl",
					},
					Resources: []string{
						"arn:aws:s3:::tf-test-bucket-1234",
					},
				},
				{
					Sid:    pulumi.StringRef("SSMBucketDelivery"),
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"ssm.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"s3:PutObject",
					},
					Resources: []string{
						"arn:aws:s3:::tf-test-bucket-1234/*",
					},
					Conditions: []iam.GetPolicyDocumentStatementCondition{
						{
							Test:     "StringEquals",
							Variable: "s3:x-amz-acl",
							Values: []string{
								"bucket-owner-full-control",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = s3.NewBucketPolicy(ctx, "hogeBucketPolicy", &s3.BucketPolicyArgs{
			Bucket: hogeBucketV2.ID(),
			Policy: *pulumi.String(hogePolicyDocument.Json),
		})
		if err != nil {
			return err
		}
		_, err = ssm.NewResourceDataSync(ctx, "foo", &ssm.ResourceDataSyncArgs{
			S3Destination: &ssm.ResourceDataSyncS3DestinationArgs{
				BucketName: hogeBucketV2.Bucket,
				Region:     hogeBucketV2.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) Name added in v5.4.0

Name for the configuration.

func (ResourceDataSyncOutput) S3Destination added in v5.4.0

Amazon S3 configuration details for the sync.

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

type ServiceSetting added in v5.11.0

type ServiceSetting struct {
	pulumi.CustomResourceState

	// ARN of the service setting.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ID of the service setting.
	SettingId pulumi.StringOutput `pulumi:"settingId"`
	// Value of the service setting.
	SettingValue pulumi.StringOutput `pulumi:"settingValue"`
	// Status of the service setting. Value can be `Default`, `Customized` or `PendingUpdate`.
	Status pulumi.StringOutput `pulumi:"status"`
}

This setting defines how a user interacts with or uses a service or a feature of a service.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewServiceSetting(ctx, "testSetting", &ssm.ServiceSettingArgs{
			SettingId:    pulumi.String("arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled"),
			SettingValue: pulumi.String("true"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AWS SSM Service Setting can be imported using the `setting_id`, e.g.

```sh

$ pulumi import aws:ssm/serviceSetting:ServiceSetting example arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled

```

func GetServiceSetting added in v5.11.0

func GetServiceSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceSettingState, opts ...pulumi.ResourceOption) (*ServiceSetting, error)

GetServiceSetting gets an existing ServiceSetting 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 NewServiceSetting added in v5.11.0

func NewServiceSetting(ctx *pulumi.Context,
	name string, args *ServiceSettingArgs, opts ...pulumi.ResourceOption) (*ServiceSetting, error)

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

func (*ServiceSetting) ElementType added in v5.11.0

func (*ServiceSetting) ElementType() reflect.Type

func (*ServiceSetting) ToServiceSettingOutput added in v5.11.0

func (i *ServiceSetting) ToServiceSettingOutput() ServiceSettingOutput

func (*ServiceSetting) ToServiceSettingOutputWithContext added in v5.11.0

func (i *ServiceSetting) ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput

type ServiceSettingArgs added in v5.11.0

type ServiceSettingArgs struct {
	// ID of the service setting.
	SettingId pulumi.StringInput
	// Value of the service setting.
	SettingValue pulumi.StringInput
}

The set of arguments for constructing a ServiceSetting resource.

func (ServiceSettingArgs) ElementType added in v5.11.0

func (ServiceSettingArgs) ElementType() reflect.Type

type ServiceSettingArray added in v5.11.0

type ServiceSettingArray []ServiceSettingInput

func (ServiceSettingArray) ElementType added in v5.11.0

func (ServiceSettingArray) ElementType() reflect.Type

func (ServiceSettingArray) ToServiceSettingArrayOutput added in v5.11.0

func (i ServiceSettingArray) ToServiceSettingArrayOutput() ServiceSettingArrayOutput

func (ServiceSettingArray) ToServiceSettingArrayOutputWithContext added in v5.11.0

func (i ServiceSettingArray) ToServiceSettingArrayOutputWithContext(ctx context.Context) ServiceSettingArrayOutput

type ServiceSettingArrayInput added in v5.11.0

type ServiceSettingArrayInput interface {
	pulumi.Input

	ToServiceSettingArrayOutput() ServiceSettingArrayOutput
	ToServiceSettingArrayOutputWithContext(context.Context) ServiceSettingArrayOutput
}

ServiceSettingArrayInput is an input type that accepts ServiceSettingArray and ServiceSettingArrayOutput values. You can construct a concrete instance of `ServiceSettingArrayInput` via:

ServiceSettingArray{ ServiceSettingArgs{...} }

type ServiceSettingArrayOutput added in v5.11.0

type ServiceSettingArrayOutput struct{ *pulumi.OutputState }

func (ServiceSettingArrayOutput) ElementType added in v5.11.0

func (ServiceSettingArrayOutput) ElementType() reflect.Type

func (ServiceSettingArrayOutput) Index added in v5.11.0

func (ServiceSettingArrayOutput) ToServiceSettingArrayOutput added in v5.11.0

func (o ServiceSettingArrayOutput) ToServiceSettingArrayOutput() ServiceSettingArrayOutput

func (ServiceSettingArrayOutput) ToServiceSettingArrayOutputWithContext added in v5.11.0

func (o ServiceSettingArrayOutput) ToServiceSettingArrayOutputWithContext(ctx context.Context) ServiceSettingArrayOutput

type ServiceSettingInput added in v5.11.0

type ServiceSettingInput interface {
	pulumi.Input

	ToServiceSettingOutput() ServiceSettingOutput
	ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput
}

type ServiceSettingMap added in v5.11.0

type ServiceSettingMap map[string]ServiceSettingInput

func (ServiceSettingMap) ElementType added in v5.11.0

func (ServiceSettingMap) ElementType() reflect.Type

func (ServiceSettingMap) ToServiceSettingMapOutput added in v5.11.0

func (i ServiceSettingMap) ToServiceSettingMapOutput() ServiceSettingMapOutput

func (ServiceSettingMap) ToServiceSettingMapOutputWithContext added in v5.11.0

func (i ServiceSettingMap) ToServiceSettingMapOutputWithContext(ctx context.Context) ServiceSettingMapOutput

type ServiceSettingMapInput added in v5.11.0

type ServiceSettingMapInput interface {
	pulumi.Input

	ToServiceSettingMapOutput() ServiceSettingMapOutput
	ToServiceSettingMapOutputWithContext(context.Context) ServiceSettingMapOutput
}

ServiceSettingMapInput is an input type that accepts ServiceSettingMap and ServiceSettingMapOutput values. You can construct a concrete instance of `ServiceSettingMapInput` via:

ServiceSettingMap{ "key": ServiceSettingArgs{...} }

type ServiceSettingMapOutput added in v5.11.0

type ServiceSettingMapOutput struct{ *pulumi.OutputState }

func (ServiceSettingMapOutput) ElementType added in v5.11.0

func (ServiceSettingMapOutput) ElementType() reflect.Type

func (ServiceSettingMapOutput) MapIndex added in v5.11.0

func (ServiceSettingMapOutput) ToServiceSettingMapOutput added in v5.11.0

func (o ServiceSettingMapOutput) ToServiceSettingMapOutput() ServiceSettingMapOutput

func (ServiceSettingMapOutput) ToServiceSettingMapOutputWithContext added in v5.11.0

func (o ServiceSettingMapOutput) ToServiceSettingMapOutputWithContext(ctx context.Context) ServiceSettingMapOutput

type ServiceSettingOutput added in v5.11.0

type ServiceSettingOutput struct{ *pulumi.OutputState }

func (ServiceSettingOutput) Arn added in v5.11.0

ARN of the service setting.

func (ServiceSettingOutput) ElementType added in v5.11.0

func (ServiceSettingOutput) ElementType() reflect.Type

func (ServiceSettingOutput) SettingId added in v5.11.0

ID of the service setting.

func (ServiceSettingOutput) SettingValue added in v5.11.0

func (o ServiceSettingOutput) SettingValue() pulumi.StringOutput

Value of the service setting.

func (ServiceSettingOutput) Status added in v5.11.0

Status of the service setting. Value can be `Default`, `Customized` or `PendingUpdate`.

func (ServiceSettingOutput) ToServiceSettingOutput added in v5.11.0

func (o ServiceSettingOutput) ToServiceSettingOutput() ServiceSettingOutput

func (ServiceSettingOutput) ToServiceSettingOutputWithContext added in v5.11.0

func (o ServiceSettingOutput) ToServiceSettingOutputWithContext(ctx context.Context) ServiceSettingOutput

type ServiceSettingState added in v5.11.0

type ServiceSettingState struct {
	// ARN of the service setting.
	Arn pulumi.StringPtrInput
	// ID of the service setting.
	SettingId pulumi.StringPtrInput
	// Value of the service setting.
	SettingValue pulumi.StringPtrInput
	// Status of the service setting. Value can be `Default`, `Customized` or `PendingUpdate`.
	Status pulumi.StringPtrInput
}

func (ServiceSettingState) ElementType added in v5.11.0

func (ServiceSettingState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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