ssm

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activation

type Activation struct {
	// contains filtered or unexported fields
}

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

func GetActivation

func GetActivation(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ActivationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Activation, error)

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

func (*Activation) ActivationCode

func (r *Activation) ActivationCode() *pulumi.StringOutput

The code the system generates when it processes the activation.

func (*Activation) Description

func (r *Activation) Description() *pulumi.StringOutput

The description of the resource that you want to register.

func (*Activation) ExpirationDate

func (r *Activation) ExpirationDate() *pulumi.StringOutput

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

func (*Activation) Expired

func (r *Activation) Expired() *pulumi.StringOutput

If the current activation has expired.

func (*Activation) ID

func (r *Activation) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Activation) IamRole

func (r *Activation) IamRole() *pulumi.StringOutput

The IAM Role to attach to the managed instance.

func (*Activation) Name

func (r *Activation) Name() *pulumi.StringOutput

The default name of the registered managed instance.

func (*Activation) RegistrationCount

func (r *Activation) RegistrationCount() *pulumi.IntOutput

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

func (*Activation) RegistrationLimit

func (r *Activation) RegistrationLimit() *pulumi.IntOutput

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

func (*Activation) URN

func (r *Activation) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ActivationArgs

type ActivationArgs struct {
	// The description of the resource that you want to register.
	Description interface{}
	// A 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.
	ExpirationDate interface{}
	// The IAM Role to attach to the managed instance.
	IamRole interface{}
	// The default name of the registered managed instance.
	Name interface{}
	// The maximum number of managed instances you want to register. The default value is 1 instance.
	RegistrationLimit interface{}
}

The set of arguments for constructing a Activation resource.

type ActivationState

type ActivationState struct {
	// The code the system generates when it processes the activation.
	ActivationCode interface{}
	// The description of the resource that you want to register.
	Description interface{}
	// A 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.
	ExpirationDate interface{}
	// If the current activation has expired.
	Expired interface{}
	// The IAM Role to attach to the managed instance.
	IamRole interface{}
	// The default name of the registered managed instance.
	Name interface{}
	// The number of managed instances that are currently registered using this activation.
	RegistrationCount interface{}
	// The maximum number of managed instances you want to register. The default value is 1 instance.
	RegistrationLimit interface{}
}

Input properties used for looking up and filtering Activation resources.

type Association

type Association struct {
	// contains filtered or unexported fields
}

Associates an SSM Document to an instance or EC2 tag.

func GetAssociation

func GetAssociation(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AssociationState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Association, error)

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

func (*Association) AssociationId

func (r *Association) AssociationId() *pulumi.StringOutput

func (*Association) AssociationName

func (r *Association) AssociationName() *pulumi.StringOutput

The descriptive name for the association.

func (*Association) ComplianceSeverity added in v0.18.1

func (r *Association) ComplianceSeverity() *pulumi.StringOutput

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

func (*Association) DocumentVersion

func (r *Association) DocumentVersion() *pulumi.StringOutput

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

func (*Association) ID

func (r *Association) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Association) InstanceId

func (r *Association) InstanceId() *pulumi.StringOutput

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

func (*Association) MaxConcurrency added in v0.18.1

func (r *Association) MaxConcurrency() *pulumi.StringOutput

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 (*Association) MaxErrors added in v0.18.1

func (r *Association) MaxErrors() *pulumi.StringOutput

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 (*Association) Name

func (r *Association) Name() *pulumi.StringOutput

The name of the SSM document to apply.

func (*Association) OutputLocation

func (r *Association) OutputLocation() *pulumi.Output

An output location block. Output Location is documented below.

func (*Association) Parameters

func (r *Association) Parameters() *pulumi.MapOutput

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

func (*Association) ScheduleExpression

func (r *Association) ScheduleExpression() *pulumi.StringOutput

A cron expression when the association will be applied to the target(s).

func (*Association) Targets

func (r *Association) Targets() *pulumi.ArrayOutput

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

func (*Association) URN

func (r *Association) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AssociationArgs

type AssociationArgs struct {
	// The descriptive name for the association.
	AssociationName interface{}
	// The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
	ComplianceSeverity interface{}
	// The document version you want to associate with the target(s). Can be a specific version or the default version.
	DocumentVersion interface{}
	// The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.
	InstanceId interface{}
	// 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 interface{}
	// 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 interface{}
	// The name of the SSM document to apply.
	Name interface{}
	// An output location block. Output Location is documented below.
	OutputLocation interface{}
	// A block of arbitrary string parameters to pass to the SSM document.
	Parameters interface{}
	// A cron expression when the association will be applied to the target(s).
	ScheduleExpression interface{}
	// A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
	Targets interface{}
}

The set of arguments for constructing a Association resource.

type AssociationState

type AssociationState struct {
	AssociationId interface{}
	// The descriptive name for the association.
	AssociationName interface{}
	// The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL`
	ComplianceSeverity interface{}
	// The document version you want to associate with the target(s). Can be a specific version or the default version.
	DocumentVersion interface{}
	// The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above.
	InstanceId interface{}
	// 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 interface{}
	// 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 interface{}
	// The name of the SSM document to apply.
	Name interface{}
	// An output location block. Output Location is documented below.
	OutputLocation interface{}
	// A block of arbitrary string parameters to pass to the SSM document.
	Parameters interface{}
	// A cron expression when the association will be applied to the target(s).
	ScheduleExpression interface{}
	// A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets.
	Targets interface{}
}

Input properties used for looking up and filtering Association resources.

type Document

type Document struct {
	// contains filtered or unexported fields
}

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][1]. To update a document with an older schema version you must recreate the resource.

## 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`. * `account_ids` - The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or `All`.

func GetDocument

func GetDocument(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DocumentState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Document, error)

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

func (*Document) Arn

func (r *Document) Arn() *pulumi.StringOutput

func (*Document) Content

func (r *Document) Content() *pulumi.StringOutput

The JSON or YAML content of the document.

func (*Document) CreatedDate

func (r *Document) CreatedDate() *pulumi.StringOutput

The date the document was created.

func (*Document) DefaultVersion

func (r *Document) DefaultVersion() *pulumi.StringOutput

The default version of the document.

func (*Document) Description

func (r *Document) Description() *pulumi.StringOutput

The description of the document.

func (*Document) DocumentFormat

func (r *Document) DocumentFormat() *pulumi.StringOutput

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

func (*Document) DocumentType

func (r *Document) DocumentType() *pulumi.StringOutput

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

func (*Document) Hash

func (r *Document) Hash() *pulumi.StringOutput

The sha1 or sha256 of the document content

func (*Document) HashType

func (r *Document) HashType() *pulumi.StringOutput

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

func (*Document) ID

func (r *Document) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Document) LatestVersion

func (r *Document) LatestVersion() *pulumi.StringOutput

The latest version of the document.

func (*Document) Name

func (r *Document) Name() *pulumi.StringOutput

The name of the document.

func (*Document) Owner

func (r *Document) Owner() *pulumi.StringOutput

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

func (*Document) Parameters

func (r *Document) Parameters() *pulumi.ArrayOutput

The parameters that are available to this document.

func (*Document) Permissions

func (r *Document) Permissions() *pulumi.Output

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

func (*Document) PlatformTypes

func (r *Document) PlatformTypes() *pulumi.ArrayOutput

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

func (*Document) SchemaVersion

func (r *Document) SchemaVersion() *pulumi.StringOutput

The schema version of the document.

func (*Document) Status

func (r *Document) Status() *pulumi.StringOutput

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

func (*Document) Tags added in v0.14.1

func (r *Document) Tags() *pulumi.MapOutput

A mapping of tags to assign to the object.

func (*Document) URN

func (r *Document) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DocumentArgs

type DocumentArgs struct {
	// The JSON or YAML content of the document.
	Content interface{}
	// The format of the document. Valid document types include: `JSON` and `YAML`
	DocumentFormat interface{}
	// The type of the document. Valid document types include: `Command`, `Policy`, `Automation` and `Session`
	DocumentType interface{}
	// The name of the document.
	Name interface{}
	// Additional Permissions to attach to the document. See Permissions below for details.
	Permissions interface{}
	// A mapping of tags to assign to the object.
	Tags interface{}
}

The set of arguments for constructing a Document resource.

type DocumentState

type DocumentState struct {
	Arn interface{}
	// The JSON or YAML content of the document.
	Content interface{}
	// The date the document was created.
	CreatedDate interface{}
	// The default version of the document.
	DefaultVersion interface{}
	// The description of the document.
	Description interface{}
	// The format of the document. Valid document types include: `JSON` and `YAML`
	DocumentFormat interface{}
	// The type of the document. Valid document types include: `Command`, `Policy`, `Automation` and `Session`
	DocumentType interface{}
	// The sha1 or sha256 of the document content
	Hash interface{}
	// "Sha1" "Sha256". The hashing algorithm used when hashing the content.
	HashType interface{}
	// The latest version of the document.
	LatestVersion interface{}
	// The name of the document.
	Name interface{}
	// The AWS user account of the person who created the document.
	Owner interface{}
	// The parameters that are available to this document.
	Parameters interface{}
	// Additional Permissions to attach to the document. See Permissions below for details.
	Permissions interface{}
	// A list of OS platforms compatible with this SSM document, either "Windows" or "Linux".
	PlatformTypes interface{}
	// The schema version of the document.
	SchemaVersion interface{}
	// "Creating", "Active" or "Deleting". The current status of the document.
	Status interface{}
	// A mapping of tags to assign to the object.
	Tags interface{}
}

Input properties used for looking up and filtering Document resources.

type GetDocumentArgs added in v0.16.3

type GetDocumentArgs struct {
	// Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
	DocumentFormat interface{}
	// The document version for which you want information.
	DocumentVersion interface{}
	// The name of the Systems Manager document.
	Name interface{}
}

A collection of arguments for invoking getDocument.

type GetDocumentResult added in v0.16.3

type GetDocumentResult struct {
	// The ARN of the document.
	Arn interface{}
	// The contents of the document.
	Content interface{}
	// The type of the document.
	DocumentType interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getDocument.

func LookupDocument added in v0.16.3

func LookupDocument(ctx *pulumi.Context, args *GetDocumentArgs) (*GetDocumentResult, error)

Gets the contents of the specified Systems Manager document.

type GetParameterArgs

type GetParameterArgs struct {
	// The name of the parameter.
	Name interface{}
	// Whether to return decrypted `SecureString` value. Defaults to `true`.
	WithDecryption interface{}
}

A collection of arguments for invoking getParameter.

type GetParameterResult

type GetParameterResult struct {
	Arn   interface{}
	Type  interface{}
	Value interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getParameter.

func LookupParameter

func LookupParameter(ctx *pulumi.Context, args *GetParameterArgs) (*GetParameterResult, error)

Provides an SSM Parameter data source.

type MaintenanceWindow

type MaintenanceWindow struct {
	// contains filtered or unexported fields
}

Provides an SSM Maintenance Window resource

func GetMaintenanceWindow

func GetMaintenanceWindow(ctx *pulumi.Context,
	name string, id pulumi.ID, state *MaintenanceWindowState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*MaintenanceWindow, error)

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

func (*MaintenanceWindow) AllowUnassociatedTargets

func (r *MaintenanceWindow) AllowUnassociatedTargets() *pulumi.BoolOutput

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

func (*MaintenanceWindow) Cutoff

func (r *MaintenanceWindow) Cutoff() *pulumi.IntOutput

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

func (*MaintenanceWindow) Duration

func (r *MaintenanceWindow) Duration() *pulumi.IntOutput

The duration of the Maintenance Window in hours.

func (*MaintenanceWindow) Enabled

func (r *MaintenanceWindow) Enabled() *pulumi.BoolOutput

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

func (*MaintenanceWindow) EndDate added in v0.16.7

func (r *MaintenanceWindow) EndDate() *pulumi.StringOutput

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 (*MaintenanceWindow) ID

ID is this resource's unique identifier assigned by its provider.

func (*MaintenanceWindow) Name

The name of the maintenance window.

func (*MaintenanceWindow) Schedule

func (r *MaintenanceWindow) Schedule() *pulumi.StringOutput

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

func (*MaintenanceWindow) ScheduleTimezone added in v0.16.7

func (r *MaintenanceWindow) ScheduleTimezone() *pulumi.StringOutput

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 (*MaintenanceWindow) StartDate added in v0.16.7

func (r *MaintenanceWindow) StartDate() *pulumi.StringOutput

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

func (*MaintenanceWindow) URN

URN is this resource's unique name assigned by Pulumi.

type MaintenanceWindowArgs

type MaintenanceWindowArgs struct {
	// Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
	AllowUnassociatedTargets interface{}
	// The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
	Cutoff interface{}
	// The duration of the Maintenance Window in hours.
	Duration interface{}
	// Whether the maintenance window is enabled. Default: `true`.
	Enabled interface{}
	// 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 interface{}
	// The name of the maintenance window.
	Name interface{}
	// The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
	Schedule interface{}
	// 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 interface{}
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
	StartDate interface{}
}

The set of arguments for constructing a MaintenanceWindow resource.

type MaintenanceWindowState

type MaintenanceWindowState struct {
	// Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
	AllowUnassociatedTargets interface{}
	// The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
	Cutoff interface{}
	// The duration of the Maintenance Window in hours.
	Duration interface{}
	// Whether the maintenance window is enabled. Default: `true`.
	Enabled interface{}
	// 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 interface{}
	// The name of the maintenance window.
	Name interface{}
	// The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression.
	Schedule interface{}
	// 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 interface{}
	// Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
	StartDate interface{}
}

Input properties used for looking up and filtering MaintenanceWindow resources.

type MaintenanceWindowTarget

type MaintenanceWindowTarget struct {
	// contains filtered or unexported fields
}

Provides an SSM Maintenance Window Target resource

func GetMaintenanceWindowTarget

func GetMaintenanceWindowTarget(ctx *pulumi.Context,
	name string, id pulumi.ID, state *MaintenanceWindowTargetState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*MaintenanceWindowTarget, error)

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

func (*MaintenanceWindowTarget) ID

ID is this resource's unique identifier assigned by its provider.

func (*MaintenanceWindowTarget) OwnerInformation

func (r *MaintenanceWindowTarget) OwnerInformation() *pulumi.StringOutput

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

func (*MaintenanceWindowTarget) ResourceType

func (r *MaintenanceWindowTarget) ResourceType() *pulumi.StringOutput

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

func (*MaintenanceWindowTarget) Targets

The targets (either instances or tags). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=tag name,Values=tag value.

func (*MaintenanceWindowTarget) URN

URN is this resource's unique name assigned by Pulumi.

func (*MaintenanceWindowTarget) WindowId

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

type MaintenanceWindowTargetArgs

type MaintenanceWindowTargetArgs struct {
	// User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
	OwnerInformation interface{}
	// The type of target being registered with the Maintenance Window. Possible values `INSTANCE`.
	ResourceType interface{}
	// The targets (either instances or tags). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=tag name,Values=tag value.
	Targets interface{}
	// The Id of the maintenance window to register the target with.
	WindowId interface{}
}

The set of arguments for constructing a MaintenanceWindowTarget resource.

type MaintenanceWindowTargetState

type MaintenanceWindowTargetState struct {
	// User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
	OwnerInformation interface{}
	// The type of target being registered with the Maintenance Window. Possible values `INSTANCE`.
	ResourceType interface{}
	// The targets (either instances or tags). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=tag name,Values=tag value.
	Targets interface{}
	// The Id of the maintenance window to register the target with.
	WindowId interface{}
}

Input properties used for looking up and filtering MaintenanceWindowTarget resources.

type MaintenanceWindowTask

type MaintenanceWindowTask struct {
	// contains filtered or unexported fields
}

Provides an SSM Maintenance Window Task resource

func GetMaintenanceWindowTask

func GetMaintenanceWindowTask(ctx *pulumi.Context,
	name string, id pulumi.ID, state *MaintenanceWindowTaskState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*MaintenanceWindowTask, error)

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

func (*MaintenanceWindowTask) Description added in v0.16.3

func (r *MaintenanceWindowTask) Description() *pulumi.StringOutput

The description of the maintenance window task.

func (*MaintenanceWindowTask) ID

ID is this resource's unique identifier assigned by its provider.

func (*MaintenanceWindowTask) LoggingInfo

func (r *MaintenanceWindowTask) LoggingInfo() *pulumi.Output

A structure containing information about an Amazon S3 bucket to write instance-level logs to. Documented below.

func (*MaintenanceWindowTask) MaxConcurrency

func (r *MaintenanceWindowTask) MaxConcurrency() *pulumi.StringOutput

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

func (*MaintenanceWindowTask) MaxErrors

func (r *MaintenanceWindowTask) MaxErrors() *pulumi.StringOutput

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

func (*MaintenanceWindowTask) Name added in v0.16.3

func (*MaintenanceWindowTask) Priority

func (r *MaintenanceWindowTask) Priority() *pulumi.IntOutput

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 (*MaintenanceWindowTask) ServiceRoleArn

func (r *MaintenanceWindowTask) ServiceRoleArn() *pulumi.StringOutput

The role that should be assumed when executing the task.

func (*MaintenanceWindowTask) Targets

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 (*MaintenanceWindowTask) TaskArn

The ARN of the task to execute.

func (*MaintenanceWindowTask) TaskParameters

func (r *MaintenanceWindowTask) TaskParameters() *pulumi.ArrayOutput

A structure containing information about parameters required by the particular `task_arn`. Documented below.

func (*MaintenanceWindowTask) TaskType

func (r *MaintenanceWindowTask) TaskType() *pulumi.StringOutput

The type of task being registered. The only allowed value is `RUN_COMMAND`.

func (*MaintenanceWindowTask) URN

URN is this resource's unique name assigned by Pulumi.

func (*MaintenanceWindowTask) WindowId

func (r *MaintenanceWindowTask) WindowId() *pulumi.StringOutput

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

type MaintenanceWindowTaskArgs

type MaintenanceWindowTaskArgs struct {
	// The description of the maintenance window task.
	Description interface{}
	// A structure containing information about an Amazon S3 bucket to write instance-level logs to. Documented below.
	LoggingInfo interface{}
	// The maximum number of targets this task can be run for in parallel.
	MaxConcurrency interface{}
	// The maximum number of errors allowed before this task stops being scheduled.
	MaxErrors interface{}
	Name      interface{}
	// 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 interface{}
	// The role that should be assumed when executing the task.
	ServiceRoleArn interface{}
	// 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 interface{}
	// The ARN of the task to execute.
	TaskArn interface{}
	// A structure containing information about parameters required by the particular `task_arn`. Documented below.
	TaskParameters interface{}
	// The type of task being registered. The only allowed value is `RUN_COMMAND`.
	TaskType interface{}
	// The Id of the maintenance window to register the task with.
	WindowId interface{}
}

The set of arguments for constructing a MaintenanceWindowTask resource.

type MaintenanceWindowTaskState

type MaintenanceWindowTaskState struct {
	// The description of the maintenance window task.
	Description interface{}
	// A structure containing information about an Amazon S3 bucket to write instance-level logs to. Documented below.
	LoggingInfo interface{}
	// The maximum number of targets this task can be run for in parallel.
	MaxConcurrency interface{}
	// The maximum number of errors allowed before this task stops being scheduled.
	MaxErrors interface{}
	Name      interface{}
	// 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 interface{}
	// The role that should be assumed when executing the task.
	ServiceRoleArn interface{}
	// 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 interface{}
	// The ARN of the task to execute.
	TaskArn interface{}
	// A structure containing information about parameters required by the particular `task_arn`. Documented below.
	TaskParameters interface{}
	// The type of task being registered. The only allowed value is `RUN_COMMAND`.
	TaskType interface{}
	// The Id of the maintenance window to register the task with.
	WindowId interface{}
}

Input properties used for looking up and filtering MaintenanceWindowTask resources.

type Parameter

type Parameter struct {
	// contains filtered or unexported fields
}

Provides an SSM Parameter resource.

func GetParameter

func GetParameter(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ParameterState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Parameter, error)

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

func (*Parameter) AllowedPattern

func (r *Parameter) AllowedPattern() *pulumi.StringOutput

A regular expression used to validate the parameter value.

func (*Parameter) Arn

func (r *Parameter) Arn() *pulumi.StringOutput

The ARN of the parameter.

func (*Parameter) Description

func (r *Parameter) Description() *pulumi.StringOutput

The description of the parameter.

func (*Parameter) ID

func (r *Parameter) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Parameter) KeyId

func (r *Parameter) KeyId() *pulumi.StringOutput

The KMS key id or arn for encrypting a SecureString.

func (*Parameter) Name

func (r *Parameter) Name() *pulumi.StringOutput

The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).

func (*Parameter) Overwrite

func (r *Parameter) Overwrite() *pulumi.BoolOutput

Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by terraform to avoid overwrite of existing resource and will default to `true` otherwise (terraform lifecycle rules should then be used to manage the update behavior).

func (*Parameter) Tags

func (r *Parameter) Tags() *pulumi.MapOutput

A mapping of tags to assign to the object.

func (*Parameter) Type

func (r *Parameter) Type() *pulumi.StringOutput

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

func (*Parameter) URN

func (r *Parameter) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Parameter) Value

func (r *Parameter) Value() *pulumi.StringOutput

The value of the parameter.

type ParameterArgs

type ParameterArgs struct {
	// A regular expression used to validate the parameter value.
	AllowedPattern interface{}
	// The ARN of the parameter.
	Arn interface{}
	// The description of the parameter.
	Description interface{}
	// The KMS key id or arn for encrypting a SecureString.
	KeyId interface{}
	// The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).
	Name interface{}
	// Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by terraform to avoid overwrite of existing resource and will default to `true` otherwise (terraform lifecycle rules should then be used to manage the update behavior).
	Overwrite interface{}
	// A mapping of tags to assign to the object.
	Tags interface{}
	// The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	Type interface{}
	// The value of the parameter.
	Value interface{}
}

The set of arguments for constructing a Parameter resource.

type ParameterState

type ParameterState struct {
	// A regular expression used to validate the parameter value.
	AllowedPattern interface{}
	// The ARN of the parameter.
	Arn interface{}
	// The description of the parameter.
	Description interface{}
	// The KMS key id or arn for encrypting a SecureString.
	KeyId interface{}
	// The name of the parameter. If the name contains a path (e.g. any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html).
	Name interface{}
	// Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by terraform to avoid overwrite of existing resource and will default to `true` otherwise (terraform lifecycle rules should then be used to manage the update behavior).
	Overwrite interface{}
	// A mapping of tags to assign to the object.
	Tags interface{}
	// The type of the parameter. Valid types are `String`, `StringList` and `SecureString`.
	Type interface{}
	// The value of the parameter.
	Value interface{}
}

Input properties used for looking up and filtering Parameter resources.

type PatchBaseline

type PatchBaseline struct {
	// contains filtered or unexported fields
}

Provides an SSM Patch Baseline resource

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

func GetPatchBaseline

func GetPatchBaseline(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PatchBaselineState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*PatchBaseline, error)

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

func (*PatchBaseline) ApprovalRules

func (r *PatchBaseline) ApprovalRules() *pulumi.ArrayOutput

A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approval_rule block requires the fields documented below.

func (*PatchBaseline) ApprovedPatches

func (r *PatchBaseline) ApprovedPatches() *pulumi.ArrayOutput

A list of explicitly approved patches for the baseline.

func (*PatchBaseline) ApprovedPatchesComplianceLevel

func (r *PatchBaseline) ApprovedPatchesComplianceLevel() *pulumi.StringOutput

Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.

func (*PatchBaseline) Description

func (r *PatchBaseline) Description() *pulumi.StringOutput

The description of the patch baseline.

func (*PatchBaseline) GlobalFilters

func (r *PatchBaseline) GlobalFilters() *pulumi.ArrayOutput

A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.

func (*PatchBaseline) ID

func (r *PatchBaseline) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*PatchBaseline) Name

func (r *PatchBaseline) Name() *pulumi.StringOutput

The name of the patch baseline.

func (*PatchBaseline) OperatingSystem

func (r *PatchBaseline) OperatingSystem() *pulumi.StringOutput

Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.

func (*PatchBaseline) RejectedPatches

func (r *PatchBaseline) RejectedPatches() *pulumi.ArrayOutput

A list of rejected patches.

func (*PatchBaseline) URN

func (r *PatchBaseline) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PatchBaselineArgs

type PatchBaselineArgs struct {
	// A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approval_rule block requires the fields documented below.
	ApprovalRules interface{}
	// A list of explicitly approved patches for the baseline.
	ApprovedPatches interface{}
	// Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ApprovedPatchesComplianceLevel interface{}
	// The description of the patch baseline.
	Description interface{}
	// A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.
	GlobalFilters interface{}
	// The name of the patch baseline.
	Name interface{}
	// Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
	OperatingSystem interface{}
	// A list of rejected patches.
	RejectedPatches interface{}
}

The set of arguments for constructing a PatchBaseline resource.

type PatchBaselineState

type PatchBaselineState struct {
	// A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approval_rule block requires the fields documented below.
	ApprovalRules interface{}
	// A list of explicitly approved patches for the baseline.
	ApprovedPatches interface{}
	// Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
	ApprovedPatchesComplianceLevel interface{}
	// The description of the patch baseline.
	Description interface{}
	// A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`.
	GlobalFilters interface{}
	// The name of the patch baseline.
	Name interface{}
	// Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`.
	OperatingSystem interface{}
	// A list of rejected patches.
	RejectedPatches interface{}
}

Input properties used for looking up and filtering PatchBaseline resources.

type PatchGroup

type PatchGroup struct {
	// contains filtered or unexported fields
}

Provides an SSM Patch Group resource

func GetPatchGroup

func GetPatchGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PatchGroupState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*PatchGroup, error)

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

func (*PatchGroup) BaselineId

func (r *PatchGroup) BaselineId() *pulumi.StringOutput

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

func (*PatchGroup) ID

func (r *PatchGroup) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*PatchGroup) PatchGroup

func (r *PatchGroup) PatchGroup() *pulumi.StringOutput

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

func (*PatchGroup) URN

func (r *PatchGroup) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PatchGroupArgs

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

The set of arguments for constructing a PatchGroup resource.

type PatchGroupState

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

Input properties used for looking up and filtering PatchGroup resources.

type ResourceDataSync

type ResourceDataSync struct {
	// contains filtered or unexported fields
}

Provides a SSM resource data sync.

## s3_destination

`s3_destination` supports the following:

* `bucket_name` - (Required) Name of S3 bucket where the aggregated data is stored. * `region` - (Required) Region with the bucket targeted by the Resource Data Sync. * `kms_key_arn` - (Optional) ARN of an encryption key for a destination in Amazon S3. * `prefix` - (Optional) Prefix for the bucket. * `sync_format` - (Optional) A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe.

func GetResourceDataSync

func GetResourceDataSync(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ResourceDataSyncState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*ResourceDataSync, error)

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

func (*ResourceDataSync) ID

func (r *ResourceDataSync) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ResourceDataSync) Name

Name for the configuration.

func (*ResourceDataSync) S3Destination

func (r *ResourceDataSync) S3Destination() *pulumi.Output

Amazon S3 configuration details for the sync.

func (*ResourceDataSync) URN

func (r *ResourceDataSync) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ResourceDataSyncArgs

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

The set of arguments for constructing a ResourceDataSync resource.

type ResourceDataSyncState

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

Input properties used for looking up and filtering ResourceDataSync resources.

Jump to

Keyboard shortcuts

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