Documentation ¶
Index ¶
- Constants
- type Activation
- type ActivationArgs
- type ActivationArray
- type ActivationArrayInput
- type ActivationArrayOutput
- func (ActivationArrayOutput) ElementType() reflect.Type
- func (o ActivationArrayOutput) Index(i pulumi.IntInput) ActivationOutput
- func (o ActivationArrayOutput) ToActivationArrayOutput() ActivationArrayOutput
- func (o ActivationArrayOutput) ToActivationArrayOutputWithContext(ctx context.Context) ActivationArrayOutput
- type ActivationInput
- type ActivationMap
- type ActivationMapInput
- type ActivationMapOutput
- func (ActivationMapOutput) ElementType() reflect.Type
- func (o ActivationMapOutput) MapIndex(k pulumi.StringInput) ActivationOutput
- func (o ActivationMapOutput) ToActivationMapOutput() ActivationMapOutput
- func (o ActivationMapOutput) ToActivationMapOutputWithContext(ctx context.Context) ActivationMapOutput
- type ActivationOutput
- type ActivationState
- type Association
- type AssociationArgs
- type AssociationArray
- type AssociationArrayInput
- type AssociationArrayOutput
- func (AssociationArrayOutput) ElementType() reflect.Type
- func (o AssociationArrayOutput) Index(i pulumi.IntInput) AssociationOutput
- func (o AssociationArrayOutput) ToAssociationArrayOutput() AssociationArrayOutput
- func (o AssociationArrayOutput) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput
- type AssociationInput
- type AssociationMap
- type AssociationMapInput
- type AssociationMapOutput
- func (AssociationMapOutput) ElementType() reflect.Type
- func (o AssociationMapOutput) MapIndex(k pulumi.StringInput) AssociationOutput
- func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput
- func (o AssociationMapOutput) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput
- type AssociationOutput
- type AssociationOutputLocation
- type AssociationOutputLocationArgs
- func (AssociationOutputLocationArgs) ElementType() reflect.Type
- func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput
- func (i AssociationOutputLocationArgs) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput
- func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
- func (i AssociationOutputLocationArgs) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput
- type AssociationOutputLocationInput
- type AssociationOutputLocationOutput
- func (AssociationOutputLocationOutput) ElementType() reflect.Type
- func (o AssociationOutputLocationOutput) S3BucketName() pulumi.StringOutput
- func (o AssociationOutputLocationOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o AssociationOutputLocationOutput) S3Region() pulumi.StringPtrOutput
- func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput
- func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput
- func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
- func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput
- type AssociationOutputLocationPtrInput
- type AssociationOutputLocationPtrOutput
- func (o AssociationOutputLocationPtrOutput) Elem() AssociationOutputLocationOutput
- func (AssociationOutputLocationPtrOutput) ElementType() reflect.Type
- func (o AssociationOutputLocationPtrOutput) S3BucketName() pulumi.StringPtrOutput
- func (o AssociationOutputLocationPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o AssociationOutputLocationPtrOutput) S3Region() pulumi.StringPtrOutput
- func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
- func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput
- type AssociationState
- type AssociationTarget
- type AssociationTargetArgs
- type AssociationTargetArray
- type AssociationTargetArrayInput
- type AssociationTargetArrayOutput
- func (AssociationTargetArrayOutput) ElementType() reflect.Type
- func (o AssociationTargetArrayOutput) Index(i pulumi.IntInput) AssociationTargetOutput
- func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutput() AssociationTargetArrayOutput
- func (o AssociationTargetArrayOutput) ToAssociationTargetArrayOutputWithContext(ctx context.Context) AssociationTargetArrayOutput
- type AssociationTargetInput
- type AssociationTargetOutput
- func (AssociationTargetOutput) ElementType() reflect.Type
- func (o AssociationTargetOutput) Key() pulumi.StringOutput
- func (o AssociationTargetOutput) ToAssociationTargetOutput() AssociationTargetOutput
- func (o AssociationTargetOutput) ToAssociationTargetOutputWithContext(ctx context.Context) AssociationTargetOutput
- func (o AssociationTargetOutput) Values() pulumi.StringArrayOutput
- type Document
- type DocumentArgs
- type DocumentArray
- type DocumentArrayInput
- type DocumentArrayOutput
- type DocumentAttachmentsSource
- type DocumentAttachmentsSourceArgs
- func (DocumentAttachmentsSourceArgs) ElementType() reflect.Type
- func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput
- func (i DocumentAttachmentsSourceArgs) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput
- type DocumentAttachmentsSourceArray
- func (DocumentAttachmentsSourceArray) ElementType() reflect.Type
- func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput
- func (i DocumentAttachmentsSourceArray) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput
- type DocumentAttachmentsSourceArrayInput
- type DocumentAttachmentsSourceArrayOutput
- func (DocumentAttachmentsSourceArrayOutput) ElementType() reflect.Type
- func (o DocumentAttachmentsSourceArrayOutput) Index(i pulumi.IntInput) DocumentAttachmentsSourceOutput
- func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutput() DocumentAttachmentsSourceArrayOutput
- func (o DocumentAttachmentsSourceArrayOutput) ToDocumentAttachmentsSourceArrayOutputWithContext(ctx context.Context) DocumentAttachmentsSourceArrayOutput
- type DocumentAttachmentsSourceInput
- type DocumentAttachmentsSourceOutput
- func (DocumentAttachmentsSourceOutput) ElementType() reflect.Type
- func (o DocumentAttachmentsSourceOutput) Key() pulumi.StringOutput
- func (o DocumentAttachmentsSourceOutput) Name() pulumi.StringPtrOutput
- func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutput() DocumentAttachmentsSourceOutput
- func (o DocumentAttachmentsSourceOutput) ToDocumentAttachmentsSourceOutputWithContext(ctx context.Context) DocumentAttachmentsSourceOutput
- func (o DocumentAttachmentsSourceOutput) Values() pulumi.StringArrayOutput
- type DocumentInput
- type DocumentMap
- type DocumentMapInput
- type DocumentMapOutput
- type DocumentOutput
- type DocumentParameter
- type DocumentParameterArgs
- type DocumentParameterArray
- type DocumentParameterArrayInput
- type DocumentParameterArrayOutput
- func (DocumentParameterArrayOutput) ElementType() reflect.Type
- func (o DocumentParameterArrayOutput) Index(i pulumi.IntInput) DocumentParameterOutput
- func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutput() DocumentParameterArrayOutput
- func (o DocumentParameterArrayOutput) ToDocumentParameterArrayOutputWithContext(ctx context.Context) DocumentParameterArrayOutput
- type DocumentParameterInput
- type DocumentParameterOutput
- func (o DocumentParameterOutput) DefaultValue() pulumi.StringPtrOutput
- func (o DocumentParameterOutput) Description() pulumi.StringPtrOutput
- func (DocumentParameterOutput) ElementType() reflect.Type
- func (o DocumentParameterOutput) Name() pulumi.StringPtrOutput
- func (o DocumentParameterOutput) ToDocumentParameterOutput() DocumentParameterOutput
- func (o DocumentParameterOutput) ToDocumentParameterOutputWithContext(ctx context.Context) DocumentParameterOutput
- func (o DocumentParameterOutput) Type() pulumi.StringPtrOutput
- type DocumentState
- type GetParametersByPathArgs
- type GetParametersByPathOutputArgs
- type GetParametersByPathResult
- type GetParametersByPathResultOutput
- func (o GetParametersByPathResultOutput) Arns() pulumi.StringArrayOutput
- func (GetParametersByPathResultOutput) ElementType() reflect.Type
- func (o GetParametersByPathResultOutput) Id() pulumi.StringOutput
- func (o GetParametersByPathResultOutput) Names() pulumi.StringArrayOutput
- func (o GetParametersByPathResultOutput) Path() pulumi.StringOutput
- func (o GetParametersByPathResultOutput) Recursive() pulumi.BoolPtrOutput
- func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutput() GetParametersByPathResultOutput
- func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext(ctx context.Context) GetParametersByPathResultOutput
- func (o GetParametersByPathResultOutput) Types() pulumi.StringArrayOutput
- func (o GetParametersByPathResultOutput) Values() pulumi.StringArrayOutput
- func (o GetParametersByPathResultOutput) WithDecryption() pulumi.BoolPtrOutput
- type LookupDocumentArgs
- type LookupDocumentOutputArgs
- type LookupDocumentResult
- type LookupDocumentResultOutput
- func (o LookupDocumentResultOutput) Arn() pulumi.StringOutput
- func (o LookupDocumentResultOutput) Content() pulumi.StringOutput
- func (o LookupDocumentResultOutput) DocumentFormat() pulumi.StringPtrOutput
- func (o LookupDocumentResultOutput) DocumentType() pulumi.StringOutput
- func (o LookupDocumentResultOutput) DocumentVersion() pulumi.StringPtrOutput
- func (LookupDocumentResultOutput) ElementType() reflect.Type
- func (o LookupDocumentResultOutput) Id() pulumi.StringOutput
- func (o LookupDocumentResultOutput) Name() pulumi.StringOutput
- func (o LookupDocumentResultOutput) ToLookupDocumentResultOutput() LookupDocumentResultOutput
- func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx context.Context) LookupDocumentResultOutput
- type LookupParameterArgs
- type LookupParameterOutputArgs
- type LookupParameterResult
- type LookupParameterResultOutput
- func (o LookupParameterResultOutput) Arn() pulumi.StringOutput
- func (LookupParameterResultOutput) ElementType() reflect.Type
- func (o LookupParameterResultOutput) Id() pulumi.StringOutput
- func (o LookupParameterResultOutput) Name() pulumi.StringOutput
- func (o LookupParameterResultOutput) ToLookupParameterResultOutput() LookupParameterResultOutput
- func (o LookupParameterResultOutput) ToLookupParameterResultOutputWithContext(ctx context.Context) LookupParameterResultOutput
- func (o LookupParameterResultOutput) Type() pulumi.StringOutput
- func (o LookupParameterResultOutput) Value() pulumi.StringOutput
- func (o LookupParameterResultOutput) Version() pulumi.IntOutput
- func (o LookupParameterResultOutput) WithDecryption() pulumi.BoolPtrOutput
- type LookupPatchBaselineArgs
- type LookupPatchBaselineOutputArgs
- type LookupPatchBaselineResult
- type LookupPatchBaselineResultOutput
- func (o LookupPatchBaselineResultOutput) DefaultBaseline() pulumi.BoolPtrOutput
- func (o LookupPatchBaselineResultOutput) Description() pulumi.StringOutput
- func (LookupPatchBaselineResultOutput) ElementType() reflect.Type
- func (o LookupPatchBaselineResultOutput) Id() pulumi.StringOutput
- func (o LookupPatchBaselineResultOutput) Name() pulumi.StringOutput
- func (o LookupPatchBaselineResultOutput) NamePrefix() pulumi.StringPtrOutput
- func (o LookupPatchBaselineResultOutput) OperatingSystem() pulumi.StringPtrOutput
- func (o LookupPatchBaselineResultOutput) Owner() pulumi.StringOutput
- func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput() LookupPatchBaselineResultOutput
- func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext(ctx context.Context) LookupPatchBaselineResultOutput
- type MaintenanceWindow
- type MaintenanceWindowArgs
- type MaintenanceWindowArray
- type MaintenanceWindowArrayInput
- type MaintenanceWindowArrayOutput
- func (MaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowOutput
- func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
- func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput
- type MaintenanceWindowInput
- type MaintenanceWindowMap
- type MaintenanceWindowMapInput
- type MaintenanceWindowMapOutput
- func (MaintenanceWindowMapOutput) ElementType() reflect.Type
- func (o MaintenanceWindowMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowOutput
- func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
- func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput
- type MaintenanceWindowOutput
- type MaintenanceWindowState
- type MaintenanceWindowTarget
- type MaintenanceWindowTargetArgs
- type MaintenanceWindowTargetArray
- func (MaintenanceWindowTargetArray) ElementType() reflect.Type
- func (i MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput
- func (i MaintenanceWindowTargetArray) ToMaintenanceWindowTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetArrayOutput
- type MaintenanceWindowTargetArrayInput
- type MaintenanceWindowTargetArrayOutput
- func (MaintenanceWindowTargetArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTargetOutput
- func (o MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutput() MaintenanceWindowTargetArrayOutput
- func (o MaintenanceWindowTargetArrayOutput) ToMaintenanceWindowTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetArrayOutput
- type MaintenanceWindowTargetInput
- type MaintenanceWindowTargetMap
- func (MaintenanceWindowTargetMap) ElementType() reflect.Type
- func (i MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput
- func (i MaintenanceWindowTargetMap) ToMaintenanceWindowTargetMapOutputWithContext(ctx context.Context) MaintenanceWindowTargetMapOutput
- type MaintenanceWindowTargetMapInput
- type MaintenanceWindowTargetMapOutput
- func (MaintenanceWindowTargetMapOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTargetMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowTargetOutput
- func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput
- func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext(ctx context.Context) MaintenanceWindowTargetMapOutput
- type MaintenanceWindowTargetOutput
- type MaintenanceWindowTargetState
- type MaintenanceWindowTargetTarget
- type MaintenanceWindowTargetTargetArgs
- func (MaintenanceWindowTargetTargetArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput
- func (i MaintenanceWindowTargetTargetArgs) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput
- type MaintenanceWindowTargetTargetArray
- func (MaintenanceWindowTargetTargetArray) ElementType() reflect.Type
- func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput
- func (i MaintenanceWindowTargetTargetArray) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput
- type MaintenanceWindowTargetTargetArrayInput
- type MaintenanceWindowTargetTargetArrayOutput
- func (MaintenanceWindowTargetTargetArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTargetTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTargetTargetOutput
- func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutput() MaintenanceWindowTargetTargetArrayOutput
- func (o MaintenanceWindowTargetTargetArrayOutput) ToMaintenanceWindowTargetTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetArrayOutput
- type MaintenanceWindowTargetTargetInput
- type MaintenanceWindowTargetTargetOutput
- func (MaintenanceWindowTargetTargetOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTargetTargetOutput) Key() pulumi.StringOutput
- func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput
- func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput
- func (o MaintenanceWindowTargetTargetOutput) Values() pulumi.StringArrayOutput
- type MaintenanceWindowTask
- type MaintenanceWindowTaskArgs
- type MaintenanceWindowTaskArray
- func (MaintenanceWindowTaskArray) ElementType() reflect.Type
- func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput
- func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskArrayOutput
- type MaintenanceWindowTaskArrayInput
- type MaintenanceWindowTaskArrayOutput
- func (MaintenanceWindowTaskArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTaskOutput
- func (o MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput
- func (o MaintenanceWindowTaskArrayOutput) ToMaintenanceWindowTaskArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskArrayOutput
- type MaintenanceWindowTaskInput
- type MaintenanceWindowTaskMap
- type MaintenanceWindowTaskMapInput
- type MaintenanceWindowTaskMapOutput
- func (MaintenanceWindowTaskMapOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowTaskOutput
- func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput
- func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext(ctx context.Context) MaintenanceWindowTaskMapOutput
- type MaintenanceWindowTaskOutput
- type MaintenanceWindowTaskState
- type MaintenanceWindowTaskTarget
- type MaintenanceWindowTaskTargetArgs
- func (MaintenanceWindowTaskTargetArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput
- func (i MaintenanceWindowTaskTargetArgs) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput
- type MaintenanceWindowTaskTargetArray
- func (MaintenanceWindowTaskTargetArray) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput
- func (i MaintenanceWindowTaskTargetArray) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput
- type MaintenanceWindowTaskTargetArrayInput
- type MaintenanceWindowTaskTargetArrayOutput
- func (MaintenanceWindowTaskTargetArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTaskTargetOutput
- func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutput() MaintenanceWindowTaskTargetArrayOutput
- func (o MaintenanceWindowTaskTargetArrayOutput) ToMaintenanceWindowTaskTargetArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetArrayOutput
- type MaintenanceWindowTaskTargetInput
- type MaintenanceWindowTaskTargetOutput
- func (MaintenanceWindowTaskTargetOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTargetOutput) Key() pulumi.StringOutput
- func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput
- func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput
- func (o MaintenanceWindowTaskTargetOutput) Values() pulumi.StringArrayOutput
- type MaintenanceWindowTaskTaskInvocationParameters
- type MaintenanceWindowTaskTaskInvocationParametersArgs
- func (MaintenanceWindowTaskTaskInvocationParametersArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParameters
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersInput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) DocumentVersion() pulumi.StringPtrOutput
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) Parameters() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameter
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayInput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) Index(i pulumi.IntInput) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Name() pulumi.StringOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext(ctx context.Context) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Values() pulumi.StringArrayOutput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) DocumentVersion() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Parameters() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersInput
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParameters
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs
- func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersInput
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ClientContext() pulumi.StringPtrOutput
- func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Payload() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Qualifier() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ClientContext() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Payload() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Qualifier() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (MaintenanceWindowTaskTaskInvocationParametersOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext(ctx context.Context) ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchLogGroupName() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchOutputEnabled() pulumi.BoolPtrOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext(ctx context.Context) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchLogGroupName() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchOutputEnabled() pulumi.BoolPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) Elem() ...
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext(ctx context.Context) ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationArn() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationEvents() pulumi.StringArrayOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationType() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext(ctx context.Context) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) Elem() ...
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationArn() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationEvents() pulumi.StringArrayOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationType() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) CloudwatchConfig() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Comment() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHash() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHashType() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentVersion() pulumi.StringPtrOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) NotificationConfig() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3Bucket() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Parameters() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ServiceRoleArn() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput() ...
- func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) Index(i pulumi.IntInput) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext(ctx context.Context) ...
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Name() pulumi.StringOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext(ctx context.Context) ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Values() pulumi.StringArrayOutput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) CloudwatchConfig() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Comment() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHash() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHashType() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentVersion() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) NotificationConfig() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3Bucket() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Parameters() ...
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ServiceRoleArn() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParameters
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs
- func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ElementType() reflect.Type
- func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersInput
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Input() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Name() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput
- type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Elem() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
- func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ElementType() reflect.Type
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Input() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Name() pulumi.StringPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
- type Parameter
- type ParameterArgs
- type ParameterArray
- type ParameterArrayInput
- type ParameterArrayOutput
- func (ParameterArrayOutput) ElementType() reflect.Type
- func (o ParameterArrayOutput) Index(i pulumi.IntInput) ParameterOutput
- func (o ParameterArrayOutput) ToParameterArrayOutput() ParameterArrayOutput
- func (o ParameterArrayOutput) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput
- type ParameterInput
- type ParameterMap
- type ParameterMapInput
- type ParameterMapOutput
- type ParameterOutput
- type ParameterState
- type ParameterType
- func (ParameterType) ElementType() reflect.Type
- func (e ParameterType) ToParameterTypeOutput() ParameterTypeOutput
- func (e ParameterType) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput
- func (e ParameterType) ToParameterTypePtrOutput() ParameterTypePtrOutput
- func (e ParameterType) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
- func (e ParameterType) ToStringOutput() pulumi.StringOutput
- func (e ParameterType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e ParameterType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e ParameterType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ParameterTypeInput
- type ParameterTypeOutput
- func (ParameterTypeOutput) ElementType() reflect.Type
- func (o ParameterTypeOutput) ToParameterTypeOutput() ParameterTypeOutput
- func (o ParameterTypeOutput) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput
- func (o ParameterTypeOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput
- func (o ParameterTypeOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
- func (o ParameterTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o ParameterTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o ParameterTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ParameterTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ParameterTypePtrInput
- type ParameterTypePtrOutput
- func (o ParameterTypePtrOutput) Elem() ParameterTypeOutput
- func (ParameterTypePtrOutput) ElementType() reflect.Type
- func (o ParameterTypePtrOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput
- func (o ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
- func (o ParameterTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ParameterTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type PatchBaseline
- type PatchBaselineApprovalRule
- type PatchBaselineApprovalRuleArgs
- func (PatchBaselineApprovalRuleArgs) ElementType() reflect.Type
- func (i PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput
- func (i PatchBaselineApprovalRuleArgs) ToPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleOutput
- type PatchBaselineApprovalRuleArray
- func (PatchBaselineApprovalRuleArray) ElementType() reflect.Type
- func (i PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutput() PatchBaselineApprovalRuleArrayOutput
- func (i PatchBaselineApprovalRuleArray) ToPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleArrayOutput
- type PatchBaselineApprovalRuleArrayInput
- type PatchBaselineApprovalRuleArrayOutput
- func (PatchBaselineApprovalRuleArrayOutput) ElementType() reflect.Type
- func (o PatchBaselineApprovalRuleArrayOutput) Index(i pulumi.IntInput) PatchBaselineApprovalRuleOutput
- func (o PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutput() PatchBaselineApprovalRuleArrayOutput
- func (o PatchBaselineApprovalRuleArrayOutput) ToPatchBaselineApprovalRuleArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleArrayOutput
- type PatchBaselineApprovalRuleInput
- type PatchBaselineApprovalRuleOutput
- func (o PatchBaselineApprovalRuleOutput) ApproveAfterDays() pulumi.IntPtrOutput
- func (o PatchBaselineApprovalRuleOutput) ApproveUntilDate() pulumi.StringPtrOutput
- func (o PatchBaselineApprovalRuleOutput) ComplianceLevel() pulumi.StringPtrOutput
- func (PatchBaselineApprovalRuleOutput) ElementType() reflect.Type
- func (o PatchBaselineApprovalRuleOutput) EnableNonSecurity() pulumi.BoolPtrOutput
- func (o PatchBaselineApprovalRuleOutput) PatchFilters() PatchBaselineApprovalRulePatchFilterArrayOutput
- func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput
- func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleOutput
- type PatchBaselineApprovalRulePatchFilter
- type PatchBaselineApprovalRulePatchFilterArgs
- func (PatchBaselineApprovalRulePatchFilterArgs) ElementType() reflect.Type
- func (i PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput
- func (i PatchBaselineApprovalRulePatchFilterArgs) ToPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterOutput
- type PatchBaselineApprovalRulePatchFilterArray
- func (PatchBaselineApprovalRulePatchFilterArray) ElementType() reflect.Type
- func (i PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutput() PatchBaselineApprovalRulePatchFilterArrayOutput
- func (i PatchBaselineApprovalRulePatchFilterArray) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterArrayOutput
- type PatchBaselineApprovalRulePatchFilterArrayInput
- type PatchBaselineApprovalRulePatchFilterArrayOutput
- func (PatchBaselineApprovalRulePatchFilterArrayOutput) ElementType() reflect.Type
- func (o PatchBaselineApprovalRulePatchFilterArrayOutput) Index(i pulumi.IntInput) PatchBaselineApprovalRulePatchFilterOutput
- func (o PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutput() PatchBaselineApprovalRulePatchFilterArrayOutput
- func (o PatchBaselineApprovalRulePatchFilterArrayOutput) ToPatchBaselineApprovalRulePatchFilterArrayOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterArrayOutput
- type PatchBaselineApprovalRulePatchFilterInput
- type PatchBaselineApprovalRulePatchFilterOutput
- func (PatchBaselineApprovalRulePatchFilterOutput) ElementType() reflect.Type
- func (o PatchBaselineApprovalRulePatchFilterOutput) Key() pulumi.StringOutput
- func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput
- func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterOutput
- func (o PatchBaselineApprovalRulePatchFilterOutput) Values() pulumi.StringArrayOutput
- type PatchBaselineArgs
- type PatchBaselineArray
- type PatchBaselineArrayInput
- type PatchBaselineArrayOutput
- func (PatchBaselineArrayOutput) ElementType() reflect.Type
- func (o PatchBaselineArrayOutput) Index(i pulumi.IntInput) PatchBaselineOutput
- func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput
- func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput
- type PatchBaselineGlobalFilter
- type PatchBaselineGlobalFilterArgs
- func (PatchBaselineGlobalFilterArgs) ElementType() reflect.Type
- func (i PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput
- func (i PatchBaselineGlobalFilterArgs) ToPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterOutput
- type PatchBaselineGlobalFilterArray
- func (PatchBaselineGlobalFilterArray) ElementType() reflect.Type
- func (i PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutput() PatchBaselineGlobalFilterArrayOutput
- func (i PatchBaselineGlobalFilterArray) ToPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterArrayOutput
- type PatchBaselineGlobalFilterArrayInput
- type PatchBaselineGlobalFilterArrayOutput
- func (PatchBaselineGlobalFilterArrayOutput) ElementType() reflect.Type
- func (o PatchBaselineGlobalFilterArrayOutput) Index(i pulumi.IntInput) PatchBaselineGlobalFilterOutput
- func (o PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutput() PatchBaselineGlobalFilterArrayOutput
- func (o PatchBaselineGlobalFilterArrayOutput) ToPatchBaselineGlobalFilterArrayOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterArrayOutput
- type PatchBaselineGlobalFilterInput
- type PatchBaselineGlobalFilterOutput
- func (PatchBaselineGlobalFilterOutput) ElementType() reflect.Type
- func (o PatchBaselineGlobalFilterOutput) Key() pulumi.StringOutput
- func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput
- func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterOutput
- func (o PatchBaselineGlobalFilterOutput) Values() pulumi.StringArrayOutput
- type PatchBaselineInput
- type PatchBaselineMap
- type PatchBaselineMapInput
- type PatchBaselineMapOutput
- func (PatchBaselineMapOutput) ElementType() reflect.Type
- func (o PatchBaselineMapOutput) MapIndex(k pulumi.StringInput) PatchBaselineOutput
- func (o PatchBaselineMapOutput) ToPatchBaselineMapOutput() PatchBaselineMapOutput
- func (o PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput
- type PatchBaselineOutput
- type PatchBaselineSource
- type PatchBaselineSourceArgs
- type PatchBaselineSourceArray
- type PatchBaselineSourceArrayInput
- type PatchBaselineSourceArrayOutput
- func (PatchBaselineSourceArrayOutput) ElementType() reflect.Type
- func (o PatchBaselineSourceArrayOutput) Index(i pulumi.IntInput) PatchBaselineSourceOutput
- func (o PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput
- func (o PatchBaselineSourceArrayOutput) ToPatchBaselineSourceArrayOutputWithContext(ctx context.Context) PatchBaselineSourceArrayOutput
- type PatchBaselineSourceInput
- type PatchBaselineSourceOutput
- func (o PatchBaselineSourceOutput) Configuration() pulumi.StringOutput
- func (PatchBaselineSourceOutput) ElementType() reflect.Type
- func (o PatchBaselineSourceOutput) Name() pulumi.StringOutput
- func (o PatchBaselineSourceOutput) Products() pulumi.StringArrayOutput
- func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput
- func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext(ctx context.Context) PatchBaselineSourceOutput
- type PatchBaselineState
- type PatchGroup
- type PatchGroupArgs
- type PatchGroupArray
- type PatchGroupArrayInput
- type PatchGroupArrayOutput
- func (PatchGroupArrayOutput) ElementType() reflect.Type
- func (o PatchGroupArrayOutput) Index(i pulumi.IntInput) PatchGroupOutput
- func (o PatchGroupArrayOutput) ToPatchGroupArrayOutput() PatchGroupArrayOutput
- func (o PatchGroupArrayOutput) ToPatchGroupArrayOutputWithContext(ctx context.Context) PatchGroupArrayOutput
- type PatchGroupInput
- type PatchGroupMap
- type PatchGroupMapInput
- type PatchGroupMapOutput
- func (PatchGroupMapOutput) ElementType() reflect.Type
- func (o PatchGroupMapOutput) MapIndex(k pulumi.StringInput) PatchGroupOutput
- func (o PatchGroupMapOutput) ToPatchGroupMapOutput() PatchGroupMapOutput
- func (o PatchGroupMapOutput) ToPatchGroupMapOutputWithContext(ctx context.Context) PatchGroupMapOutput
- type PatchGroupOutput
- type PatchGroupState
- type ResourceDataSync
- type ResourceDataSyncArgs
- type ResourceDataSyncArray
- type ResourceDataSyncArrayInput
- type ResourceDataSyncArrayOutput
- func (ResourceDataSyncArrayOutput) ElementType() reflect.Type
- func (o ResourceDataSyncArrayOutput) Index(i pulumi.IntInput) ResourceDataSyncOutput
- func (o ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput
- func (o ResourceDataSyncArrayOutput) ToResourceDataSyncArrayOutputWithContext(ctx context.Context) ResourceDataSyncArrayOutput
- type ResourceDataSyncInput
- type ResourceDataSyncMap
- type ResourceDataSyncMapInput
- type ResourceDataSyncMapOutput
- func (ResourceDataSyncMapOutput) ElementType() reflect.Type
- func (o ResourceDataSyncMapOutput) MapIndex(k pulumi.StringInput) ResourceDataSyncOutput
- func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput
- func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext(ctx context.Context) ResourceDataSyncMapOutput
- type ResourceDataSyncOutput
- type ResourceDataSyncS3Destination
- type ResourceDataSyncS3DestinationArgs
- func (ResourceDataSyncS3DestinationArgs) ElementType() reflect.Type
- func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutput() ResourceDataSyncS3DestinationOutput
- func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationOutput
- func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput
- func (i ResourceDataSyncS3DestinationArgs) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput
- type ResourceDataSyncS3DestinationInput
- type ResourceDataSyncS3DestinationOutput
- func (o ResourceDataSyncS3DestinationOutput) BucketName() pulumi.StringOutput
- func (ResourceDataSyncS3DestinationOutput) ElementType() reflect.Type
- func (o ResourceDataSyncS3DestinationOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationOutput) Prefix() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationOutput) Region() pulumi.StringOutput
- func (o ResourceDataSyncS3DestinationOutput) SyncFormat() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutput() ResourceDataSyncS3DestinationOutput
- func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationOutput
- func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput
- func (o ResourceDataSyncS3DestinationOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput
- type ResourceDataSyncS3DestinationPtrInput
- type ResourceDataSyncS3DestinationPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) BucketName() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) Elem() ResourceDataSyncS3DestinationOutput
- func (ResourceDataSyncS3DestinationPtrOutput) ElementType() reflect.Type
- func (o ResourceDataSyncS3DestinationPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) Region() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) SyncFormat() pulumi.StringPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutput() ResourceDataSyncS3DestinationPtrOutput
- func (o ResourceDataSyncS3DestinationPtrOutput) ToResourceDataSyncS3DestinationPtrOutputWithContext(ctx context.Context) ResourceDataSyncS3DestinationPtrOutput
- type ResourceDataSyncState
Constants ¶
const ( ParameterTypeString = ParameterType("String") ParameterTypeStringList = ParameterType("StringList") ParameterTypeSecureString = ParameterType("SecureString") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation struct { pulumi.CustomResourceState // The code the system generates when it processes the activation. ActivationCode pulumi.StringOutput `pulumi:"activationCode"` // The description of the resource that you want to register. Description pulumi.StringPtrOutput `pulumi:"description"` // UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration. ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"` // If the current activation has expired. Expired pulumi.BoolOutput `pulumi:"expired"` // The IAM Role to attach to the managed instance. IamRole pulumi.StringOutput `pulumi:"iamRole"` // The default name of the registered managed instance. Name pulumi.StringOutput `pulumi:"name"` // The number of managed instances that are currently registered using this activation. RegistrationCount pulumi.IntOutput `pulumi:"registrationCount"` // The maximum number of managed instances you want to register. The default value is 1 instance. RegistrationLimit pulumi.IntPtrOutput `pulumi:"registrationLimit"` // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Registers an on-premises server or virtual machine with Amazon EC2 so that it can be managed using Run Command.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v", " {\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": {\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\"Service\": \"ssm.amazonaws.com\"},\n", " \"Action\": \"sts:AssumeRole\"\n", " }\n", " }\n")), }) if err != nil { return err } testAttach, err := iam.NewRolePolicyAttachment(ctx, "testAttach", &iam.RolePolicyAttachmentArgs{ Role: testRole.Name, PolicyArn: pulumi.String("arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"), }) if err != nil { return err } _, err = ssm.NewActivation(ctx, "foo", &ssm.ActivationArgs{ Description: pulumi.String("Test"), IamRole: testRole.ID(), RegistrationLimit: pulumi.Int(5), }, pulumi.DependsOn([]pulumi.Resource{ testAttach, })) if err != nil { return err } return nil }) }
```
## Import
AWS SSM Activation can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:ssm/activation:Activation example e488f2f6-e686-4afb-8a04-ef6dfEXAMPLE
```
func GetActivation ¶
func GetActivation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActivationState, opts ...pulumi.ResourceOption) (*Activation, error)
GetActivation gets an existing Activation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActivation ¶
func NewActivation(ctx *pulumi.Context, name string, args *ActivationArgs, opts ...pulumi.ResourceOption) (*Activation, error)
NewActivation registers a new resource with the given unique name, arguments, and options.
func (*Activation) ElementType ¶
func (*Activation) ElementType() reflect.Type
func (*Activation) ToActivationOutput ¶
func (i *Activation) ToActivationOutput() ActivationOutput
func (*Activation) ToActivationOutputWithContext ¶
func (i *Activation) ToActivationOutputWithContext(ctx context.Context) ActivationOutput
type ActivationArgs ¶
type ActivationArgs struct { // The description of the resource that you want to register. Description pulumi.StringPtrInput // UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration. ExpirationDate pulumi.StringPtrInput // The IAM Role to attach to the managed instance. IamRole pulumi.StringInput // The default name of the registered managed instance. Name pulumi.StringPtrInput // The maximum number of managed instances you want to register. The default value is 1 instance. RegistrationLimit pulumi.IntPtrInput // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Activation resource.
func (ActivationArgs) ElementType ¶
func (ActivationArgs) ElementType() reflect.Type
type ActivationArray ¶
type ActivationArray []ActivationInput
func (ActivationArray) ElementType ¶
func (ActivationArray) ElementType() reflect.Type
func (ActivationArray) ToActivationArrayOutput ¶
func (i ActivationArray) ToActivationArrayOutput() ActivationArrayOutput
func (ActivationArray) ToActivationArrayOutputWithContext ¶
func (i ActivationArray) ToActivationArrayOutputWithContext(ctx context.Context) ActivationArrayOutput
type ActivationArrayInput ¶
type ActivationArrayInput interface { pulumi.Input ToActivationArrayOutput() ActivationArrayOutput ToActivationArrayOutputWithContext(context.Context) ActivationArrayOutput }
ActivationArrayInput is an input type that accepts ActivationArray and ActivationArrayOutput values. You can construct a concrete instance of `ActivationArrayInput` via:
ActivationArray{ ActivationArgs{...} }
type ActivationArrayOutput ¶
type ActivationArrayOutput struct{ *pulumi.OutputState }
func (ActivationArrayOutput) ElementType ¶
func (ActivationArrayOutput) ElementType() reflect.Type
func (ActivationArrayOutput) Index ¶
func (o ActivationArrayOutput) Index(i pulumi.IntInput) ActivationOutput
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 (o ActivationMapOutput) MapIndex(k pulumi.StringInput) ActivationOutput
func (ActivationMapOutput) ToActivationMapOutput ¶
func (o ActivationMapOutput) ToActivationMapOutput() ActivationMapOutput
func (ActivationMapOutput) ToActivationMapOutputWithContext ¶
func (o ActivationMapOutput) ToActivationMapOutputWithContext(ctx context.Context) ActivationMapOutput
type ActivationOutput ¶
type ActivationOutput struct{ *pulumi.OutputState }
func (ActivationOutput) ElementType ¶
func (ActivationOutput) ElementType() reflect.Type
func (ActivationOutput) ToActivationOutput ¶
func (o ActivationOutput) ToActivationOutput() ActivationOutput
func (ActivationOutput) ToActivationOutputWithContext ¶
func (o ActivationOutput) ToActivationOutputWithContext(ctx context.Context) ActivationOutput
type ActivationState ¶
type ActivationState struct { // The code the system generates when it processes the activation. ActivationCode pulumi.StringPtrInput // The description of the resource that you want to register. Description pulumi.StringPtrInput // UTC timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) by which this activation request should expire. The default value is 24 hours from resource creation time. This provider will only perform drift detection of its value when present in a configuration. ExpirationDate pulumi.StringPtrInput // If the current activation has expired. Expired pulumi.BoolPtrInput // The IAM Role to attach to the managed instance. IamRole pulumi.StringPtrInput // The default name of the registered managed instance. Name pulumi.StringPtrInput // The number of managed instances that are currently registered using this activation. RegistrationCount pulumi.IntPtrInput // The maximum number of managed instances you want to register. The default value is 1 instance. RegistrationLimit pulumi.IntPtrInput // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (ActivationState) ElementType ¶
func (ActivationState) ElementType() reflect.Type
type Association ¶
type Association struct { pulumi.CustomResourceState // By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`. ApplyOnlyAtCronInterval pulumi.BoolPtrOutput `pulumi:"applyOnlyAtCronInterval"` // The ID of the SSM association. AssociationId pulumi.StringOutput `pulumi:"associationId"` // The descriptive name for the association. AssociationName pulumi.StringPtrOutput `pulumi:"associationName"` // Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls. This should be set to the SSM document `parameter` that will define how your automation will branch out. AutomationTargetParameterName pulumi.StringPtrOutput `pulumi:"automationTargetParameterName"` // The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL` ComplianceSeverity pulumi.StringPtrOutput `pulumi:"complianceSeverity"` // The document version you want to associate with the target(s). Can be a specific version or the default version. DocumentVersion pulumi.StringOutput `pulumi:"documentVersion"` // The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above. InstanceId pulumi.StringPtrOutput `pulumi:"instanceId"` // The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxConcurrency pulumi.StringPtrOutput `pulumi:"maxConcurrency"` // The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxErrors pulumi.StringPtrOutput `pulumi:"maxErrors"` // The name of the SSM document to apply. Name pulumi.StringOutput `pulumi:"name"` // An output location block. Output Location is documented below. OutputLocation AssociationOutputLocationPtrOutput `pulumi:"outputLocation"` // A block of arbitrary string parameters to pass to the SSM document. Parameters pulumi.StringMapOutput `pulumi:"parameters"` // A cron expression when the association will be applied to the target(s). ScheduleExpression pulumi.StringPtrOutput `pulumi:"scheduleExpression"` // A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets. Targets AssociationTargetArrayOutput `pulumi:"targets"` }
Associates an SSM Document to an instance or EC2 tag.
## Example Usage ### Create an association for a specific instance
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{ Targets: ssm.AssociationTargetArray{ &ssm.AssociationTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.Any(aws_instance.Example.Id), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create an association for all managed instances in an AWS account
To target all managed instances in an AWS account, set the `key` as `"InstanceIds"` with `values` set as `["*"]`. This example also illustrates how to use an Amazon owned SSM document named `AmazonCloudWatch-ManageAgent`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{ Targets: ssm.AssociationTargetArray{ &ssm.AssociationTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.String("*"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create an association for a specific tag
This example shows how to target all managed instances that are assigned a tag key of `Environment` and value of `Development`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewAssociation(ctx, "example", &ssm.AssociationArgs{ Targets: ssm.AssociationTargetArray{ &ssm.AssociationTargetArgs{ Key: pulumi.String("tag:Environment"), Values: pulumi.StringArray{ pulumi.String("Development"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
SSM associations can be imported using the `association_id`, e.g.,
```sh
$ pulumi import aws:ssm/association:Association test-association 10abcdef-0abc-1234-5678-90abcdef123456
```
func GetAssociation ¶
func GetAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AssociationState, opts ...pulumi.ResourceOption) (*Association, error)
GetAssociation gets an existing Association resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAssociation ¶
func NewAssociation(ctx *pulumi.Context, name string, args *AssociationArgs, opts ...pulumi.ResourceOption) (*Association, error)
NewAssociation registers a new resource with the given unique name, arguments, and options.
func (*Association) ElementType ¶
func (*Association) ElementType() reflect.Type
func (*Association) ToAssociationOutput ¶
func (i *Association) ToAssociationOutput() AssociationOutput
func (*Association) ToAssociationOutputWithContext ¶
func (i *Association) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput
type AssociationArgs ¶
type AssociationArgs struct { // By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`. ApplyOnlyAtCronInterval pulumi.BoolPtrInput // The descriptive name for the association. AssociationName pulumi.StringPtrInput // Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls. This should be set to the SSM document `parameter` that will define how your automation will branch out. AutomationTargetParameterName pulumi.StringPtrInput // The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL` ComplianceSeverity pulumi.StringPtrInput // The document version you want to associate with the target(s). Can be a specific version or the default version. DocumentVersion pulumi.StringPtrInput // The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above. InstanceId pulumi.StringPtrInput // The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxConcurrency pulumi.StringPtrInput // The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxErrors pulumi.StringPtrInput // The name of the SSM document to apply. Name pulumi.StringPtrInput // An output location block. Output Location is documented below. OutputLocation AssociationOutputLocationPtrInput // A block of arbitrary string parameters to pass to the SSM document. Parameters pulumi.StringMapInput // A cron expression when the association will be applied to the target(s). ScheduleExpression pulumi.StringPtrInput // A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets. Targets AssociationTargetArrayInput }
The set of arguments for constructing a Association resource.
func (AssociationArgs) ElementType ¶
func (AssociationArgs) ElementType() reflect.Type
type AssociationArray ¶
type AssociationArray []AssociationInput
func (AssociationArray) ElementType ¶
func (AssociationArray) ElementType() reflect.Type
func (AssociationArray) ToAssociationArrayOutput ¶
func (i AssociationArray) ToAssociationArrayOutput() AssociationArrayOutput
func (AssociationArray) ToAssociationArrayOutputWithContext ¶
func (i AssociationArray) ToAssociationArrayOutputWithContext(ctx context.Context) AssociationArrayOutput
type AssociationArrayInput ¶
type AssociationArrayInput interface { pulumi.Input ToAssociationArrayOutput() AssociationArrayOutput ToAssociationArrayOutputWithContext(context.Context) AssociationArrayOutput }
AssociationArrayInput is an input type that accepts AssociationArray and AssociationArrayOutput values. You can construct a concrete instance of `AssociationArrayInput` via:
AssociationArray{ AssociationArgs{...} }
type AssociationArrayOutput ¶
type AssociationArrayOutput struct{ *pulumi.OutputState }
func (AssociationArrayOutput) ElementType ¶
func (AssociationArrayOutput) ElementType() reflect.Type
func (AssociationArrayOutput) Index ¶
func (o AssociationArrayOutput) Index(i pulumi.IntInput) AssociationOutput
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 (o AssociationMapOutput) MapIndex(k pulumi.StringInput) AssociationOutput
func (AssociationMapOutput) ToAssociationMapOutput ¶
func (o AssociationMapOutput) ToAssociationMapOutput() AssociationMapOutput
func (AssociationMapOutput) ToAssociationMapOutputWithContext ¶
func (o AssociationMapOutput) ToAssociationMapOutputWithContext(ctx context.Context) AssociationMapOutput
type AssociationOutput ¶
type AssociationOutput struct{ *pulumi.OutputState }
func (AssociationOutput) ElementType ¶
func (AssociationOutput) ElementType() reflect.Type
func (AssociationOutput) ToAssociationOutput ¶
func (o AssociationOutput) ToAssociationOutput() AssociationOutput
func (AssociationOutput) ToAssociationOutputWithContext ¶
func (o AssociationOutput) ToAssociationOutputWithContext(ctx context.Context) AssociationOutput
type AssociationOutputLocationArgs ¶
type AssociationOutputLocationArgs struct { // The S3 bucket name. S3BucketName pulumi.StringInput `pulumi:"s3BucketName"` // The S3 bucket prefix. Results stored in the root if not configured. S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"` // The S3 bucket region. S3Region pulumi.StringPtrInput `pulumi:"s3Region"` }
func (AssociationOutputLocationArgs) ElementType ¶
func (AssociationOutputLocationArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
func (AssociationOutputLocationOutput) S3BucketName ¶
func (o AssociationOutputLocationOutput) S3BucketName() pulumi.StringOutput
The S3 bucket name.
func (AssociationOutputLocationOutput) S3KeyPrefix ¶
func (o AssociationOutputLocationOutput) S3KeyPrefix() pulumi.StringPtrOutput
The S3 bucket prefix. Results stored in the root if not configured.
func (AssociationOutputLocationOutput) S3Region ¶ added in v4.30.0
func (o AssociationOutputLocationOutput) S3Region() pulumi.StringPtrOutput
The S3 bucket region.
func (AssociationOutputLocationOutput) ToAssociationOutputLocationOutput ¶
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutput() AssociationOutputLocationOutput
func (AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext ¶
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationOutputWithContext(ctx context.Context) AssociationOutputLocationOutput
func (AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput ¶
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
func (AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext ¶
func (o AssociationOutputLocationOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput
type AssociationOutputLocationPtrInput ¶
type AssociationOutputLocationPtrInput interface { pulumi.Input ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput ToAssociationOutputLocationPtrOutputWithContext(context.Context) AssociationOutputLocationPtrOutput }
AssociationOutputLocationPtrInput is an input type that accepts AssociationOutputLocationArgs, AssociationOutputLocationPtr and AssociationOutputLocationPtrOutput values. You can construct a concrete instance of `AssociationOutputLocationPtrInput` via:
AssociationOutputLocationArgs{...} or: nil
func AssociationOutputLocationPtr ¶
func AssociationOutputLocationPtr(v *AssociationOutputLocationArgs) AssociationOutputLocationPtrInput
type AssociationOutputLocationPtrOutput ¶
type AssociationOutputLocationPtrOutput struct{ *pulumi.OutputState }
func (AssociationOutputLocationPtrOutput) Elem ¶
func (o AssociationOutputLocationPtrOutput) Elem() AssociationOutputLocationOutput
func (AssociationOutputLocationPtrOutput) ElementType ¶
func (AssociationOutputLocationPtrOutput) ElementType() reflect.Type
func (AssociationOutputLocationPtrOutput) S3BucketName ¶
func (o AssociationOutputLocationPtrOutput) S3BucketName() pulumi.StringPtrOutput
The S3 bucket name.
func (AssociationOutputLocationPtrOutput) S3KeyPrefix ¶
func (o AssociationOutputLocationPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
The S3 bucket prefix. Results stored in the root if not configured.
func (AssociationOutputLocationPtrOutput) S3Region ¶ added in v4.30.0
func (o AssociationOutputLocationPtrOutput) S3Region() pulumi.StringPtrOutput
The S3 bucket region.
func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput ¶
func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutput() AssociationOutputLocationPtrOutput
func (AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext ¶
func (o AssociationOutputLocationPtrOutput) ToAssociationOutputLocationPtrOutputWithContext(ctx context.Context) AssociationOutputLocationPtrOutput
type AssociationState ¶
type AssociationState struct { // By default, when you create a new or update associations, the system runs it immediately and then according to the schedule you specified. Enable this option if you do not want an association to run immediately after you create or update it. This parameter is not supported for rate expressions. Default: `false`. ApplyOnlyAtCronInterval pulumi.BoolPtrInput // The ID of the SSM association. AssociationId pulumi.StringPtrInput // The descriptive name for the association. AssociationName pulumi.StringPtrInput // Specify the target for the association. This target is required for associations that use an `Automation` document and target resources by using rate controls. This should be set to the SSM document `parameter` that will define how your automation will branch out. AutomationTargetParameterName pulumi.StringPtrInput // The compliance severity for the association. Can be one of the following: `UNSPECIFIED`, `LOW`, `MEDIUM`, `HIGH` or `CRITICAL` ComplianceSeverity pulumi.StringPtrInput // The document version you want to associate with the target(s). Can be a specific version or the default version. DocumentVersion pulumi.StringPtrInput // The instance ID to apply an SSM document to. Use `targets` with key `InstanceIds` for document schema versions 2.0 and above. InstanceId pulumi.StringPtrInput // The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxConcurrency pulumi.StringPtrInput // The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify a number, for example 10, or a percentage of the target set, for example 10%. MaxErrors pulumi.StringPtrInput // The name of the SSM document to apply. Name pulumi.StringPtrInput // An output location block. Output Location is documented below. OutputLocation AssociationOutputLocationPtrInput // A block of arbitrary string parameters to pass to the SSM document. Parameters pulumi.StringMapInput // A cron expression when the association will be applied to the target(s). ScheduleExpression pulumi.StringPtrInput // A block containing the targets of the SSM association. Targets are documented below. AWS currently supports a maximum of 5 targets. Targets AssociationTargetArrayInput }
func (AssociationState) ElementType ¶
func (AssociationState) ElementType() reflect.Type
type AssociationTarget ¶
type 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) ElementType() reflect.Type
func (AssociationTargetArrayOutput) Index ¶
func (o AssociationTargetArrayOutput) Index(i pulumi.IntInput) AssociationTargetOutput
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 ¶
func (o AssociationTargetOutput) Key() pulumi.StringOutput
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 ¶
func (o AssociationTargetOutput) Values() pulumi.StringArrayOutput
A list of instance IDs or tag values. AWS currently limits this list size to one value.
type Document ¶
type Document struct { pulumi.CustomResourceState Arn pulumi.StringOutput `pulumi:"arn"` // One or more configuration blocks describing attachments sources to a version of a document. Defined below. AttachmentsSources DocumentAttachmentsSourceArrayOutput `pulumi:"attachmentsSources"` // The JSON or YAML content of the document. Content pulumi.StringOutput `pulumi:"content"` // The date the document was created. CreatedDate pulumi.StringOutput `pulumi:"createdDate"` // The default version of the document. DefaultVersion pulumi.StringOutput `pulumi:"defaultVersion"` // The description of the document. Description pulumi.StringOutput `pulumi:"description"` // The format of the document. Valid document types include: `JSON` and `YAML` DocumentFormat pulumi.StringPtrOutput `pulumi:"documentFormat"` // The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session` DocumentType pulumi.StringOutput `pulumi:"documentType"` // The document version. DocumentVersion pulumi.StringOutput `pulumi:"documentVersion"` // The sha1 or sha256 of the document content Hash pulumi.StringOutput `pulumi:"hash"` // "Sha1" "Sha256". The hashing algorithm used when hashing the content. HashType pulumi.StringOutput `pulumi:"hashType"` // The latest version of the document. LatestVersion pulumi.StringOutput `pulumi:"latestVersion"` // The name of the document. Name pulumi.StringOutput `pulumi:"name"` // The AWS user account of the person who created the document. Owner pulumi.StringOutput `pulumi:"owner"` // The parameters that are available to this document. Parameters DocumentParameterArrayOutput `pulumi:"parameters"` // Additional Permissions to attach to the document. See Permissions below for details. Permissions pulumi.StringMapOutput `pulumi:"permissions"` // A list of OS platforms compatible with this SSM document, either "Windows" or "Linux". PlatformTypes pulumi.StringArrayOutput `pulumi:"platformTypes"` // The schema version of the document. SchemaVersion pulumi.StringOutput `pulumi:"schemaVersion"` // "Creating", "Active" or "Deleting". The current status of the document. Status pulumi.StringOutput `pulumi:"status"` // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) TargetType pulumi.StringPtrOutput `pulumi:"targetType"` // A field specifying the version of the artifact you are creating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document and cannot be changed for an existing document version. VersionName pulumi.StringPtrOutput `pulumi:"versionName"` }
Provides an SSM Document resource
> **NOTE on updating SSM documents:** Only documents with a schema version of 2.0 or greater can update their content once created, see [SSM Schema Features](http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html#document-schemas-features). To update a document with an older schema version you must recreate the resource. Not all document types support a schema version of 2.0 or greater. Refer to [SSM document schema features and examples](https://docs.aws.amazon.com/systems-manager/latest/userguide/document-schemas-features.html) for information about which schema versions are supported for the respective `documentType`.
## Example Usage ### Create an ssm document in JSON format
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewDocument(ctx, "foo", &ssm.DocumentArgs{ Content: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"schemaVersion\": \"1.2\",\n", " \"description\": \"Check ip configuration of a Linux instance.\",\n", " \"parameters\": {\n", "\n", " },\n", " \"runtimeConfig\": {\n", " \"aws:runShellScript\": {\n", " \"properties\": [\n", " {\n", " \"id\": \"0.aws:runShellScript\",\n", " \"runCommand\": [\"ifconfig\"]\n", " }\n", " ]\n", " }\n", " }\n", " }\n", "\n")), DocumentType: pulumi.String("Command"), }) if err != nil { return err } return nil }) }
``` ### Create an ssm document in YAML format
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewDocument(ctx, "foo", &ssm.DocumentArgs{ Content: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v", "schemaVersion: '1.2'\n", "description: Check ip configuration of a Linux instance.\n", "parameters: {}\n", "runtimeConfig:\n", " 'aws:runShellScript':\n", " properties:\n", " - id: '0.aws:runShellScript'\n", " runCommand:\n", " - ifconfig\n", "\n")), DocumentFormat: pulumi.String("YAML"), DocumentType: pulumi.String("Command"), }) if err != nil { return err } return nil }) }
``` ## Permissions
The permissions attribute specifies how you want to share the document. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.
The permissions mapping supports the following:
* `type` - The permission type for the document. The permission type can be `Share`. * `accountIds` - The AWS user accounts that should have access to the document. The account IDs can either be a group of account IDs or `All`.
## Import
SSM Documents can be imported using the name, e.g.,
```sh
$ pulumi import aws:ssm/document:Document example example
```
The `attachments_source` argument does not have an SSM API method for reading the attachment information detail after creation. If the argument is set in the provider configuration on an imported resource, this provider will always show a difference. To workaround this behavior, either omit the argument from the configuration or use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to hide the difference, e.g. terraform resource "aws_ssm_document" "test" { name
= "test_document"
document_type = "Package" attachments_source { key
= "SourceUrl"
values = ["s3://${aws_s3_bucket.object_bucket.bucket}/test.zip"] }
There is no AWS SSM API for reading attachments_source info directly ¶
lifecycle { ignore_changes = [attachments_source] } }
func GetDocument ¶
func GetDocument(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DocumentState, opts ...pulumi.ResourceOption) (*Document, error)
GetDocument gets an existing Document resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDocument ¶
func NewDocument(ctx *pulumi.Context, name string, args *DocumentArgs, opts ...pulumi.ResourceOption) (*Document, error)
NewDocument registers a new resource with the given unique name, arguments, and options.
func (*Document) ElementType ¶
func (*Document) 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 (o DocumentArrayOutput) Index(i pulumi.IntInput) DocumentOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DocumentAttachmentsSourceArrayOutput) Index ¶
func (o DocumentAttachmentsSourceArrayOutput) Index(i pulumi.IntInput) DocumentAttachmentsSourceOutput
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) ElementType() reflect.Type
func (DocumentAttachmentsSourceOutput) Key ¶
func (o DocumentAttachmentsSourceOutput) Key() pulumi.StringOutput
The key describing the location of an attachment to a document. Valid key types include: `SourceUrl` and `S3FileUrl`
func (DocumentAttachmentsSourceOutput) Name ¶
func (o DocumentAttachmentsSourceOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o DocumentAttachmentsSourceOutput) Values() pulumi.StringArrayOutput
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 (o DocumentMapOutput) MapIndex(k pulumi.StringInput) DocumentOutput
func (DocumentMapOutput) ToDocumentMapOutput ¶
func (o DocumentMapOutput) ToDocumentMapOutput() DocumentMapOutput
func (DocumentMapOutput) ToDocumentMapOutputWithContext ¶
func (o DocumentMapOutput) ToDocumentMapOutputWithContext(ctx context.Context) DocumentMapOutput
type DocumentOutput ¶
type DocumentOutput struct{ *pulumi.OutputState }
func (DocumentOutput) ElementType ¶
func (DocumentOutput) ElementType() reflect.Type
func (DocumentOutput) ToDocumentOutput ¶
func (o DocumentOutput) ToDocumentOutput() DocumentOutput
func (DocumentOutput) ToDocumentOutputWithContext ¶
func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) DocumentOutput
type DocumentParameter ¶
type 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) ElementType() reflect.Type
func (DocumentParameterArrayOutput) Index ¶
func (o DocumentParameterArrayOutput) Index(i pulumi.IntInput) DocumentParameterOutput
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 (o DocumentParameterOutput) DefaultValue() pulumi.StringPtrOutput
func (DocumentParameterOutput) Description ¶
func (o DocumentParameterOutput) Description() pulumi.StringPtrOutput
The description of the document.
func (DocumentParameterOutput) ElementType ¶
func (DocumentParameterOutput) ElementType() reflect.Type
func (DocumentParameterOutput) Name ¶
func (o DocumentParameterOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o DocumentParameterOutput) Type() pulumi.StringPtrOutput
type DocumentState ¶
type DocumentState struct { Arn pulumi.StringPtrInput // One or more configuration blocks describing attachments sources to a version of a document. Defined below. AttachmentsSources DocumentAttachmentsSourceArrayInput // The JSON or YAML content of the document. Content pulumi.StringPtrInput // The date the document was created. CreatedDate pulumi.StringPtrInput // The default version of the document. DefaultVersion pulumi.StringPtrInput // The description of the document. Description pulumi.StringPtrInput // The format of the document. Valid document types include: `JSON` and `YAML` DocumentFormat pulumi.StringPtrInput // The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session` DocumentType pulumi.StringPtrInput // The document version. DocumentVersion pulumi.StringPtrInput // The sha1 or sha256 of the document content Hash pulumi.StringPtrInput // "Sha1" "Sha256". The hashing algorithm used when hashing the content. HashType pulumi.StringPtrInput // The latest version of the document. LatestVersion pulumi.StringPtrInput // The name of the document. Name pulumi.StringPtrInput // The AWS user account of the person who created the document. Owner pulumi.StringPtrInput // The parameters that are available to this document. Parameters DocumentParameterArrayInput // Additional Permissions to attach to the document. See Permissions below for details. Permissions pulumi.StringMapInput // A list of OS platforms compatible with this SSM document, either "Windows" or "Linux". PlatformTypes pulumi.StringArrayInput // The schema version of the document. SchemaVersion pulumi.StringPtrInput // "Creating", "Active" or "Deleting". The current status of the document. Status pulumi.StringPtrInput // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput // The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) TargetType pulumi.StringPtrInput // A field specifying the version of the artifact you are creating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document and cannot be changed for an existing document version. VersionName pulumi.StringPtrInput }
func (DocumentState) ElementType ¶
func (DocumentState) ElementType() reflect.Type
type GetParametersByPathArgs ¶ added in v4.23.0
type GetParametersByPathArgs struct { // The prefix path of the parameter. Path string `pulumi:"path"` // Whether to recursively return parameters under `path`. Defaults to `false`. Recursive *bool `pulumi:"recursive"` // Whether to return decrypted `SecureString` value. Defaults to `true`. WithDecryption *bool `pulumi:"withDecryption"` }
A collection of arguments for invoking getParametersByPath.
type GetParametersByPathOutputArgs ¶ added in v4.23.0
type GetParametersByPathOutputArgs struct { // The prefix path of the parameter. Path pulumi.StringInput `pulumi:"path"` // Whether to recursively return parameters under `path`. Defaults to `false`. Recursive pulumi.BoolPtrInput `pulumi:"recursive"` // Whether to return decrypted `SecureString` value. Defaults to `true`. WithDecryption pulumi.BoolPtrInput `pulumi:"withDecryption"` }
A collection of arguments for invoking getParametersByPath.
func (GetParametersByPathOutputArgs) ElementType ¶ added in v4.23.0
func (GetParametersByPathOutputArgs) ElementType() reflect.Type
type GetParametersByPathResult ¶ added in v4.23.0
type GetParametersByPathResult struct { Arns []string `pulumi:"arns"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Names []string `pulumi:"names"` Path string `pulumi:"path"` Recursive *bool `pulumi:"recursive"` Types []string `pulumi:"types"` Values []string `pulumi:"values"` WithDecryption *bool `pulumi:"withDecryption"` }
A collection of values returned by getParametersByPath.
func GetParametersByPath ¶ added in v4.23.0
func GetParametersByPath(ctx *pulumi.Context, args *GetParametersByPathArgs, opts ...pulumi.InvokeOption) (*GetParametersByPathResult, error)
type GetParametersByPathResultOutput ¶ added in v4.23.0
type GetParametersByPathResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getParametersByPath.
func GetParametersByPathOutput ¶ added in v4.23.0
func GetParametersByPathOutput(ctx *pulumi.Context, args GetParametersByPathOutputArgs, opts ...pulumi.InvokeOption) GetParametersByPathResultOutput
func (GetParametersByPathResultOutput) Arns ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Arns() pulumi.StringArrayOutput
func (GetParametersByPathResultOutput) ElementType ¶ added in v4.23.0
func (GetParametersByPathResultOutput) ElementType() reflect.Type
func (GetParametersByPathResultOutput) Id ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetParametersByPathResultOutput) Names ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Names() pulumi.StringArrayOutput
func (GetParametersByPathResultOutput) Path ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Path() pulumi.StringOutput
func (GetParametersByPathResultOutput) Recursive ¶ added in v4.34.0
func (o GetParametersByPathResultOutput) Recursive() pulumi.BoolPtrOutput
func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutput ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutput() GetParametersByPathResultOutput
func (GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) ToGetParametersByPathResultOutputWithContext(ctx context.Context) GetParametersByPathResultOutput
func (GetParametersByPathResultOutput) Types ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Types() pulumi.StringArrayOutput
func (GetParametersByPathResultOutput) Values ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) Values() pulumi.StringArrayOutput
func (GetParametersByPathResultOutput) WithDecryption ¶ added in v4.23.0
func (o GetParametersByPathResultOutput) WithDecryption() pulumi.BoolPtrOutput
type LookupDocumentArgs ¶
type LookupDocumentArgs struct { // Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format. DocumentFormat *string `pulumi:"documentFormat"` // The document version for which you want information. DocumentVersion *string `pulumi:"documentVersion"` // The name of the Systems Manager document. Name string `pulumi:"name"` }
A collection of arguments for invoking getDocument.
type LookupDocumentOutputArgs ¶ added in v4.21.0
type LookupDocumentOutputArgs struct { // Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format. DocumentFormat pulumi.StringPtrInput `pulumi:"documentFormat"` // The document version for which you want information. DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"` // The name of the Systems Manager document. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getDocument.
func (LookupDocumentOutputArgs) ElementType ¶ added in v4.21.0
func (LookupDocumentOutputArgs) ElementType() reflect.Type
type LookupDocumentResult ¶
type LookupDocumentResult struct { // The ARN of the document. Arn string `pulumi:"arn"` // The contents of the document. Content string `pulumi:"content"` DocumentFormat *string `pulumi:"documentFormat"` // The type of the document. DocumentType string `pulumi:"documentType"` DocumentVersion *string `pulumi:"documentVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getDocument.
func LookupDocument ¶
func LookupDocument(ctx *pulumi.Context, args *LookupDocumentArgs, opts ...pulumi.InvokeOption) (*LookupDocumentResult, error)
Gets the contents of the specified Systems Manager document.
## Example Usage
To get the contents of the document owned by AWS.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foo, err := ssm.LookupDocument(ctx, &ssm.LookupDocumentArgs{ Name: "AWS-GatherSoftwareInventory", DocumentFormat: pulumi.StringRef("YAML"), }, nil) if err != nil { return err } ctx.Export("content", foo.Content) return nil }) }
```
To get the contents of the custom document.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.LookupDocument(ctx, &ssm.LookupDocumentArgs{ Name: aws_ssm_document.Test.Name, DocumentFormat: pulumi.StringRef("JSON"), }, nil) if err != nil { return err } return nil }) }
```
type LookupDocumentResultOutput ¶ added in v4.21.0
type LookupDocumentResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDocument.
func LookupDocumentOutput ¶ added in v4.21.0
func LookupDocumentOutput(ctx *pulumi.Context, args LookupDocumentOutputArgs, opts ...pulumi.InvokeOption) LookupDocumentResultOutput
func (LookupDocumentResultOutput) Arn ¶ added in v4.21.0
func (o LookupDocumentResultOutput) Arn() pulumi.StringOutput
The ARN of the document.
func (LookupDocumentResultOutput) Content ¶ added in v4.21.0
func (o LookupDocumentResultOutput) Content() pulumi.StringOutput
The contents of the document.
func (LookupDocumentResultOutput) DocumentFormat ¶ added in v4.21.0
func (o LookupDocumentResultOutput) DocumentFormat() pulumi.StringPtrOutput
func (LookupDocumentResultOutput) DocumentType ¶ added in v4.21.0
func (o LookupDocumentResultOutput) DocumentType() pulumi.StringOutput
The type of the document.
func (LookupDocumentResultOutput) DocumentVersion ¶ added in v4.21.0
func (o LookupDocumentResultOutput) DocumentVersion() pulumi.StringPtrOutput
func (LookupDocumentResultOutput) ElementType ¶ added in v4.21.0
func (LookupDocumentResultOutput) ElementType() reflect.Type
func (LookupDocumentResultOutput) Id ¶ added in v4.21.0
func (o LookupDocumentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDocumentResultOutput) Name ¶ added in v4.21.0
func (o LookupDocumentResultOutput) Name() pulumi.StringOutput
func (LookupDocumentResultOutput) ToLookupDocumentResultOutput ¶ added in v4.21.0
func (o LookupDocumentResultOutput) ToLookupDocumentResultOutput() LookupDocumentResultOutput
func (LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext ¶ added in v4.21.0
func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx context.Context) LookupDocumentResultOutput
type LookupParameterArgs ¶
type LookupParameterArgs struct { // The name of the parameter. Name string `pulumi:"name"` // Whether to return decrypted `SecureString` value. Defaults to `true`. WithDecryption *bool `pulumi:"withDecryption"` }
A collection of arguments for invoking getParameter.
type LookupParameterOutputArgs ¶ added in v4.21.0
type LookupParameterOutputArgs struct { // The name of the parameter. Name pulumi.StringInput `pulumi:"name"` // Whether to return decrypted `SecureString` value. Defaults to `true`. WithDecryption pulumi.BoolPtrInput `pulumi:"withDecryption"` }
A collection of arguments for invoking getParameter.
func (LookupParameterOutputArgs) ElementType ¶ added in v4.21.0
func (LookupParameterOutputArgs) ElementType() reflect.Type
type LookupParameterResult ¶
type LookupParameterResult struct { Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Type string `pulumi:"type"` Value string `pulumi:"value"` Version int `pulumi:"version"` WithDecryption *bool `pulumi:"withDecryption"` }
A collection of values returned by getParameter.
func LookupParameter ¶
func LookupParameter(ctx *pulumi.Context, args *LookupParameterArgs, opts ...pulumi.InvokeOption) (*LookupParameterResult, error)
Provides an SSM Parameter data source.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.LookupParameter(ctx, &ssm.LookupParameterArgs{ Name: "foo", }, nil) if err != nil { return err } return nil }) }
```
> **Note:** The data source is currently following the behavior of the [SSM API](https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/#Parameter) to return a string value, regardless of parameter type.
type LookupParameterResultOutput ¶ added in v4.21.0
type LookupParameterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getParameter.
func LookupParameterOutput ¶ added in v4.21.0
func LookupParameterOutput(ctx *pulumi.Context, args LookupParameterOutputArgs, opts ...pulumi.InvokeOption) LookupParameterResultOutput
func (LookupParameterResultOutput) Arn ¶ added in v4.21.0
func (o LookupParameterResultOutput) Arn() pulumi.StringOutput
func (LookupParameterResultOutput) ElementType ¶ added in v4.21.0
func (LookupParameterResultOutput) ElementType() reflect.Type
func (LookupParameterResultOutput) Id ¶ added in v4.21.0
func (o LookupParameterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupParameterResultOutput) Name ¶ added in v4.21.0
func (o LookupParameterResultOutput) Name() pulumi.StringOutput
func (LookupParameterResultOutput) ToLookupParameterResultOutput ¶ added in v4.21.0
func (o LookupParameterResultOutput) ToLookupParameterResultOutput() LookupParameterResultOutput
func (LookupParameterResultOutput) ToLookupParameterResultOutputWithContext ¶ added in v4.21.0
func (o LookupParameterResultOutput) ToLookupParameterResultOutputWithContext(ctx context.Context) LookupParameterResultOutput
func (LookupParameterResultOutput) Type ¶ added in v4.21.0
func (o LookupParameterResultOutput) Type() pulumi.StringOutput
func (LookupParameterResultOutput) Value ¶ added in v4.21.0
func (o LookupParameterResultOutput) Value() pulumi.StringOutput
func (LookupParameterResultOutput) Version ¶ added in v4.21.0
func (o LookupParameterResultOutput) Version() pulumi.IntOutput
func (LookupParameterResultOutput) WithDecryption ¶ added in v4.21.0
func (o LookupParameterResultOutput) WithDecryption() pulumi.BoolPtrOutput
type LookupPatchBaselineArgs ¶
type LookupPatchBaselineArgs struct { // Filters the results against the baselines defaultBaseline field. DefaultBaseline *bool `pulumi:"defaultBaseline"` // Filter results by the baseline name prefix. NamePrefix *string `pulumi:"namePrefix"` // The specified OS for the baseline. OperatingSystem *string `pulumi:"operatingSystem"` // The owner of the baseline. Valid values: `All`, `AWS`, `Self` (the current account). Owner string `pulumi:"owner"` }
A collection of arguments for invoking getPatchBaseline.
type LookupPatchBaselineOutputArgs ¶ added in v4.21.0
type LookupPatchBaselineOutputArgs struct { // Filters the results against the baselines defaultBaseline field. DefaultBaseline pulumi.BoolPtrInput `pulumi:"defaultBaseline"` // Filter results by the baseline name prefix. NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"` // The specified OS for the baseline. OperatingSystem pulumi.StringPtrInput `pulumi:"operatingSystem"` // The owner of the baseline. Valid values: `All`, `AWS`, `Self` (the current account). Owner pulumi.StringInput `pulumi:"owner"` }
A collection of arguments for invoking getPatchBaseline.
func (LookupPatchBaselineOutputArgs) ElementType ¶ added in v4.21.0
func (LookupPatchBaselineOutputArgs) ElementType() reflect.Type
type LookupPatchBaselineResult ¶
type LookupPatchBaselineResult struct { DefaultBaseline *bool `pulumi:"defaultBaseline"` // The description of the baseline. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the baseline. Name string `pulumi:"name"` NamePrefix *string `pulumi:"namePrefix"` OperatingSystem *string `pulumi:"operatingSystem"` Owner string `pulumi:"owner"` }
A collection of values returned by getPatchBaseline.
func LookupPatchBaseline ¶
func LookupPatchBaseline(ctx *pulumi.Context, args *LookupPatchBaselineArgs, opts ...pulumi.InvokeOption) (*LookupPatchBaselineResult, error)
Provides an SSM Patch Baseline data source. Useful if you wish to reuse the default baselines provided.
## Example Usage
To retrieve a baseline provided by AWS:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.LookupPatchBaseline(ctx, &ssm.LookupPatchBaselineArgs{ NamePrefix: pulumi.StringRef("AWS-"), OperatingSystem: pulumi.StringRef("CENTOS"), Owner: "AWS", }, nil) if err != nil { return err } return nil }) }
```
To retrieve a baseline on your account:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.LookupPatchBaseline(ctx, &ssm.LookupPatchBaselineArgs{ DefaultBaseline: pulumi.BoolRef(true), NamePrefix: pulumi.StringRef("MyCustomBaseline"), OperatingSystem: pulumi.StringRef("WINDOWS"), Owner: "Self", }, nil) if err != nil { return err } return nil }) }
```
type LookupPatchBaselineResultOutput ¶ added in v4.21.0
type LookupPatchBaselineResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPatchBaseline.
func LookupPatchBaselineOutput ¶ added in v4.21.0
func LookupPatchBaselineOutput(ctx *pulumi.Context, args LookupPatchBaselineOutputArgs, opts ...pulumi.InvokeOption) LookupPatchBaselineResultOutput
func (LookupPatchBaselineResultOutput) DefaultBaseline ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) DefaultBaseline() pulumi.BoolPtrOutput
func (LookupPatchBaselineResultOutput) Description ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) Description() pulumi.StringOutput
The description of the baseline.
func (LookupPatchBaselineResultOutput) ElementType ¶ added in v4.21.0
func (LookupPatchBaselineResultOutput) ElementType() reflect.Type
func (LookupPatchBaselineResultOutput) Id ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPatchBaselineResultOutput) Name ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) Name() pulumi.StringOutput
The name of the baseline.
func (LookupPatchBaselineResultOutput) NamePrefix ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) NamePrefix() pulumi.StringPtrOutput
func (LookupPatchBaselineResultOutput) OperatingSystem ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) OperatingSystem() pulumi.StringPtrOutput
func (LookupPatchBaselineResultOutput) Owner ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) Owner() pulumi.StringOutput
func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutput() LookupPatchBaselineResultOutput
func (LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext ¶ added in v4.21.0
func (o LookupPatchBaselineResultOutput) ToLookupPatchBaselineResultOutputWithContext(ctx context.Context) LookupPatchBaselineResultOutput
type MaintenanceWindow ¶
type MaintenanceWindow struct { pulumi.CustomResourceState // Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. AllowUnassociatedTargets pulumi.BoolPtrOutput `pulumi:"allowUnassociatedTargets"` // The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. Cutoff pulumi.IntOutput `pulumi:"cutoff"` // A description for the maintenance window. Description pulumi.StringPtrOutput `pulumi:"description"` // The duration of the Maintenance Window in hours. Duration pulumi.IntOutput `pulumi:"duration"` // Whether the maintenance window is enabled. Default: `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window. EndDate pulumi.StringPtrOutput `pulumi:"endDate"` // The name of the maintenance window. Name pulumi.StringOutput `pulumi:"name"` // The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression. Schedule pulumi.StringOutput `pulumi:"schedule"` // The number of days to wait after the date and time specified by a CRON expression before running the maintenance window. ScheduleOffset pulumi.IntPtrOutput `pulumi:"scheduleOffset"` // Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`. ScheduleTimezone pulumi.StringPtrOutput `pulumi:"scheduleTimezone"` // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window. StartDate pulumi.StringPtrOutput `pulumi:"startDate"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an SSM Maintenance Window resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewMaintenanceWindow(ctx, "production", &ssm.MaintenanceWindowArgs{ Cutoff: pulumi.Int(1), Duration: pulumi.Int(3), Schedule: pulumi.String("cron(0 16 ? * TUE *)"), }) if err != nil { return err } return nil }) }
```
## Import
SSM ¶
Maintenance Windows can be imported using the `maintenance window id`, e.g.,
```sh
$ pulumi import aws:ssm/maintenanceWindow:MaintenanceWindow imported-window mw-0123456789
```
func GetMaintenanceWindow ¶
func GetMaintenanceWindow(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MaintenanceWindowState, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)
GetMaintenanceWindow gets an existing MaintenanceWindow resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMaintenanceWindow ¶
func NewMaintenanceWindow(ctx *pulumi.Context, name string, args *MaintenanceWindowArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)
NewMaintenanceWindow registers a new resource with the given unique name, arguments, and options.
func (*MaintenanceWindow) ElementType ¶
func (*MaintenanceWindow) ElementType() reflect.Type
func (*MaintenanceWindow) ToMaintenanceWindowOutput ¶
func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext ¶
func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
type MaintenanceWindowArgs ¶
type MaintenanceWindowArgs struct { // Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. AllowUnassociatedTargets pulumi.BoolPtrInput // The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. Cutoff pulumi.IntInput // A description for the maintenance window. Description pulumi.StringPtrInput // The duration of the Maintenance Window in hours. Duration pulumi.IntInput // Whether the maintenance window is enabled. Default: `true`. Enabled pulumi.BoolPtrInput // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window. EndDate pulumi.StringPtrInput // The name of the maintenance window. Name pulumi.StringPtrInput // The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression. Schedule pulumi.StringInput // The number of days to wait after the date and time specified by a CRON expression before running the maintenance window. ScheduleOffset pulumi.IntPtrInput // Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`. ScheduleTimezone pulumi.StringPtrInput // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window. StartDate pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a MaintenanceWindow resource.
func (MaintenanceWindowArgs) ElementType ¶
func (MaintenanceWindowArgs) ElementType() reflect.Type
type MaintenanceWindowArray ¶
type MaintenanceWindowArray []MaintenanceWindowInput
func (MaintenanceWindowArray) ElementType ¶
func (MaintenanceWindowArray) ElementType() reflect.Type
func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput ¶
func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext ¶
func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput
type MaintenanceWindowArrayInput ¶
type MaintenanceWindowArrayInput interface { pulumi.Input ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput ToMaintenanceWindowArrayOutputWithContext(context.Context) MaintenanceWindowArrayOutput }
MaintenanceWindowArrayInput is an input type that accepts MaintenanceWindowArray and MaintenanceWindowArrayOutput values. You can construct a concrete instance of `MaintenanceWindowArrayInput` via:
MaintenanceWindowArray{ MaintenanceWindowArgs{...} }
type MaintenanceWindowArrayOutput ¶
type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowArrayOutput) ElementType ¶
func (MaintenanceWindowArrayOutput) ElementType() reflect.Type
func (MaintenanceWindowArrayOutput) Index ¶
func (o MaintenanceWindowArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowOutput
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 (o MaintenanceWindowMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowOutput
func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput ¶
func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext ¶
func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput
type MaintenanceWindowOutput ¶
type MaintenanceWindowOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowOutput) ElementType ¶
func (MaintenanceWindowOutput) ElementType() reflect.Type
func (MaintenanceWindowOutput) ToMaintenanceWindowOutput ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput
func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext ¶
func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
type MaintenanceWindowState ¶
type MaintenanceWindowState struct { // Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets. AllowUnassociatedTargets pulumi.BoolPtrInput // The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution. Cutoff pulumi.IntPtrInput // A description for the maintenance window. Description pulumi.StringPtrInput // The duration of the Maintenance Window in hours. Duration pulumi.IntPtrInput // Whether the maintenance window is enabled. Default: `true`. Enabled pulumi.BoolPtrInput // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window. EndDate pulumi.StringPtrInput // The name of the maintenance window. Name pulumi.StringPtrInput // The schedule of the Maintenance Window in the form of a [cron](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-cron.html) or rate expression. Schedule pulumi.StringPtrInput // The number of days to wait after the date and time specified by a CRON expression before running the maintenance window. ScheduleOffset pulumi.IntPtrInput // Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`. ScheduleTimezone pulumi.StringPtrInput // Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window. StartDate pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (MaintenanceWindowState) ElementType ¶
func (MaintenanceWindowState) ElementType() reflect.Type
type MaintenanceWindowTarget ¶
type MaintenanceWindowTarget struct { pulumi.CustomResourceState // The description of the maintenance window target. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the maintenance window target. Name pulumi.StringOutput `pulumi:"name"` // User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window. OwnerInformation pulumi.StringPtrOutput `pulumi:"ownerInformation"` // The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`. ResourceType pulumi.StringOutput `pulumi:"resourceType"` // The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see // (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html) Targets MaintenanceWindowTargetTargetArrayOutput `pulumi:"targets"` // The Id of the maintenance window to register the target with. WindowId pulumi.StringOutput `pulumi:"windowId"` }
Provides an SSM Maintenance Window Target resource
## Example Usage ### Instance Target
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { window, err := ssm.NewMaintenanceWindow(ctx, "window", &ssm.MaintenanceWindowArgs{ Schedule: pulumi.String("cron(0 16 ? * TUE *)"), Duration: pulumi.Int(3), Cutoff: pulumi.Int(1), }) if err != nil { return err } _, err = ssm.NewMaintenanceWindowTarget(ctx, "target1", &ssm.MaintenanceWindowTargetArgs{ WindowId: window.ID(), Description: pulumi.String("This is a maintenance window target"), ResourceType: pulumi.String("INSTANCE"), Targets: ssm.MaintenanceWindowTargetTargetArray{ &ssm.MaintenanceWindowTargetTargetArgs{ Key: pulumi.String("tag:Name"), Values: pulumi.StringArray{ pulumi.String("acceptance_test"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Resource Group Target
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { window, err := ssm.NewMaintenanceWindow(ctx, "window", &ssm.MaintenanceWindowArgs{ Schedule: pulumi.String("cron(0 16 ? * TUE *)"), Duration: pulumi.Int(3), Cutoff: pulumi.Int(1), }) if err != nil { return err } _, err = ssm.NewMaintenanceWindowTarget(ctx, "target1", &ssm.MaintenanceWindowTargetArgs{ WindowId: window.ID(), Description: pulumi.String("This is a maintenance window target"), ResourceType: pulumi.String("RESOURCE_GROUP"), Targets: ssm.MaintenanceWindowTargetTargetArray{ &ssm.MaintenanceWindowTargetTargetArgs{ Key: pulumi.String("resource-groups:ResourceTypeFilters"), Values: pulumi.StringArray{ pulumi.String("AWS::EC2::Instance"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
SSM Maintenance Window targets can be imported using `WINDOW_ID/WINDOW_TARGET_ID`, e.g.,
```sh
$ pulumi import aws:ssm/maintenanceWindowTarget:MaintenanceWindowTarget example mw-0c50858d01EXAMPLE/23639a0b-ddbc-4bca-9e72-78d96EXAMPLE
```
func GetMaintenanceWindowTarget ¶
func GetMaintenanceWindowTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MaintenanceWindowTargetState, opts ...pulumi.ResourceOption) (*MaintenanceWindowTarget, error)
GetMaintenanceWindowTarget gets an existing MaintenanceWindowTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMaintenanceWindowTarget ¶
func NewMaintenanceWindowTarget(ctx *pulumi.Context, name string, args *MaintenanceWindowTargetArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindowTarget, error)
NewMaintenanceWindowTarget registers a new resource with the given unique name, arguments, and options.
func (*MaintenanceWindowTarget) ElementType ¶
func (*MaintenanceWindowTarget) ElementType() reflect.Type
func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput ¶
func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput
func (*MaintenanceWindowTarget) ToMaintenanceWindowTargetOutputWithContext ¶
func (i *MaintenanceWindowTarget) ToMaintenanceWindowTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetOutput
type MaintenanceWindowTargetArgs ¶
type MaintenanceWindowTargetArgs struct { // The description of the maintenance window target. Description pulumi.StringPtrInput // The name of the maintenance window target. Name pulumi.StringPtrInput // User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window. OwnerInformation pulumi.StringPtrInput // The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`. ResourceType pulumi.StringInput // The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see // (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html) Targets MaintenanceWindowTargetTargetArrayInput // The Id of the maintenance window to register the target with. WindowId pulumi.StringInput }
The set of arguments for constructing a MaintenanceWindowTarget resource.
func (MaintenanceWindowTargetArgs) ElementType ¶
func (MaintenanceWindowTargetArgs) ElementType() reflect.Type
type MaintenanceWindowTargetArray ¶
type MaintenanceWindowTargetArray []MaintenanceWindowTargetInput
func (MaintenanceWindowTargetArray) ElementType ¶
func (MaintenanceWindowTargetArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MaintenanceWindowTargetArrayOutput) Index ¶
func (o MaintenanceWindowTargetArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTargetOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTargetMapOutput) MapIndex ¶
func (o MaintenanceWindowTargetMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowTargetOutput
func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput ¶
func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutput() MaintenanceWindowTargetMapOutput
func (MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext ¶
func (o MaintenanceWindowTargetMapOutput) ToMaintenanceWindowTargetMapOutputWithContext(ctx context.Context) MaintenanceWindowTargetMapOutput
type MaintenanceWindowTargetOutput ¶
type MaintenanceWindowTargetOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTargetOutput) ElementType ¶
func (MaintenanceWindowTargetOutput) ElementType() reflect.Type
func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput ¶
func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutput() MaintenanceWindowTargetOutput
func (MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext ¶
func (o MaintenanceWindowTargetOutput) ToMaintenanceWindowTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetOutput
type MaintenanceWindowTargetState ¶
type MaintenanceWindowTargetState struct { // The description of the maintenance window target. Description pulumi.StringPtrInput // The name of the maintenance window target. Name pulumi.StringPtrInput // User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window. OwnerInformation pulumi.StringPtrInput // The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`. ResourceType pulumi.StringPtrInput // The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see // (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html) Targets MaintenanceWindowTargetTargetArrayInput // The Id of the maintenance window to register the target with. WindowId pulumi.StringPtrInput }
func (MaintenanceWindowTargetState) ElementType ¶
func (MaintenanceWindowTargetState) ElementType() reflect.Type
type MaintenanceWindowTargetTargetArgs ¶
type MaintenanceWindowTargetTargetArgs struct { Key pulumi.StringInput `pulumi:"key"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (MaintenanceWindowTargetTargetArgs) ElementType ¶
func (MaintenanceWindowTargetTargetArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MaintenanceWindowTargetTargetOutput) Key ¶
func (o MaintenanceWindowTargetTargetOutput) Key() pulumi.StringOutput
func (MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput ¶
func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutput() MaintenanceWindowTargetTargetOutput
func (MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext ¶
func (o MaintenanceWindowTargetTargetOutput) ToMaintenanceWindowTargetTargetOutputWithContext(ctx context.Context) MaintenanceWindowTargetTargetOutput
func (MaintenanceWindowTargetTargetOutput) Values ¶
func (o MaintenanceWindowTargetTargetOutput) Values() pulumi.StringArrayOutput
type MaintenanceWindowTask ¶
type MaintenanceWindowTask struct { pulumi.CustomResourceState // The description of the maintenance window task. Description pulumi.StringPtrOutput `pulumi:"description"` // The maximum number of targets this task can be run for in parallel. MaxConcurrency pulumi.StringOutput `pulumi:"maxConcurrency"` // The maximum number of errors allowed before this task stops being scheduled. MaxErrors pulumi.StringOutput `pulumi:"maxErrors"` // The name of the maintenance window task. Name pulumi.StringOutput `pulumi:"name"` // The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you. ServiceRoleArn pulumi.StringOutput `pulumi:"serviceRoleArn"` // The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2. Targets MaintenanceWindowTaskTargetArrayOutput `pulumi:"targets"` // The ARN of the task to execute. TaskArn pulumi.StringOutput `pulumi:"taskArn"` // Configuration block with parameters for task execution. TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrOutput `pulumi:"taskInvocationParameters"` // The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`. TaskType pulumi.StringOutput `pulumi:"taskType"` // The Id of the maintenance window to register the task with. WindowId pulumi.StringOutput `pulumi:"windowId"` }
Provides an SSM Maintenance Window Task resource
## Example Usage ### Automation Tasks
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{ MaxConcurrency: pulumi.String("2"), MaxErrors: pulumi.String("1"), Priority: pulumi.Int(1), TaskArn: pulumi.String("AWS-RestartEC2Instance"), TaskType: pulumi.String("AUTOMATION"), WindowId: pulumi.Any(aws_ssm_maintenance_window.Example.Id), Targets: ssm.MaintenanceWindowTaskTargetArray{ &ssm.MaintenanceWindowTaskTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.Any(aws_instance.Example.Id), }, }, }, TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{ AutomationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs{ DocumentVersion: pulumi.String(fmt.Sprintf("%v%v", "$", "LATEST")), Parameters: ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray{ &ssm.MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs{ Name: pulumi.String("InstanceId"), Values: pulumi.StringArray{ pulumi.Any(aws_instance.Example.Id), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Run Command Tasks
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{ MaxConcurrency: pulumi.String("2"), MaxErrors: pulumi.String("1"), Priority: pulumi.Int(1), TaskArn: pulumi.String("AWS-RunShellScript"), TaskType: pulumi.String("RUN_COMMAND"), WindowId: pulumi.Any(aws_ssm_maintenance_window.Example.Id), Targets: ssm.MaintenanceWindowTaskTargetArray{ &ssm.MaintenanceWindowTaskTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.Any(aws_instance.Example.Id), }, }, }, TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{ RunCommandParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs{ OutputS3Bucket: pulumi.Any(aws_s3_bucket.Example.Bucket), OutputS3KeyPrefix: pulumi.String("output"), ServiceRoleArn: pulumi.Any(aws_iam_role.Example.Arn), TimeoutSeconds: pulumi.Int(600), NotificationConfig: &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs{ NotificationArn: pulumi.Any(aws_sns_topic.Example.Arn), NotificationEvents: pulumi.StringArray{ pulumi.String("All"), }, NotificationType: pulumi.String("Command"), }, Parameters: ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray{ &ssm.MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs{ Name: pulumi.String("commands"), Values: pulumi.StringArray{ pulumi.String("date"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Step Function Tasks
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewMaintenanceWindowTask(ctx, "example", &ssm.MaintenanceWindowTaskArgs{ MaxConcurrency: pulumi.String("2"), MaxErrors: pulumi.String("1"), Priority: pulumi.Int(1), TaskArn: pulumi.Any(aws_sfn_activity.Example.Id), TaskType: pulumi.String("STEP_FUNCTIONS"), WindowId: pulumi.Any(aws_ssm_maintenance_window.Example.Id), Targets: ssm.MaintenanceWindowTaskTargetArray{ &ssm.MaintenanceWindowTaskTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.Any(aws_instance.Example.Id), }, }, }, TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{ StepFunctionsParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs{ Input: pulumi.String("{\"key1\":\"value1\"}"), Name: pulumi.String("example"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
AWS Maintenance Window Task can be imported using the `window_id` and `window_task_id` separated by `/`.
```sh
$ pulumi import aws:ssm/maintenanceWindowTask:MaintenanceWindowTask task <window_id>/<window_task_id>
```
func GetMaintenanceWindowTask ¶
func GetMaintenanceWindowTask(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MaintenanceWindowTaskState, opts ...pulumi.ResourceOption) (*MaintenanceWindowTask, error)
GetMaintenanceWindowTask gets an existing MaintenanceWindowTask resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMaintenanceWindowTask ¶
func NewMaintenanceWindowTask(ctx *pulumi.Context, name string, args *MaintenanceWindowTaskArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindowTask, error)
NewMaintenanceWindowTask registers a new resource with the given unique name, arguments, and options.
func (*MaintenanceWindowTask) ElementType ¶
func (*MaintenanceWindowTask) ElementType() reflect.Type
func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutput ¶
func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput
func (*MaintenanceWindowTask) ToMaintenanceWindowTaskOutputWithContext ¶
func (i *MaintenanceWindowTask) ToMaintenanceWindowTaskOutputWithContext(ctx context.Context) MaintenanceWindowTaskOutput
type MaintenanceWindowTaskArgs ¶
type MaintenanceWindowTaskArgs struct { // The description of the maintenance window task. Description pulumi.StringPtrInput // The maximum number of targets this task can be run for in parallel. MaxConcurrency pulumi.StringInput // The maximum number of errors allowed before this task stops being scheduled. MaxErrors pulumi.StringInput // The name of the maintenance window task. Name pulumi.StringPtrInput // The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. Priority pulumi.IntPtrInput // The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you. ServiceRoleArn pulumi.StringPtrInput // The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2. Targets MaintenanceWindowTaskTargetArrayInput // The ARN of the task to execute. TaskArn pulumi.StringInput // Configuration block with parameters for task execution. TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrInput // The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`. TaskType pulumi.StringInput // The Id of the maintenance window to register the task with. WindowId pulumi.StringInput }
The set of arguments for constructing a MaintenanceWindowTask resource.
func (MaintenanceWindowTaskArgs) ElementType ¶
func (MaintenanceWindowTaskArgs) ElementType() reflect.Type
type MaintenanceWindowTaskArray ¶
type MaintenanceWindowTaskArray []MaintenanceWindowTaskInput
func (MaintenanceWindowTaskArray) ElementType ¶
func (MaintenanceWindowTaskArray) ElementType() reflect.Type
func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput ¶
func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput
func (MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext ¶
func (i MaintenanceWindowTaskArray) ToMaintenanceWindowTaskArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskArrayOutput
type MaintenanceWindowTaskArrayInput ¶
type MaintenanceWindowTaskArrayInput interface { pulumi.Input ToMaintenanceWindowTaskArrayOutput() MaintenanceWindowTaskArrayOutput ToMaintenanceWindowTaskArrayOutputWithContext(context.Context) MaintenanceWindowTaskArrayOutput }
MaintenanceWindowTaskArrayInput is an input type that accepts MaintenanceWindowTaskArray and MaintenanceWindowTaskArrayOutput values. You can construct a concrete instance of `MaintenanceWindowTaskArrayInput` via:
MaintenanceWindowTaskArray{ MaintenanceWindowTaskArgs{...} }
type MaintenanceWindowTaskArrayOutput ¶
type MaintenanceWindowTaskArrayOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskArrayOutput) ElementType ¶
func (MaintenanceWindowTaskArrayOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskArrayOutput) Index ¶
func (o MaintenanceWindowTaskArrayOutput) Index(i pulumi.IntInput) MaintenanceWindowTaskOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskMapOutput) MapIndex ¶
func (o MaintenanceWindowTaskMapOutput) MapIndex(k pulumi.StringInput) MaintenanceWindowTaskOutput
func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput ¶
func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutput() MaintenanceWindowTaskMapOutput
func (MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext ¶
func (o MaintenanceWindowTaskMapOutput) ToMaintenanceWindowTaskMapOutputWithContext(ctx context.Context) MaintenanceWindowTaskMapOutput
type MaintenanceWindowTaskOutput ¶
type MaintenanceWindowTaskOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskOutput) ElementType ¶
func (MaintenanceWindowTaskOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput ¶
func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutput() MaintenanceWindowTaskOutput
func (MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext ¶
func (o MaintenanceWindowTaskOutput) ToMaintenanceWindowTaskOutputWithContext(ctx context.Context) MaintenanceWindowTaskOutput
type MaintenanceWindowTaskState ¶
type MaintenanceWindowTaskState struct { // The description of the maintenance window task. Description pulumi.StringPtrInput // The maximum number of targets this task can be run for in parallel. MaxConcurrency pulumi.StringPtrInput // The maximum number of errors allowed before this task stops being scheduled. MaxErrors pulumi.StringPtrInput // The name of the maintenance window task. Name pulumi.StringPtrInput // The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. Priority pulumi.IntPtrInput // The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you. ServiceRoleArn pulumi.StringPtrInput // The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2. Targets MaintenanceWindowTaskTargetArrayInput // The ARN of the task to execute. TaskArn pulumi.StringPtrInput // Configuration block with parameters for task execution. TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersPtrInput // The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`. TaskType pulumi.StringPtrInput // The Id of the maintenance window to register the task with. WindowId pulumi.StringPtrInput }
func (MaintenanceWindowTaskState) ElementType ¶
func (MaintenanceWindowTaskState) ElementType() reflect.Type
type MaintenanceWindowTaskTargetArgs ¶
type MaintenanceWindowTaskTargetArgs struct { Key pulumi.StringInput `pulumi:"key"` // The array of strings. Values pulumi.StringArrayInput `pulumi:"values"` }
func (MaintenanceWindowTaskTargetArgs) ElementType ¶
func (MaintenanceWindowTaskTargetArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTargetOutput) Key ¶
func (o MaintenanceWindowTaskTargetOutput) Key() pulumi.StringOutput
func (MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput ¶
func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutput() MaintenanceWindowTaskTargetOutput
func (MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext ¶
func (o MaintenanceWindowTaskTargetOutput) ToMaintenanceWindowTaskTargetOutputWithContext(ctx context.Context) MaintenanceWindowTaskTargetOutput
func (MaintenanceWindowTaskTargetOutput) Values ¶
func (o MaintenanceWindowTaskTargetOutput) Values() pulumi.StringArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) DocumentVersion() pulumi.StringPtrOutput
The version of an Automation document to use during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) Parameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) Parameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
The parameters for the RUN_COMMAND task execution. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray ¶
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray []MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterInput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
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) Index ¶
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Name ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Name() pulumi.StringOutput
The parameter name.
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Values ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterOutput) Values() pulumi.StringArrayOutput
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
func MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersAutomationParametersArgs) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrInput
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) DocumentVersion ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) DocumentVersion() pulumi.StringPtrOutput
The version of an Automation document to use during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Parameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) Parameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersParameterArrayOutput
The parameters for the RUN_COMMAND task execution. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ClientContext() pulumi.StringPtrOutput
Pass client-specific information to the Lambda function that you are invoking.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Payload ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Payload() pulumi.StringPtrOutput
JSON to provide to your Lambda function as input.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Qualifier ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) Qualifier() pulumi.StringPtrOutput
Specify a Lambda function version or alias name.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
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
func MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersLambdaParametersArgs) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrInput
type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ClientContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ClientContext() pulumi.StringPtrOutput
Pass client-specific information to the Lambda function that you are invoking.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Payload ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Payload() pulumi.StringPtrOutput
JSON to provide to your Lambda function as input.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Qualifier ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) Qualifier() pulumi.StringPtrOutput
Specify a Lambda function version or alias name.
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
type MaintenanceWindowTaskTaskInvocationParametersOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersOutput) AutomationParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
The parameters for an AUTOMATION task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersOutput) LambdaParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
The parameters for a LAMBDA task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersOutput) RunCommandParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
The parameters for a RUN_COMMAND task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersOutput) StepFunctionsParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
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
func MaintenanceWindowTaskTaskInvocationParametersPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersArgs) MaintenanceWindowTaskTaskInvocationParametersPtrInput
type MaintenanceWindowTaskTaskInvocationParametersPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) AutomationParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) AutomationParameters() MaintenanceWindowTaskTaskInvocationParametersAutomationParametersPtrOutput
The parameters for an AUTOMATION task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) LambdaParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) LambdaParameters() MaintenanceWindowTaskTaskInvocationParametersLambdaParametersPtrOutput
The parameters for a LAMBDA task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) RunCommandParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) RunCommandParameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
The parameters for a RUN_COMMAND task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) StepFunctionsParameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) StepFunctionsParameters() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
The parameters for a STEP_FUNCTIONS task type. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersPtrOutput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParameters struct { // Configuration options for sending command output to CloudWatch Logs. Documented below. CloudwatchConfig *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfig `pulumi:"cloudwatchConfig"` // Information about the command(s) to execute. Comment *string `pulumi:"comment"` // The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated. DocumentHash *string `pulumi:"documentHash"` // SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1` DocumentHashType *string `pulumi:"documentHashType"` // The version of an Automation document to use during task execution. DocumentVersion *string `pulumi:"documentVersion"` // Configurations for sending notifications about command status changes on a per-instance basis. Documented below. NotificationConfig *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfig `pulumi:"notificationConfig"` // The name of the Amazon S3 bucket. OutputS3Bucket *string `pulumi:"outputS3Bucket"` // The Amazon S3 bucket subfolder. OutputS3KeyPrefix *string `pulumi:"outputS3KeyPrefix"` // The parameters for the RUN_COMMAND task execution. Documented below. Parameters []MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameter `pulumi:"parameters"` // The IAM service role to assume during task execution. ServiceRoleArn *string `pulumi:"serviceRoleArn"` // If this time is reached and the command has not already started executing, it doesn't run. TimeoutSeconds *int `pulumi:"timeoutSeconds"` }
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs struct { // Configuration options for sending command output to CloudWatch Logs. Documented below. CloudwatchConfig MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput `pulumi:"cloudwatchConfig"` // Information about the command(s) to execute. Comment pulumi.StringPtrInput `pulumi:"comment"` // The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated. DocumentHash pulumi.StringPtrInput `pulumi:"documentHash"` // SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1` DocumentHashType pulumi.StringPtrInput `pulumi:"documentHashType"` // The version of an Automation document to use during task execution. DocumentVersion pulumi.StringPtrInput `pulumi:"documentVersion"` // Configurations for sending notifications about command status changes on a per-instance basis. Documented below. NotificationConfig MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput `pulumi:"notificationConfig"` // The name of the Amazon S3 bucket. OutputS3Bucket pulumi.StringPtrInput `pulumi:"outputS3Bucket"` // The Amazon S3 bucket subfolder. OutputS3KeyPrefix pulumi.StringPtrInput `pulumi:"outputS3KeyPrefix"` // The parameters for the RUN_COMMAND task execution. Documented below. Parameters MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayInput `pulumi:"parameters"` // The IAM service role to assume during task execution. ServiceRoleArn pulumi.StringPtrInput `pulumi:"serviceRoleArn"` // If this time is reached and the command has not already started executing, it doesn't run. TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` }
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
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 (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchLogGroupName() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) CloudwatchOutputEnabled() pulumi.BoolPtrOutput
Enables Systems Manager to send command output to CloudWatch Logs.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
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
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtr(v *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigArgs) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrInput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchLogGroupName ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchLogGroupName() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) CloudwatchOutputEnabled() pulumi.BoolPtrOutput
Enables Systems Manager to send command output to CloudWatch Logs.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) Elem ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
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 (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationArn() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationEvents() pulumi.StringArrayOutput
The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationType ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) NotificationType() pulumi.StringPtrOutput
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 (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
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
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtr(v *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigArgs) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrInput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) Elem ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationArn ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationArn() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationEvents() pulumi.StringArrayOutput
The different events for which you can receive notifications. Valid values: `All`, `InProgress`, `Success`, `TimedOut`, `Cancelled`, and `Failed`
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationType ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) NotificationType() pulumi.StringPtrOutput
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 (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) CloudwatchConfig ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) CloudwatchConfig() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
Configuration options for sending command output to CloudWatch Logs. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Comment ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Comment() pulumi.StringPtrOutput
Information about the command(s) to execute.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHash ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHash() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentHashType() pulumi.StringPtrOutput
SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentVersion ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) DocumentVersion() pulumi.StringPtrOutput
The version of an Automation document to use during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) NotificationConfig ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) NotificationConfig() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
Configurations for sending notifications about command status changes on a per-instance basis. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3Bucket ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3Bucket() pulumi.StringPtrOutput
The name of the Amazon S3 bucket.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3KeyPrefix ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput
The Amazon S3 bucket subfolder.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Parameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) Parameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
The parameters for the RUN_COMMAND task execution. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ServiceRoleArn ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ServiceRoleArn() pulumi.StringPtrOutput
The IAM service role to assume during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) TimeoutSeconds ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) TimeoutSeconds() pulumi.IntPtrOutput
If this time is reached and the command has not already started executing, it doesn't run.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArgs) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray []MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterInput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArray) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
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) Index ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Name ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Name() pulumi.StringOutput
The parameter name.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Values ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterOutput) Values() pulumi.StringArrayOutput
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
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersArgs) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrInput
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) CloudwatchConfig ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) CloudwatchConfig() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersCloudwatchConfigPtrOutput
Configuration options for sending command output to CloudWatch Logs. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Comment ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Comment() pulumi.StringPtrOutput
Information about the command(s) to execute.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHash ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHash() pulumi.StringPtrOutput
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 ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentHashType() pulumi.StringPtrOutput
SHA-256 or SHA-1. SHA-1 hashes have been deprecated. Valid values: `Sha256` and `Sha1`
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentVersion ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) DocumentVersion() pulumi.StringPtrOutput
The version of an Automation document to use during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) NotificationConfig ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) NotificationConfig() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersNotificationConfigPtrOutput
Configurations for sending notifications about command status changes on a per-instance basis. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3Bucket ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3Bucket() pulumi.StringPtrOutput
The name of the Amazon S3 bucket.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3KeyPrefix ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) OutputS3KeyPrefix() pulumi.StringPtrOutput
The Amazon S3 bucket subfolder.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Parameters ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) Parameters() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersParameterArrayOutput
The parameters for the RUN_COMMAND task execution. Documented below.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ServiceRoleArn ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ServiceRoleArn() pulumi.StringPtrOutput
The IAM service role to assume during task execution.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) TimeoutSeconds ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
If this time is reached and the command has not already started executing, it doesn't run.
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersRunCommandParametersPtrOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext ¶
func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput ¶
func (i MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
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) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Input ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Input() pulumi.StringPtrOutput
The inputs for the STEP_FUNCTION task.
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Name ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) Name() pulumi.StringPtrOutput
The name of the STEP_FUNCTION task.
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
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
func MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtr ¶
func MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtr(v *MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersArgs) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrInput
type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput ¶
type MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput struct{ *pulumi.OutputState }
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ElementType ¶
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ElementType() reflect.Type
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Input ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Input() pulumi.StringPtrOutput
The inputs for the STEP_FUNCTION task.
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Name ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) Name() pulumi.StringPtrOutput
The name of the STEP_FUNCTION task.
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput() MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
func (MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext ¶
func (o MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput) ToMaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutputWithContext(ctx context.Context) MaintenanceWindowTaskTaskInvocationParametersStepFunctionsParametersPtrOutput
type Parameter ¶
type Parameter struct { pulumi.CustomResourceState // A regular expression used to validate the parameter value. AllowedPattern pulumi.StringPtrOutput `pulumi:"allowedPattern"` // The ARN of the parameter. Arn pulumi.StringOutput `pulumi:"arn"` // The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs // ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html) DataType pulumi.StringOutput `pulumi:"dataType"` // The description of the parameter. Description pulumi.StringPtrOutput `pulumi:"description"` // The KMS key id or arn for encrypting a SecureString. KeyId pulumi.StringOutput `pulumi:"keyId"` // The name of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html). Name pulumi.StringOutput `pulumi:"name"` // Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior). Overwrite pulumi.BoolPtrOutput `pulumi:"overwrite"` // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html). Tier pulumi.StringPtrOutput `pulumi:"tier"` // The type of the parameter. Valid types are `String`, `StringList` and `SecureString`. Type pulumi.StringOutput `pulumi:"type"` // The value of the parameter. Value pulumi.StringOutput `pulumi:"value"` // The version of the parameter. Version pulumi.IntOutput `pulumi:"version"` }
Provides an SSM Parameter resource.
## Example Usage
To store a basic string parameter:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewParameter(ctx, "foo", &ssm.ParameterArgs{ Type: pulumi.String("String"), Value: pulumi.String("bar"), }) if err != nil { return err } return nil }) }
```
To store an encrypted string using the default SSM KMS key:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/rds" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewInstance(ctx, "default", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), StorageType: pulumi.String("gp2"), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.7.16"), InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("mydb"), Username: pulumi.String("foo"), Password: pulumi.Any(_var.Database_master_password), DbSubnetGroupName: pulumi.String("my_database_subnet_group"), ParameterGroupName: pulumi.String("default.mysql5.7"), }) if err != nil { return err } _, err = ssm.NewParameter(ctx, "secret", &ssm.ParameterArgs{ Description: pulumi.String("The parameter description"), Type: pulumi.String("SecureString"), Value: pulumi.Any(_var.Database_master_password), Tags: pulumi.StringMap{ "environment": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
```
## Import
SSM Parameters can be imported using the `parameter store name`, e.g.,
```sh
$ pulumi import aws:ssm/parameter:Parameter my_param /my_path/my_paramname
```
func GetParameter ¶
func GetParameter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ParameterState, opts ...pulumi.ResourceOption) (*Parameter, error)
GetParameter gets an existing Parameter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewParameter ¶
func NewParameter(ctx *pulumi.Context, name string, args *ParameterArgs, opts ...pulumi.ResourceOption) (*Parameter, error)
NewParameter registers a new resource with the given unique name, arguments, and options.
func (*Parameter) ElementType ¶
func (*Parameter) ToParameterOutput ¶
func (i *Parameter) ToParameterOutput() ParameterOutput
func (*Parameter) ToParameterOutputWithContext ¶
func (i *Parameter) ToParameterOutputWithContext(ctx context.Context) ParameterOutput
type ParameterArgs ¶
type ParameterArgs struct { // A regular expression used to validate the parameter value. AllowedPattern pulumi.StringPtrInput // The ARN of the parameter. Arn pulumi.StringPtrInput // The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs // ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html) DataType pulumi.StringPtrInput // The description of the parameter. Description pulumi.StringPtrInput // The KMS key id or arn for encrypting a SecureString. KeyId pulumi.StringPtrInput // The name of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html). Name pulumi.StringPtrInput // Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior). Overwrite pulumi.BoolPtrInput // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html). Tier pulumi.StringPtrInput // The type of the parameter. Valid types are `String`, `StringList` and `SecureString`. Type pulumi.StringInput // The value of the parameter. Value pulumi.StringInput }
The set of arguments for constructing a Parameter resource.
func (ParameterArgs) ElementType ¶
func (ParameterArgs) ElementType() reflect.Type
type ParameterArray ¶
type ParameterArray []ParameterInput
func (ParameterArray) ElementType ¶
func (ParameterArray) ElementType() reflect.Type
func (ParameterArray) ToParameterArrayOutput ¶
func (i ParameterArray) ToParameterArrayOutput() ParameterArrayOutput
func (ParameterArray) ToParameterArrayOutputWithContext ¶
func (i ParameterArray) ToParameterArrayOutputWithContext(ctx context.Context) ParameterArrayOutput
type ParameterArrayInput ¶
type ParameterArrayInput interface { pulumi.Input ToParameterArrayOutput() ParameterArrayOutput ToParameterArrayOutputWithContext(context.Context) ParameterArrayOutput }
ParameterArrayInput is an input type that accepts ParameterArray and ParameterArrayOutput values. You can construct a concrete instance of `ParameterArrayInput` via:
ParameterArray{ ParameterArgs{...} }
type ParameterArrayOutput ¶
type ParameterArrayOutput struct{ *pulumi.OutputState }
func (ParameterArrayOutput) ElementType ¶
func (ParameterArrayOutput) ElementType() reflect.Type
func (ParameterArrayOutput) Index ¶
func (o ParameterArrayOutput) Index(i pulumi.IntInput) ParameterOutput
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 (o ParameterMapOutput) MapIndex(k pulumi.StringInput) ParameterOutput
func (ParameterMapOutput) ToParameterMapOutput ¶
func (o ParameterMapOutput) ToParameterMapOutput() ParameterMapOutput
func (ParameterMapOutput) ToParameterMapOutputWithContext ¶
func (o ParameterMapOutput) ToParameterMapOutputWithContext(ctx context.Context) ParameterMapOutput
type ParameterOutput ¶
type ParameterOutput struct{ *pulumi.OutputState }
func (ParameterOutput) ElementType ¶
func (ParameterOutput) ElementType() reflect.Type
func (ParameterOutput) ToParameterOutput ¶
func (o ParameterOutput) ToParameterOutput() ParameterOutput
func (ParameterOutput) ToParameterOutputWithContext ¶
func (o ParameterOutput) ToParameterOutputWithContext(ctx context.Context) ParameterOutput
type ParameterState ¶
type ParameterState struct { // A regular expression used to validate the parameter value. AllowedPattern pulumi.StringPtrInput // The ARN of the parameter. Arn pulumi.StringPtrInput // The dataType of the parameter. Valid values: text and aws:ec2:image for AMI format, see the [Native parameter support for Amazon Machine Image IDs // ](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html) DataType pulumi.StringPtrInput // The description of the parameter. Description pulumi.StringPtrInput // The KMS key id or arn for encrypting a SecureString. KeyId pulumi.StringPtrInput // The name of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`). For additional requirements and constraints, see the [AWS SSM User Guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html). Name pulumi.StringPtrInput // Overwrite an existing parameter. If not specified, will default to `false` if the resource has not been created by this provider to avoid overwrite of existing resource and will default to `true` otherwise (lifecycle rules should then be used to manage the update behavior). Overwrite pulumi.BoolPtrInput // A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput // The tier of the parameter. If not specified, will default to `Standard`. Valid tiers are `Standard`, `Advanced`, and `Intelligent-Tiering`. For more information on parameter tiers, see the [AWS SSM Parameter tier comparison and guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html). Tier pulumi.StringPtrInput // The type of the parameter. Valid types are `String`, `StringList` and `SecureString`. Type pulumi.StringPtrInput // The value of the parameter. Value pulumi.StringPtrInput // The version of the parameter. Version pulumi.IntPtrInput }
func (ParameterState) ElementType ¶
func (ParameterState) ElementType() reflect.Type
type ParameterType ¶
type ParameterType string
func (ParameterType) ElementType ¶
func (ParameterType) ElementType() reflect.Type
func (ParameterType) ToParameterTypeOutput ¶ added in v4.13.0
func (e ParameterType) ToParameterTypeOutput() ParameterTypeOutput
func (ParameterType) ToParameterTypeOutputWithContext ¶ added in v4.13.0
func (e ParameterType) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput
func (ParameterType) ToParameterTypePtrOutput ¶ added in v4.13.0
func (e ParameterType) ToParameterTypePtrOutput() ParameterTypePtrOutput
func (ParameterType) ToParameterTypePtrOutputWithContext ¶ added in v4.13.0
func (e ParameterType) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
func (ParameterType) ToStringOutput ¶
func (e ParameterType) ToStringOutput() pulumi.StringOutput
func (ParameterType) ToStringOutputWithContext ¶
func (e ParameterType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ParameterType) ToStringPtrOutput ¶
func (e ParameterType) ToStringPtrOutput() pulumi.StringPtrOutput
func (ParameterType) ToStringPtrOutputWithContext ¶
func (e ParameterType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ParameterTypeInput ¶ added in v4.13.0
type ParameterTypeInput interface { pulumi.Input ToParameterTypeOutput() ParameterTypeOutput ToParameterTypeOutputWithContext(context.Context) ParameterTypeOutput }
ParameterTypeInput is an input type that accepts ParameterTypeArgs and ParameterTypeOutput values. You can construct a concrete instance of `ParameterTypeInput` via:
ParameterTypeArgs{...}
type ParameterTypeOutput ¶ added in v4.13.0
type ParameterTypeOutput struct{ *pulumi.OutputState }
func (ParameterTypeOutput) ElementType ¶ added in v4.13.0
func (ParameterTypeOutput) ElementType() reflect.Type
func (ParameterTypeOutput) ToParameterTypeOutput ¶ added in v4.13.0
func (o ParameterTypeOutput) ToParameterTypeOutput() ParameterTypeOutput
func (ParameterTypeOutput) ToParameterTypeOutputWithContext ¶ added in v4.13.0
func (o ParameterTypeOutput) ToParameterTypeOutputWithContext(ctx context.Context) ParameterTypeOutput
func (ParameterTypeOutput) ToParameterTypePtrOutput ¶ added in v4.13.0
func (o ParameterTypeOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput
func (ParameterTypeOutput) ToParameterTypePtrOutputWithContext ¶ added in v4.13.0
func (o ParameterTypeOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
func (ParameterTypeOutput) ToStringOutput ¶ added in v4.13.0
func (o ParameterTypeOutput) ToStringOutput() pulumi.StringOutput
func (ParameterTypeOutput) ToStringOutputWithContext ¶ added in v4.13.0
func (o ParameterTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ParameterTypeOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o ParameterTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ParameterTypeOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o ParameterTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ParameterTypePtrInput ¶ added in v4.13.0
type ParameterTypePtrInput interface { pulumi.Input ToParameterTypePtrOutput() ParameterTypePtrOutput ToParameterTypePtrOutputWithContext(context.Context) ParameterTypePtrOutput }
func ParameterTypePtr ¶ added in v4.13.0
func ParameterTypePtr(v string) ParameterTypePtrInput
type ParameterTypePtrOutput ¶ added in v4.13.0
type ParameterTypePtrOutput struct{ *pulumi.OutputState }
func (ParameterTypePtrOutput) Elem ¶ added in v4.13.0
func (o ParameterTypePtrOutput) Elem() ParameterTypeOutput
func (ParameterTypePtrOutput) ElementType ¶ added in v4.13.0
func (ParameterTypePtrOutput) ElementType() reflect.Type
func (ParameterTypePtrOutput) ToParameterTypePtrOutput ¶ added in v4.13.0
func (o ParameterTypePtrOutput) ToParameterTypePtrOutput() ParameterTypePtrOutput
func (ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext ¶ added in v4.13.0
func (o ParameterTypePtrOutput) ToParameterTypePtrOutputWithContext(ctx context.Context) ParameterTypePtrOutput
func (ParameterTypePtrOutput) ToStringPtrOutput ¶ added in v4.13.0
func (o ParameterTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ParameterTypePtrOutput) ToStringPtrOutputWithContext ¶ added in v4.13.0
func (o ParameterTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type PatchBaseline ¶
type PatchBaseline struct { pulumi.CustomResourceState // A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below. ApprovalRules PatchBaselineApprovalRuleArrayOutput `pulumi:"approvalRules"` // A list of explicitly approved patches for the baseline. ApprovedPatches pulumi.StringArrayOutput `pulumi:"approvedPatches"` // Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`. ApprovedPatchesComplianceLevel pulumi.StringPtrOutput `pulumi:"approvedPatchesComplianceLevel"` // Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only. ApprovedPatchesEnableNonSecurity pulumi.BoolPtrOutput `pulumi:"approvedPatchesEnableNonSecurity"` // The ARN of the patch baseline. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the patch baseline. Description pulumi.StringPtrOutput `pulumi:"description"` // A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. GlobalFilters PatchBaselineGlobalFilterArrayOutput `pulumi:"globalFilters"` // The name specified to identify the patch source. Name pulumi.StringOutput `pulumi:"name"` // Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`. OperatingSystem pulumi.StringPtrOutput `pulumi:"operatingSystem"` // A list of rejected patches. RejectedPatches pulumi.StringArrayOutput `pulumi:"rejectedPatches"` // The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`. RejectedPatchesAction pulumi.StringOutput `pulumi:"rejectedPatchesAction"` // Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below. Sources PatchBaselineSourceArrayOutput `pulumi:"sources"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an SSM Patch Baseline resource
> **NOTE on Patch Baselines:** The `approvedPatches` and `approvalRule` are both marked as optional fields, but the Patch Baseline requires that at least one of them is specified.
## Example Usage
Basic usage using `approvedPatches` only ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{ ApprovedPatches: pulumi.StringArray{ pulumi.String("KB123456"), }, }) if err != nil { return err } return nil }) }
```
Advanced usage, specifying patch filters ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{ ApprovalRules: ssm.PatchBaselineApprovalRuleArray{ &ssm.PatchBaselineApprovalRuleArgs{ ApproveAfterDays: pulumi.Int(7), ComplianceLevel: pulumi.String("HIGH"), PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{ &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("PRODUCT"), Values: pulumi.StringArray{ pulumi.String("WindowsServer2016"), }, }, &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("CLASSIFICATION"), Values: pulumi.StringArray{ pulumi.String("CriticalUpdates"), pulumi.String("SecurityUpdates"), pulumi.String("Updates"), }, }, &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("MSRC_SEVERITY"), Values: pulumi.StringArray{ pulumi.String("Critical"), pulumi.String("Important"), pulumi.String("Moderate"), }, }, }, }, &ssm.PatchBaselineApprovalRuleArgs{ ApproveAfterDays: pulumi.Int(7), PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{ &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("PRODUCT"), Values: pulumi.StringArray{ pulumi.String("WindowsServer2012"), }, }, }, }, }, ApprovedPatches: pulumi.StringArray{ pulumi.String("KB123456"), pulumi.String("KB456789"), }, Description: pulumi.String("Patch Baseline Description"), GlobalFilters: ssm.PatchBaselineGlobalFilterArray{ &ssm.PatchBaselineGlobalFilterArgs{ Key: pulumi.String("PRODUCT"), Values: pulumi.StringArray{ pulumi.String("WindowsServer2008"), }, }, &ssm.PatchBaselineGlobalFilterArgs{ Key: pulumi.String("CLASSIFICATION"), Values: pulumi.StringArray{ pulumi.String("ServicePacks"), }, }, &ssm.PatchBaselineGlobalFilterArgs{ Key: pulumi.String("MSRC_SEVERITY"), Values: pulumi.StringArray{ pulumi.String("Low"), }, }, }, RejectedPatches: pulumi.StringArray{ pulumi.String("KB987654"), }, }) if err != nil { return err } return nil }) }
```
Advanced usage, specifying Microsoft application and Windows patch rules ¶
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewPatchBaseline(ctx, "windowsOsApps", &ssm.PatchBaselineArgs{ ApprovalRules: ssm.PatchBaselineApprovalRuleArray{ &ssm.PatchBaselineApprovalRuleArgs{ ApproveAfterDays: pulumi.Int(7), PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{ &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("CLASSIFICATION"), Values: pulumi.StringArray{ pulumi.String("CriticalUpdates"), pulumi.String("SecurityUpdates"), }, }, &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("MSRC_SEVERITY"), Values: pulumi.StringArray{ pulumi.String("Critical"), pulumi.String("Important"), }, }, }, }, &ssm.PatchBaselineApprovalRuleArgs{ ApproveAfterDays: pulumi.Int(7), PatchFilters: ssm.PatchBaselineApprovalRulePatchFilterArray{ &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("PATCH_SET"), Values: pulumi.StringArray{ pulumi.String("APPLICATION"), }, }, &ssm.PatchBaselineApprovalRulePatchFilterArgs{ Key: pulumi.String("PRODUCT"), Values: pulumi.StringArray{ pulumi.String("Office 2013"), pulumi.String("Office 2016"), }, }, }, }, }, Description: pulumi.String("Patch both Windows and Microsoft apps"), OperatingSystem: pulumi.String("WINDOWS"), }) if err != nil { return err } return nil }) }
```
Advanced usage, specifying alternate patch source repository ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ssm.NewPatchBaseline(ctx, "al201709", &ssm.PatchBaselineArgs{ ApprovalRules: ssm.PatchBaselineApprovalRuleArray{ nil, }, Description: pulumi.String("My patch repository for Amazon Linux 2017.09"), OperatingSystem: pulumi.String("AMAZON_LINUX"), Sources: ssm.PatchBaselineSourceArray{ &ssm.PatchBaselineSourceArgs{ Configuration: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "[amzn-main]\n", "name=amzn-main-Base\n", "mirrorlist=http://repo./", "$", "awsregion./", "$", "awsdomain//", "$", "releasever/main/mirror.list\n", "mirrorlist_expire=300\n", "metadata_expire=300\n", "priority=10\n", "failovermethod=priority\n", "fastestmirror_enabled=0\n", "gpgcheck=1\n", "gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-ga\n", "enabled=1\n", "retries=3\n", "timeout=5\n", "report_instanceid=yes\n", "\n")), Name: pulumi.String("My-AL2017.09"), Products: pulumi.StringArray{ pulumi.String("AmazonLinux2017.09"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
SSM Patch Baselines can be imported by their baseline ID, e.g.,
```sh
$ pulumi import aws:ssm/patchBaseline:PatchBaseline example pb-12345678
```
func GetPatchBaseline ¶
func GetPatchBaseline(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PatchBaselineState, opts ...pulumi.ResourceOption) (*PatchBaseline, error)
GetPatchBaseline gets an existing PatchBaseline resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPatchBaseline ¶
func NewPatchBaseline(ctx *pulumi.Context, name string, args *PatchBaselineArgs, opts ...pulumi.ResourceOption) (*PatchBaseline, error)
NewPatchBaseline registers a new resource with the given unique name, arguments, and options.
func (*PatchBaseline) ElementType ¶
func (*PatchBaseline) ElementType() reflect.Type
func (*PatchBaseline) ToPatchBaselineOutput ¶
func (i *PatchBaseline) ToPatchBaselineOutput() PatchBaselineOutput
func (*PatchBaseline) ToPatchBaselineOutputWithContext ¶
func (i *PatchBaseline) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput
type PatchBaselineApprovalRule ¶
type PatchBaselineApprovalRule struct { // The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 100. Conflicts with `approveUntilDate` ApproveAfterDays *int `pulumi:"approveAfterDays"` // The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays` ApproveUntilDate *string `pulumi:"approveUntilDate"` // Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`. ComplianceLevel *string `pulumi:"complianceLevel"` // Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only. EnableNonSecurity *bool `pulumi:"enableNonSecurity"` // The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. PatchFilters []PatchBaselineApprovalRulePatchFilter `pulumi:"patchFilters"` }
type PatchBaselineApprovalRuleArgs ¶
type PatchBaselineApprovalRuleArgs struct { // The number of days after the release date of each patch matched by the rule the patch is marked as approved in the patch baseline. Valid Range: 0 to 100. Conflicts with `approveUntilDate` ApproveAfterDays pulumi.IntPtrInput `pulumi:"approveAfterDays"` // The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as `YYYY-MM-DD`. Conflicts with `approveAfterDays` ApproveUntilDate pulumi.StringPtrInput `pulumi:"approveUntilDate"` // Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`. ComplianceLevel pulumi.StringPtrInput `pulumi:"complianceLevel"` // Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only. EnableNonSecurity pulumi.BoolPtrInput `pulumi:"enableNonSecurity"` // The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values. PatchFilters PatchBaselineApprovalRulePatchFilterArrayInput `pulumi:"patchFilters"` }
func (PatchBaselineApprovalRuleArgs) ElementType ¶
func (PatchBaselineApprovalRuleArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PatchBaselineApprovalRuleArrayOutput) Index ¶
func (o PatchBaselineApprovalRuleArrayOutput) Index(i pulumi.IntInput) PatchBaselineApprovalRuleOutput
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 ¶
func (o PatchBaselineApprovalRuleOutput) ApproveAfterDays() pulumi.IntPtrOutput
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 ¶
func (o PatchBaselineApprovalRuleOutput) ApproveUntilDate() pulumi.StringPtrOutput
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 ¶
func (o PatchBaselineApprovalRuleOutput) ComplianceLevel() pulumi.StringPtrOutput
Defines the compliance level for patches approved by this rule. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
func (PatchBaselineApprovalRuleOutput) ElementType ¶
func (PatchBaselineApprovalRuleOutput) ElementType() reflect.Type
func (PatchBaselineApprovalRuleOutput) EnableNonSecurity ¶
func (o PatchBaselineApprovalRuleOutput) EnableNonSecurity() pulumi.BoolPtrOutput
Boolean enabling the application of non-security updates. The default value is 'false'. Valid for Linux instances only.
func (PatchBaselineApprovalRuleOutput) PatchFilters ¶
func (o PatchBaselineApprovalRuleOutput) PatchFilters() PatchBaselineApprovalRulePatchFilterArrayOutput
The patch filter group that defines the criteria for the rule. Up to 5 patch filters can be specified per approval rule using Key/Value pairs. Valid Keys are `PATCH_SET | PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. Valid combinations of these Keys and the `operatingSystem` value can be found in the [SSM DescribePatchProperties API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchProperties.html). Valid Values are exact values for the patch property given as the key, or a wildcard `*`, which matches all values.
func (PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutput ¶
func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutput() PatchBaselineApprovalRuleOutput
func (PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutputWithContext ¶
func (o PatchBaselineApprovalRuleOutput) ToPatchBaselineApprovalRuleOutputWithContext(ctx context.Context) PatchBaselineApprovalRuleOutput
type PatchBaselineApprovalRulePatchFilterArgs ¶
type PatchBaselineApprovalRulePatchFilterArgs struct { Key pulumi.StringInput `pulumi:"key"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (PatchBaselineApprovalRulePatchFilterArgs) ElementType ¶
func (PatchBaselineApprovalRulePatchFilterArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PatchBaselineApprovalRulePatchFilterOutput) Key ¶
func (o PatchBaselineApprovalRulePatchFilterOutput) Key() pulumi.StringOutput
func (PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutput ¶
func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutput() PatchBaselineApprovalRulePatchFilterOutput
func (PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutputWithContext ¶
func (o PatchBaselineApprovalRulePatchFilterOutput) ToPatchBaselineApprovalRulePatchFilterOutputWithContext(ctx context.Context) PatchBaselineApprovalRulePatchFilterOutput
func (PatchBaselineApprovalRulePatchFilterOutput) Values ¶
func (o PatchBaselineApprovalRulePatchFilterOutput) Values() pulumi.StringArrayOutput
type PatchBaselineArgs ¶
type PatchBaselineArgs struct { // A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below. ApprovalRules PatchBaselineApprovalRuleArrayInput // A list of explicitly approved patches for the baseline. ApprovedPatches pulumi.StringArrayInput // Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`. ApprovedPatchesComplianceLevel pulumi.StringPtrInput // Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only. ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput // The description of the patch baseline. Description pulumi.StringPtrInput // A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. GlobalFilters PatchBaselineGlobalFilterArrayInput // The name specified to identify the patch source. Name pulumi.StringPtrInput // Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`. OperatingSystem pulumi.StringPtrInput // A list of rejected patches. RejectedPatches pulumi.StringArrayInput // The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`. RejectedPatchesAction pulumi.StringPtrInput // Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below. Sources PatchBaselineSourceArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a PatchBaseline resource.
func (PatchBaselineArgs) ElementType ¶
func (PatchBaselineArgs) ElementType() reflect.Type
type PatchBaselineArray ¶
type PatchBaselineArray []PatchBaselineInput
func (PatchBaselineArray) ElementType ¶
func (PatchBaselineArray) ElementType() reflect.Type
func (PatchBaselineArray) ToPatchBaselineArrayOutput ¶
func (i PatchBaselineArray) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput
func (PatchBaselineArray) ToPatchBaselineArrayOutputWithContext ¶
func (i PatchBaselineArray) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput
type PatchBaselineArrayInput ¶
type PatchBaselineArrayInput interface { pulumi.Input ToPatchBaselineArrayOutput() PatchBaselineArrayOutput ToPatchBaselineArrayOutputWithContext(context.Context) PatchBaselineArrayOutput }
PatchBaselineArrayInput is an input type that accepts PatchBaselineArray and PatchBaselineArrayOutput values. You can construct a concrete instance of `PatchBaselineArrayInput` via:
PatchBaselineArray{ PatchBaselineArgs{...} }
type PatchBaselineArrayOutput ¶
type PatchBaselineArrayOutput struct{ *pulumi.OutputState }
func (PatchBaselineArrayOutput) ElementType ¶
func (PatchBaselineArrayOutput) ElementType() reflect.Type
func (PatchBaselineArrayOutput) Index ¶
func (o PatchBaselineArrayOutput) Index(i pulumi.IntInput) PatchBaselineOutput
func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutput ¶
func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutput() PatchBaselineArrayOutput
func (PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext ¶
func (o PatchBaselineArrayOutput) ToPatchBaselineArrayOutputWithContext(ctx context.Context) PatchBaselineArrayOutput
type PatchBaselineGlobalFilterArgs ¶
type PatchBaselineGlobalFilterArgs struct { Key pulumi.StringInput `pulumi:"key"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (PatchBaselineGlobalFilterArgs) ElementType ¶
func (PatchBaselineGlobalFilterArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PatchBaselineGlobalFilterArrayOutput) Index ¶
func (o PatchBaselineGlobalFilterArrayOutput) Index(i pulumi.IntInput) PatchBaselineGlobalFilterOutput
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) ElementType() reflect.Type
func (PatchBaselineGlobalFilterOutput) Key ¶
func (o PatchBaselineGlobalFilterOutput) Key() pulumi.StringOutput
func (PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutput ¶
func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutput() PatchBaselineGlobalFilterOutput
func (PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutputWithContext ¶
func (o PatchBaselineGlobalFilterOutput) ToPatchBaselineGlobalFilterOutputWithContext(ctx context.Context) PatchBaselineGlobalFilterOutput
func (PatchBaselineGlobalFilterOutput) Values ¶
func (o PatchBaselineGlobalFilterOutput) Values() pulumi.StringArrayOutput
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 (o PatchBaselineMapOutput) MapIndex(k pulumi.StringInput) PatchBaselineOutput
func (PatchBaselineMapOutput) ToPatchBaselineMapOutput ¶
func (o PatchBaselineMapOutput) ToPatchBaselineMapOutput() PatchBaselineMapOutput
func (PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext ¶
func (o PatchBaselineMapOutput) ToPatchBaselineMapOutputWithContext(ctx context.Context) PatchBaselineMapOutput
type PatchBaselineOutput ¶
type PatchBaselineOutput struct{ *pulumi.OutputState }
func (PatchBaselineOutput) ElementType ¶
func (PatchBaselineOutput) ElementType() reflect.Type
func (PatchBaselineOutput) ToPatchBaselineOutput ¶
func (o PatchBaselineOutput) ToPatchBaselineOutput() PatchBaselineOutput
func (PatchBaselineOutput) ToPatchBaselineOutputWithContext ¶
func (o PatchBaselineOutput) ToPatchBaselineOutputWithContext(ctx context.Context) PatchBaselineOutput
type PatchBaselineSource ¶
type PatchBaselineSource struct { // The value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html) Configuration string `pulumi:"configuration"` // The name specified to identify the patch source. Name string `pulumi:"name"` // The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html). Products []string `pulumi:"products"` }
type PatchBaselineSourceArgs ¶
type PatchBaselineSourceArgs struct { // The value of the yum repo configuration. For information about other options available for your yum repository configuration, see the [`dnf.conf` documentation](https://man7.org/linux/man-pages/man5/dnf.conf.5.html) Configuration pulumi.StringInput `pulumi:"configuration"` // The name specified to identify the patch source. Name pulumi.StringInput `pulumi:"name"` // The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html). Products pulumi.StringArrayInput `pulumi:"products"` }
func (PatchBaselineSourceArgs) ElementType ¶
func (PatchBaselineSourceArgs) ElementType() reflect.Type
func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutput ¶
func (i PatchBaselineSourceArgs) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput
func (PatchBaselineSourceArgs) ToPatchBaselineSourceOutputWithContext ¶
func (i PatchBaselineSourceArgs) ToPatchBaselineSourceOutputWithContext(ctx context.Context) PatchBaselineSourceOutput
type PatchBaselineSourceArray ¶
type PatchBaselineSourceArray []PatchBaselineSourceInput
func (PatchBaselineSourceArray) ElementType ¶
func (PatchBaselineSourceArray) ElementType() reflect.Type
func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput ¶
func (i PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput
func (PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutputWithContext ¶
func (i PatchBaselineSourceArray) ToPatchBaselineSourceArrayOutputWithContext(ctx context.Context) PatchBaselineSourceArrayOutput
type PatchBaselineSourceArrayInput ¶
type PatchBaselineSourceArrayInput interface { pulumi.Input ToPatchBaselineSourceArrayOutput() PatchBaselineSourceArrayOutput ToPatchBaselineSourceArrayOutputWithContext(context.Context) PatchBaselineSourceArrayOutput }
PatchBaselineSourceArrayInput is an input type that accepts PatchBaselineSourceArray and PatchBaselineSourceArrayOutput values. You can construct a concrete instance of `PatchBaselineSourceArrayInput` via:
PatchBaselineSourceArray{ PatchBaselineSourceArgs{...} }
type PatchBaselineSourceArrayOutput ¶
type PatchBaselineSourceArrayOutput struct{ *pulumi.OutputState }
func (PatchBaselineSourceArrayOutput) ElementType ¶
func (PatchBaselineSourceArrayOutput) ElementType() reflect.Type
func (PatchBaselineSourceArrayOutput) Index ¶
func (o PatchBaselineSourceArrayOutput) Index(i pulumi.IntInput) PatchBaselineSourceOutput
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 ¶
func (o PatchBaselineSourceOutput) Name() pulumi.StringOutput
The name specified to identify the patch source.
func (PatchBaselineSourceOutput) Products ¶
func (o PatchBaselineSourceOutput) Products() pulumi.StringArrayOutput
The specific operating system versions a patch repository applies to, such as `"Ubuntu16.04"`, `"AmazonLinux2016.09"`, `"RedhatEnterpriseLinux7.2"` or `"Suse12.7"`. For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html).
func (PatchBaselineSourceOutput) ToPatchBaselineSourceOutput ¶
func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutput() PatchBaselineSourceOutput
func (PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext ¶
func (o PatchBaselineSourceOutput) ToPatchBaselineSourceOutputWithContext(ctx context.Context) PatchBaselineSourceOutput
type PatchBaselineState ¶
type PatchBaselineState struct { // A set of rules used to include patches in the baseline. up to 10 approval rules can be specified. Each approvalRule block requires the fields documented below. ApprovalRules PatchBaselineApprovalRuleArrayInput // A list of explicitly approved patches for the baseline. ApprovedPatches pulumi.StringArrayInput // Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance levels include the following: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`. ApprovedPatchesComplianceLevel pulumi.StringPtrInput // Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only. ApprovedPatchesEnableNonSecurity pulumi.BoolPtrInput // The ARN of the patch baseline. Arn pulumi.StringPtrInput // The description of the patch baseline. Description pulumi.StringPtrInput // A set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT | CLASSIFICATION | MSRC_SEVERITY | PATCH_ID`. GlobalFilters PatchBaselineGlobalFilterArrayInput // The name specified to identify the patch source. Name pulumi.StringPtrInput // Defines the operating system the patch baseline applies to. Supported operating systems include `WINDOWS`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `SUSE`, `UBUNTU`, `CENTOS`, and `REDHAT_ENTERPRISE_LINUX`. The Default value is `WINDOWS`. OperatingSystem pulumi.StringPtrInput // A list of rejected patches. RejectedPatches pulumi.StringArrayInput // The action for Patch Manager to take on patches included in the `rejectedPatches` list. Allow values are `ALLOW_AS_DEPENDENCY` and `BLOCK`. RejectedPatchesAction pulumi.StringPtrInput // Configuration block(s) with alternate sources for patches. Applies to Linux instances only. Documented below. Sources PatchBaselineSourceArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (PatchBaselineState) ElementType ¶
func (PatchBaselineState) ElementType() reflect.Type
type PatchGroup ¶
type PatchGroup struct { pulumi.CustomResourceState // The ID of the patch baseline to register the patch group with. BaselineId pulumi.StringOutput `pulumi:"baselineId"` // The name of the patch group that should be registered with the patch baseline. PatchGroup pulumi.StringOutput `pulumi:"patchGroup"` }
Provides an SSM Patch Group resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { production, err := ssm.NewPatchBaseline(ctx, "production", &ssm.PatchBaselineArgs{ ApprovedPatches: pulumi.StringArray{ pulumi.String("KB123456"), }, }) if err != nil { return err } _, err = ssm.NewPatchGroup(ctx, "patchgroup", &ssm.PatchGroupArgs{ BaselineId: production.ID(), PatchGroup: pulumi.String("patch-group-name"), }) if err != nil { return err } return nil }) }
```
func GetPatchGroup ¶
func GetPatchGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PatchGroupState, opts ...pulumi.ResourceOption) (*PatchGroup, error)
GetPatchGroup gets an existing PatchGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPatchGroup ¶
func NewPatchGroup(ctx *pulumi.Context, name string, args *PatchGroupArgs, opts ...pulumi.ResourceOption) (*PatchGroup, error)
NewPatchGroup registers a new resource with the given unique name, arguments, and options.
func (*PatchGroup) ElementType ¶
func (*PatchGroup) ElementType() reflect.Type
func (*PatchGroup) ToPatchGroupOutput ¶
func (i *PatchGroup) ToPatchGroupOutput() PatchGroupOutput
func (*PatchGroup) ToPatchGroupOutputWithContext ¶
func (i *PatchGroup) ToPatchGroupOutputWithContext(ctx context.Context) PatchGroupOutput
type PatchGroupArgs ¶
type PatchGroupArgs struct { // The ID of the patch baseline to register the patch group with. BaselineId pulumi.StringInput // The name of the patch group that should be registered with the patch baseline. PatchGroup pulumi.StringInput }
The set of arguments for constructing a PatchGroup resource.
func (PatchGroupArgs) ElementType ¶
func (PatchGroupArgs) ElementType() reflect.Type
type PatchGroupArray ¶
type PatchGroupArray []PatchGroupInput
func (PatchGroupArray) ElementType ¶
func (PatchGroupArray) ElementType() reflect.Type
func (PatchGroupArray) ToPatchGroupArrayOutput ¶
func (i PatchGroupArray) ToPatchGroupArrayOutput() PatchGroupArrayOutput
func (PatchGroupArray) ToPatchGroupArrayOutputWithContext ¶
func (i PatchGroupArray) ToPatchGroupArrayOutputWithContext(ctx context.Context) PatchGroupArrayOutput
type PatchGroupArrayInput ¶
type PatchGroupArrayInput interface { pulumi.Input ToPatchGroupArrayOutput() PatchGroupArrayOutput ToPatchGroupArrayOutputWithContext(context.Context) PatchGroupArrayOutput }
PatchGroupArrayInput is an input type that accepts PatchGroupArray and PatchGroupArrayOutput values. You can construct a concrete instance of `PatchGroupArrayInput` via:
PatchGroupArray{ PatchGroupArgs{...} }
type PatchGroupArrayOutput ¶
type PatchGroupArrayOutput struct{ *pulumi.OutputState }
func (PatchGroupArrayOutput) ElementType ¶
func (PatchGroupArrayOutput) ElementType() reflect.Type
func (PatchGroupArrayOutput) Index ¶
func (o PatchGroupArrayOutput) Index(i pulumi.IntInput) PatchGroupOutput
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 (o PatchGroupMapOutput) MapIndex(k pulumi.StringInput) PatchGroupOutput
func (PatchGroupMapOutput) ToPatchGroupMapOutput ¶
func (o PatchGroupMapOutput) ToPatchGroupMapOutput() PatchGroupMapOutput
func (PatchGroupMapOutput) ToPatchGroupMapOutputWithContext ¶
func (o PatchGroupMapOutput) ToPatchGroupMapOutputWithContext(ctx context.Context) PatchGroupMapOutput
type PatchGroupOutput ¶
type PatchGroupOutput struct{ *pulumi.OutputState }
func (PatchGroupOutput) ElementType ¶
func (PatchGroupOutput) ElementType() reflect.Type
func (PatchGroupOutput) ToPatchGroupOutput ¶
func (o PatchGroupOutput) ToPatchGroupOutput() PatchGroupOutput
func (PatchGroupOutput) ToPatchGroupOutputWithContext ¶
func (o PatchGroupOutput) ToPatchGroupOutputWithContext(ctx context.Context) PatchGroupOutput
type PatchGroupState ¶
type PatchGroupState struct { // The ID of the patch baseline to register the patch group with. BaselineId pulumi.StringPtrInput // The name of the patch group that should be registered with the patch baseline. PatchGroup pulumi.StringPtrInput }
func (PatchGroupState) ElementType ¶
func (PatchGroupState) ElementType() reflect.Type
type ResourceDataSync ¶
type ResourceDataSync struct { pulumi.CustomResourceState // Name for the configuration. Name pulumi.StringOutput `pulumi:"name"` // Amazon S3 configuration details for the sync. S3Destination ResourceDataSyncS3DestinationOutput `pulumi:"s3Destination"` }
Provides a SSM resource data sync.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { hogeBucket, err := s3.NewBucket(ctx, "hogeBucket", nil) if err != nil { return err } _, err = s3.NewBucketPolicy(ctx, "hogeBucketPolicy", &s3.BucketPolicyArgs{ Bucket: hogeBucket.Bucket, Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"SSMBucketPermissionsCheck\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"ssm.amazonaws.com\"\n", " },\n", " \"Action\": \"s3:GetBucketAcl\",\n", " \"Resource\": \"arn:aws:s3:::tf-test-bucket-1234\"\n", " },\n", " {\n", " \"Sid\": \" SSMBucketDelivery\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"ssm.amazonaws.com\"\n", " },\n", " \"Action\": \"s3:PutObject\",\n", " \"Resource\": [\"arn:aws:s3:::tf-test-bucket-1234/*\"],\n", " \"Condition\": {\n", " \"StringEquals\": {\n", " \"s3:x-amz-acl\": \"bucket-owner-full-control\"\n", " }\n", " }\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = ssm.NewResourceDataSync(ctx, "foo", &ssm.ResourceDataSyncArgs{ S3Destination: &ssm.ResourceDataSyncS3DestinationArgs{ BucketName: hogeBucket.Bucket, Region: hogeBucket.Region, }, }) if err != nil { return err } return nil }) }
```
## Import
SSM resource data sync can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:ssm/resourceDataSync:ResourceDataSync example example-name
```
func GetResourceDataSync ¶
func GetResourceDataSync(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceDataSyncState, opts ...pulumi.ResourceOption) (*ResourceDataSync, error)
GetResourceDataSync gets an existing ResourceDataSync resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceDataSync ¶
func NewResourceDataSync(ctx *pulumi.Context, name string, args *ResourceDataSyncArgs, opts ...pulumi.ResourceOption) (*ResourceDataSync, error)
NewResourceDataSync registers a new resource with the given unique name, arguments, and options.
func (*ResourceDataSync) ElementType ¶
func (*ResourceDataSync) ElementType() reflect.Type
func (*ResourceDataSync) ToResourceDataSyncOutput ¶
func (i *ResourceDataSync) ToResourceDataSyncOutput() ResourceDataSyncOutput
func (*ResourceDataSync) ToResourceDataSyncOutputWithContext ¶
func (i *ResourceDataSync) ToResourceDataSyncOutputWithContext(ctx context.Context) ResourceDataSyncOutput
type ResourceDataSyncArgs ¶
type ResourceDataSyncArgs struct { // Name for the configuration. Name pulumi.StringPtrInput // Amazon S3 configuration details for the sync. S3Destination ResourceDataSyncS3DestinationInput }
The set of arguments for constructing a ResourceDataSync resource.
func (ResourceDataSyncArgs) ElementType ¶
func (ResourceDataSyncArgs) ElementType() reflect.Type
type ResourceDataSyncArray ¶
type ResourceDataSyncArray []ResourceDataSyncInput
func (ResourceDataSyncArray) ElementType ¶
func (ResourceDataSyncArray) ElementType() reflect.Type
func (ResourceDataSyncArray) ToResourceDataSyncArrayOutput ¶
func (i ResourceDataSyncArray) ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput
func (ResourceDataSyncArray) ToResourceDataSyncArrayOutputWithContext ¶
func (i ResourceDataSyncArray) ToResourceDataSyncArrayOutputWithContext(ctx context.Context) ResourceDataSyncArrayOutput
type ResourceDataSyncArrayInput ¶
type ResourceDataSyncArrayInput interface { pulumi.Input ToResourceDataSyncArrayOutput() ResourceDataSyncArrayOutput ToResourceDataSyncArrayOutputWithContext(context.Context) ResourceDataSyncArrayOutput }
ResourceDataSyncArrayInput is an input type that accepts ResourceDataSyncArray and ResourceDataSyncArrayOutput values. You can construct a concrete instance of `ResourceDataSyncArrayInput` via:
ResourceDataSyncArray{ ResourceDataSyncArgs{...} }
type ResourceDataSyncArrayOutput ¶
type ResourceDataSyncArrayOutput struct{ *pulumi.OutputState }
func (ResourceDataSyncArrayOutput) ElementType ¶
func (ResourceDataSyncArrayOutput) ElementType() reflect.Type
func (ResourceDataSyncArrayOutput) Index ¶
func (o ResourceDataSyncArrayOutput) Index(i pulumi.IntInput) ResourceDataSyncOutput
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 (o ResourceDataSyncMapOutput) MapIndex(k pulumi.StringInput) ResourceDataSyncOutput
func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput ¶
func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutput() ResourceDataSyncMapOutput
func (ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext ¶
func (o ResourceDataSyncMapOutput) ToResourceDataSyncMapOutputWithContext(ctx context.Context) ResourceDataSyncMapOutput
type ResourceDataSyncOutput ¶
type ResourceDataSyncOutput struct{ *pulumi.OutputState }
func (ResourceDataSyncOutput) ElementType ¶
func (ResourceDataSyncOutput) ElementType() reflect.Type
func (ResourceDataSyncOutput) ToResourceDataSyncOutput ¶
func (o ResourceDataSyncOutput) ToResourceDataSyncOutput() ResourceDataSyncOutput
func (ResourceDataSyncOutput) ToResourceDataSyncOutputWithContext ¶
func (o ResourceDataSyncOutput) ToResourceDataSyncOutputWithContext(ctx context.Context) ResourceDataSyncOutput
type ResourceDataSyncS3Destination ¶
type ResourceDataSyncS3Destination struct { // Name of S3 bucket where the aggregated data is stored. BucketName string `pulumi:"bucketName"` // ARN of an encryption key for a destination in Amazon S3. KmsKeyArn *string `pulumi:"kmsKeyArn"` // Prefix for the bucket. Prefix *string `pulumi:"prefix"` // Region with the bucket targeted by the Resource Data Sync. Region string `pulumi:"region"` // A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe. SyncFormat *string `pulumi:"syncFormat"` }
type ResourceDataSyncS3DestinationArgs ¶
type ResourceDataSyncS3DestinationArgs struct { // Name of S3 bucket where the aggregated data is stored. BucketName pulumi.StringInput `pulumi:"bucketName"` // ARN of an encryption key for a destination in Amazon S3. KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"` // Prefix for the bucket. Prefix pulumi.StringPtrInput `pulumi:"prefix"` // Region with the bucket targeted by the Resource Data Sync. Region pulumi.StringInput `pulumi:"region"` // A supported sync format. Only JsonSerDe is currently supported. Defaults to JsonSerDe. SyncFormat pulumi.StringPtrInput `pulumi:"syncFormat"` }
func (ResourceDataSyncS3DestinationArgs) ElementType ¶
func (ResourceDataSyncS3DestinationArgs) ElementType() reflect.Type
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 ¶
func (o ResourceDataSyncS3DestinationOutput) BucketName() pulumi.StringOutput
Name of S3 bucket where the aggregated data is stored.
func (ResourceDataSyncS3DestinationOutput) ElementType ¶
func (ResourceDataSyncS3DestinationOutput) ElementType() reflect.Type
func (ResourceDataSyncS3DestinationOutput) KmsKeyArn ¶
func (o ResourceDataSyncS3DestinationOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of an encryption key for a destination in Amazon S3.
func (ResourceDataSyncS3DestinationOutput) Prefix ¶
func (o ResourceDataSyncS3DestinationOutput) Prefix() pulumi.StringPtrOutput
Prefix for the bucket.
func (ResourceDataSyncS3DestinationOutput) Region ¶
func (o ResourceDataSyncS3DestinationOutput) Region() pulumi.StringOutput
Region with the bucket targeted by the Resource Data Sync.
func (ResourceDataSyncS3DestinationOutput) SyncFormat ¶
func (o ResourceDataSyncS3DestinationOutput) SyncFormat() pulumi.StringPtrOutput
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
func ResourceDataSyncS3DestinationPtr ¶
func ResourceDataSyncS3DestinationPtr(v *ResourceDataSyncS3DestinationArgs) ResourceDataSyncS3DestinationPtrInput
type ResourceDataSyncS3DestinationPtrOutput ¶
type ResourceDataSyncS3DestinationPtrOutput struct{ *pulumi.OutputState }
func (ResourceDataSyncS3DestinationPtrOutput) BucketName ¶
func (o ResourceDataSyncS3DestinationPtrOutput) BucketName() pulumi.StringPtrOutput
Name of S3 bucket where the aggregated data is stored.
func (ResourceDataSyncS3DestinationPtrOutput) ElementType ¶
func (ResourceDataSyncS3DestinationPtrOutput) ElementType() reflect.Type
func (ResourceDataSyncS3DestinationPtrOutput) KmsKeyArn ¶
func (o ResourceDataSyncS3DestinationPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of an encryption key for a destination in Amazon S3.
func (ResourceDataSyncS3DestinationPtrOutput) Prefix ¶
func (o ResourceDataSyncS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
Prefix for the bucket.
func (ResourceDataSyncS3DestinationPtrOutput) Region ¶
func (o ResourceDataSyncS3DestinationPtrOutput) Region() pulumi.StringPtrOutput
Region with the bucket targeted by the Resource Data Sync.
func (ResourceDataSyncS3DestinationPtrOutput) SyncFormat ¶
func (o ResourceDataSyncS3DestinationPtrOutput) SyncFormat() pulumi.StringPtrOutput
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