awscc.ssm_association¶
Filters¶
event
reduce
value
Actions¶
delete¶
Parent base class for filters and actions.
properties:
type:
enum:
- delete
required:
- type
Permissions - ssm:DeleteAssociation
update¶
Parent base class for filters and actions.
definitions:
InstanceAssociationOutputLocation:
additionalProperties: false
properties:
S3Location:
additionalProperties: false
properties:
OutputS3BucketName:
maxLength: 63
minLength: 3
type: string
OutputS3KeyPrefix:
maxLength: 1024
type: string
OutputS3Region:
maxLength: 20
minLength: 3
type: string
type: object
type: object
ParameterValues:
items:
type: string
type: array
S3BucketName:
maxLength: 63
minLength: 3
type: string
S3KeyPrefix:
maxLength: 1024
type: string
S3OutputLocation:
additionalProperties: false
properties:
OutputS3BucketName:
maxLength: 63
minLength: 3
type: string
OutputS3KeyPrefix:
maxLength: 1024
type: string
OutputS3Region:
maxLength: 20
minLength: 3
type: string
type: object
S3Region:
maxLength: 20
minLength: 3
type: string
Target:
additionalProperties: false
properties:
Key:
pattern: ^[\p{L}\p{Z}\p{N}_.:/=+\-@]{1,128}$|resource-groups:Name
type: string
Values:
items:
type: string
maxItems: 50
minItems: 0
type: array
required:
- Key
- Values
type: object
properties:
ApplyOnlyAtCronInterval:
type: boolean
AssociationName:
description: The name of the association.
pattern: ^[a-zA-Z0-9_\-.]{3,128}$
type: string
AutomationTargetParameterName:
maxLength: 50
minLength: 1
type: string
CalendarNames:
examples:
- - calendar1
- calendar2
- - calendar3
items:
type: string
type: array
ComplianceSeverity:
enum:
- CRITICAL
- HIGH
- MEDIUM
- LOW
- UNSPECIFIED
type: string
DocumentVersion:
description: The version of the SSM document to associate with the target.
pattern: ([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)
type: string
InstanceId:
description: The ID of the instance that the SSM document is associated with.
examples:
- i-0e60836d21cf313c4
- mi-0532c22e49636ee13
pattern: (^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)
type: string
MaxConcurrency:
examples:
- 1%
- 10%
- 50%
- '1'
pattern: ^([1-9][0-9]{0,6}|[1-9][0-9]%|[1-9]%|100%)$
type: string
MaxErrors:
examples:
- 1%
- 10%
- 50%
- '1'
pattern: ^([1-9][0-9]{0,6}|[0]|[1-9][0-9]%|[0-9]%|100%)$
type: string
Name:
description: The name of the SSM document.
examples:
- AWS-GatherSoftwareInventory
- MyCustomSSMDocument
pattern: ^[a-zA-Z0-9_\-.:/]{3,200}$
type: string
OutputLocation:
additionalProperties: false
properties:
S3Location:
additionalProperties: false
properties:
OutputS3BucketName:
maxLength: 63
minLength: 3
type: string
OutputS3KeyPrefix:
maxLength: 1024
type: string
OutputS3Region:
maxLength: 20
minLength: 3
type: string
type: object
type: object
Parameters:
additionalProperties: false
description: Parameter values that the SSM document uses at runtime.
patternProperties:
.*{1,255}:
items:
type: string
type: array
type: object
ScheduleExpression:
description: A Cron or Rate expression that specifies when the association is
applied to the target.
examples:
- cron(0 0 */1 * * ? *)
- cron(0 16 ? * TUE *)
- rate(30 minutes)
- rate(7 days)
maxLength: 256
minLength: 1
type: string
SyncCompliance:
enum:
- AUTO
- MANUAL
type: string
Targets:
description: The targets that the SSM document sends commands to.
items:
additionalProperties: false
properties:
Key:
pattern: ^[\p{L}\p{Z}\p{N}_.:/=+\-@]{1,128}$|resource-groups:Name
type: string
Values:
items:
type: string
maxItems: 50
minItems: 0
type: array
required:
- Key
- Values
type: object
maxItems: 5
minItems: 0
type: array
WaitForSuccessTimeoutSeconds:
maximum: 172800
minimum: 15
type: integer
type:
enum:
- update
Permissions - iam:PassRole, ssm:UpdateAssociation