Documentation
¶
Index ¶
- type Framework
- type FrameworkArgs
- type FrameworkArray
- type FrameworkArrayInput
- type FrameworkArrayOutput
- func (FrameworkArrayOutput) ElementType() reflect.Type
- func (o FrameworkArrayOutput) Index(i pulumi.IntInput) FrameworkOutput
- func (o FrameworkArrayOutput) ToFrameworkArrayOutput() FrameworkArrayOutput
- func (o FrameworkArrayOutput) ToFrameworkArrayOutputWithContext(ctx context.Context) FrameworkArrayOutput
- type FrameworkControl
- type FrameworkControlArgs
- type FrameworkControlArray
- type FrameworkControlArrayInput
- type FrameworkControlArrayOutput
- func (FrameworkControlArrayOutput) ElementType() reflect.Type
- func (o FrameworkControlArrayOutput) Index(i pulumi.IntInput) FrameworkControlOutput
- func (o FrameworkControlArrayOutput) ToFrameworkControlArrayOutput() FrameworkControlArrayOutput
- func (o FrameworkControlArrayOutput) ToFrameworkControlArrayOutputWithContext(ctx context.Context) FrameworkControlArrayOutput
- type FrameworkControlInput
- type FrameworkControlInputParameter
- type FrameworkControlInputParameterArgs
- func (FrameworkControlInputParameterArgs) ElementType() reflect.Type
- func (i FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutput() FrameworkControlInputParameterOutput
- func (i FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutputWithContext(ctx context.Context) FrameworkControlInputParameterOutput
- type FrameworkControlInputParameterArray
- func (FrameworkControlInputParameterArray) ElementType() reflect.Type
- func (i FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutput() FrameworkControlInputParameterArrayOutput
- func (i FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) FrameworkControlInputParameterArrayOutput
- type FrameworkControlInputParameterArrayInput
- type FrameworkControlInputParameterArrayOutput
- func (FrameworkControlInputParameterArrayOutput) ElementType() reflect.Type
- func (o FrameworkControlInputParameterArrayOutput) Index(i pulumi.IntInput) FrameworkControlInputParameterOutput
- func (o FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutput() FrameworkControlInputParameterArrayOutput
- func (o FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) FrameworkControlInputParameterArrayOutput
- type FrameworkControlInputParameterInput
- type FrameworkControlInputParameterOutput
- func (FrameworkControlInputParameterOutput) ElementType() reflect.Type
- func (o FrameworkControlInputParameterOutput) Name() pulumi.StringPtrOutput
- func (o FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutput() FrameworkControlInputParameterOutput
- func (o FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutputWithContext(ctx context.Context) FrameworkControlInputParameterOutput
- func (o FrameworkControlInputParameterOutput) Value() pulumi.StringPtrOutput
- type FrameworkControlOutput
- func (FrameworkControlOutput) ElementType() reflect.Type
- func (o FrameworkControlOutput) InputParameters() FrameworkControlInputParameterArrayOutput
- func (o FrameworkControlOutput) Name() pulumi.StringOutput
- func (o FrameworkControlOutput) Scope() FrameworkControlScopePtrOutput
- func (o FrameworkControlOutput) ToFrameworkControlOutput() FrameworkControlOutput
- func (o FrameworkControlOutput) ToFrameworkControlOutputWithContext(ctx context.Context) FrameworkControlOutput
- type FrameworkControlScope
- type FrameworkControlScopeArgs
- func (FrameworkControlScopeArgs) ElementType() reflect.Type
- func (i FrameworkControlScopeArgs) ToFrameworkControlScopeOutput() FrameworkControlScopeOutput
- func (i FrameworkControlScopeArgs) ToFrameworkControlScopeOutputWithContext(ctx context.Context) FrameworkControlScopeOutput
- func (i FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
- func (i FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
- type FrameworkControlScopeInput
- type FrameworkControlScopeOutput
- func (o FrameworkControlScopeOutput) ComplianceResourceIds() pulumi.StringArrayOutput
- func (o FrameworkControlScopeOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
- func (FrameworkControlScopeOutput) ElementType() reflect.Type
- func (o FrameworkControlScopeOutput) Tags() pulumi.StringMapOutput
- func (o FrameworkControlScopeOutput) ToFrameworkControlScopeOutput() FrameworkControlScopeOutput
- func (o FrameworkControlScopeOutput) ToFrameworkControlScopeOutputWithContext(ctx context.Context) FrameworkControlScopeOutput
- func (o FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
- func (o FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
- type FrameworkControlScopePtrInput
- type FrameworkControlScopePtrOutput
- func (o FrameworkControlScopePtrOutput) ComplianceResourceIds() pulumi.StringArrayOutput
- func (o FrameworkControlScopePtrOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
- func (o FrameworkControlScopePtrOutput) Elem() FrameworkControlScopeOutput
- func (FrameworkControlScopePtrOutput) ElementType() reflect.Type
- func (o FrameworkControlScopePtrOutput) Tags() pulumi.StringMapOutput
- func (o FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
- func (o FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
- type FrameworkInput
- type FrameworkMap
- type FrameworkMapInput
- type FrameworkMapOutput
- type FrameworkOutput
- func (o FrameworkOutput) Arn() pulumi.StringOutput
- func (o FrameworkOutput) Controls() FrameworkControlArrayOutput
- func (o FrameworkOutput) CreationTime() pulumi.StringOutput
- func (o FrameworkOutput) DeploymentStatus() pulumi.StringOutput
- func (o FrameworkOutput) Description() pulumi.StringPtrOutput
- func (FrameworkOutput) ElementType() reflect.Type
- func (o FrameworkOutput) Name() pulumi.StringOutput
- func (o FrameworkOutput) Region() pulumi.StringOutput
- func (o FrameworkOutput) Status() pulumi.StringOutput
- func (o FrameworkOutput) Tags() pulumi.StringMapOutput
- func (o FrameworkOutput) TagsAll() pulumi.StringMapOutput
- func (o FrameworkOutput) ToFrameworkOutput() FrameworkOutput
- func (o FrameworkOutput) ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput
- type FrameworkState
- type GetFrameworkControl
- type GetFrameworkControlArgs
- type GetFrameworkControlArray
- type GetFrameworkControlArrayInput
- type GetFrameworkControlArrayOutput
- func (GetFrameworkControlArrayOutput) ElementType() reflect.Type
- func (o GetFrameworkControlArrayOutput) Index(i pulumi.IntInput) GetFrameworkControlOutput
- func (o GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutput() GetFrameworkControlArrayOutput
- func (o GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutputWithContext(ctx context.Context) GetFrameworkControlArrayOutput
- type GetFrameworkControlInput
- type GetFrameworkControlInputParameter
- type GetFrameworkControlInputParameterArgs
- func (GetFrameworkControlInputParameterArgs) ElementType() reflect.Type
- func (i GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutput() GetFrameworkControlInputParameterOutput
- func (i GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterOutput
- type GetFrameworkControlInputParameterArray
- func (GetFrameworkControlInputParameterArray) ElementType() reflect.Type
- func (i GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutput() GetFrameworkControlInputParameterArrayOutput
- func (i GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterArrayOutput
- type GetFrameworkControlInputParameterArrayInput
- type GetFrameworkControlInputParameterArrayOutput
- func (GetFrameworkControlInputParameterArrayOutput) ElementType() reflect.Type
- func (o GetFrameworkControlInputParameterArrayOutput) Index(i pulumi.IntInput) GetFrameworkControlInputParameterOutput
- func (o GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutput() GetFrameworkControlInputParameterArrayOutput
- func (o GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterArrayOutput
- type GetFrameworkControlInputParameterInput
- type GetFrameworkControlInputParameterOutput
- func (GetFrameworkControlInputParameterOutput) ElementType() reflect.Type
- func (o GetFrameworkControlInputParameterOutput) Name() pulumi.StringOutput
- func (o GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutput() GetFrameworkControlInputParameterOutput
- func (o GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterOutput
- func (o GetFrameworkControlInputParameterOutput) Value() pulumi.StringOutput
- type GetFrameworkControlOutput
- func (GetFrameworkControlOutput) ElementType() reflect.Type
- func (o GetFrameworkControlOutput) InputParameters() GetFrameworkControlInputParameterArrayOutput
- func (o GetFrameworkControlOutput) Name() pulumi.StringOutput
- func (o GetFrameworkControlOutput) Scopes() GetFrameworkControlScopeArrayOutput
- func (o GetFrameworkControlOutput) ToGetFrameworkControlOutput() GetFrameworkControlOutput
- func (o GetFrameworkControlOutput) ToGetFrameworkControlOutputWithContext(ctx context.Context) GetFrameworkControlOutput
- type GetFrameworkControlScope
- type GetFrameworkControlScopeArgs
- func (GetFrameworkControlScopeArgs) ElementType() reflect.Type
- func (i GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutput() GetFrameworkControlScopeOutput
- func (i GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutputWithContext(ctx context.Context) GetFrameworkControlScopeOutput
- type GetFrameworkControlScopeArray
- func (GetFrameworkControlScopeArray) ElementType() reflect.Type
- func (i GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutput() GetFrameworkControlScopeArrayOutput
- func (i GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutputWithContext(ctx context.Context) GetFrameworkControlScopeArrayOutput
- type GetFrameworkControlScopeArrayInput
- type GetFrameworkControlScopeArrayOutput
- func (GetFrameworkControlScopeArrayOutput) ElementType() reflect.Type
- func (o GetFrameworkControlScopeArrayOutput) Index(i pulumi.IntInput) GetFrameworkControlScopeOutput
- func (o GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutput() GetFrameworkControlScopeArrayOutput
- func (o GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutputWithContext(ctx context.Context) GetFrameworkControlScopeArrayOutput
- type GetFrameworkControlScopeInput
- type GetFrameworkControlScopeOutput
- func (o GetFrameworkControlScopeOutput) ComplianceResourceIds() pulumi.StringArrayOutput
- func (o GetFrameworkControlScopeOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
- func (GetFrameworkControlScopeOutput) ElementType() reflect.Type
- func (o GetFrameworkControlScopeOutput) Tags() pulumi.StringMapOutput
- func (o GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutput() GetFrameworkControlScopeOutput
- func (o GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutputWithContext(ctx context.Context) GetFrameworkControlScopeOutput
- type GetPlanRule
- type GetPlanRuleArgs
- type GetPlanRuleArray
- type GetPlanRuleArrayInput
- type GetPlanRuleArrayOutput
- func (GetPlanRuleArrayOutput) ElementType() reflect.Type
- func (o GetPlanRuleArrayOutput) Index(i pulumi.IntInput) GetPlanRuleOutput
- func (o GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutput() GetPlanRuleArrayOutput
- func (o GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutputWithContext(ctx context.Context) GetPlanRuleArrayOutput
- type GetPlanRuleCopyAction
- type GetPlanRuleCopyActionArgs
- type GetPlanRuleCopyActionArray
- func (GetPlanRuleCopyActionArray) ElementType() reflect.Type
- func (i GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutput() GetPlanRuleCopyActionArrayOutput
- func (i GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionArrayOutput
- type GetPlanRuleCopyActionArrayInput
- type GetPlanRuleCopyActionArrayOutput
- func (GetPlanRuleCopyActionArrayOutput) ElementType() reflect.Type
- func (o GetPlanRuleCopyActionArrayOutput) Index(i pulumi.IntInput) GetPlanRuleCopyActionOutput
- func (o GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutput() GetPlanRuleCopyActionArrayOutput
- func (o GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionArrayOutput
- type GetPlanRuleCopyActionInput
- type GetPlanRuleCopyActionLifecycle
- type GetPlanRuleCopyActionLifecycleArgs
- func (GetPlanRuleCopyActionLifecycleArgs) ElementType() reflect.Type
- func (i GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutput() GetPlanRuleCopyActionLifecycleOutput
- func (i GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleOutput
- type GetPlanRuleCopyActionLifecycleArray
- func (GetPlanRuleCopyActionLifecycleArray) ElementType() reflect.Type
- func (i GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutput() GetPlanRuleCopyActionLifecycleArrayOutput
- func (i GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleArrayOutput
- type GetPlanRuleCopyActionLifecycleArrayInput
- type GetPlanRuleCopyActionLifecycleArrayOutput
- func (GetPlanRuleCopyActionLifecycleArrayOutput) ElementType() reflect.Type
- func (o GetPlanRuleCopyActionLifecycleArrayOutput) Index(i pulumi.IntInput) GetPlanRuleCopyActionLifecycleOutput
- func (o GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutput() GetPlanRuleCopyActionLifecycleArrayOutput
- func (o GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleArrayOutput
- type GetPlanRuleCopyActionLifecycleInput
- type GetPlanRuleCopyActionLifecycleOutput
- func (o GetPlanRuleCopyActionLifecycleOutput) ColdStorageAfter() pulumi.IntOutput
- func (o GetPlanRuleCopyActionLifecycleOutput) DeleteAfter() pulumi.IntOutput
- func (GetPlanRuleCopyActionLifecycleOutput) ElementType() reflect.Type
- func (o GetPlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolOutput
- func (o GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutput() GetPlanRuleCopyActionLifecycleOutput
- func (o GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleOutput
- type GetPlanRuleCopyActionOutput
- func (o GetPlanRuleCopyActionOutput) DestinationVaultArn() pulumi.StringOutput
- func (GetPlanRuleCopyActionOutput) ElementType() reflect.Type
- func (o GetPlanRuleCopyActionOutput) Lifecycles() GetPlanRuleCopyActionLifecycleArrayOutput
- func (o GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutput() GetPlanRuleCopyActionOutput
- func (o GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutputWithContext(ctx context.Context) GetPlanRuleCopyActionOutput
- type GetPlanRuleInput
- type GetPlanRuleLifecycle
- type GetPlanRuleLifecycleArgs
- type GetPlanRuleLifecycleArray
- type GetPlanRuleLifecycleArrayInput
- type GetPlanRuleLifecycleArrayOutput
- func (GetPlanRuleLifecycleArrayOutput) ElementType() reflect.Type
- func (o GetPlanRuleLifecycleArrayOutput) Index(i pulumi.IntInput) GetPlanRuleLifecycleOutput
- func (o GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutput() GetPlanRuleLifecycleArrayOutput
- func (o GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleLifecycleArrayOutput
- type GetPlanRuleLifecycleInput
- type GetPlanRuleLifecycleOutput
- func (o GetPlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntOutput
- func (o GetPlanRuleLifecycleOutput) DeleteAfter() pulumi.IntOutput
- func (GetPlanRuleLifecycleOutput) ElementType() reflect.Type
- func (o GetPlanRuleLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolOutput
- func (o GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutput() GetPlanRuleLifecycleOutput
- func (o GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutputWithContext(ctx context.Context) GetPlanRuleLifecycleOutput
- type GetPlanRuleOutput
- func (o GetPlanRuleOutput) CompletionWindow() pulumi.IntOutput
- func (o GetPlanRuleOutput) CopyActions() GetPlanRuleCopyActionArrayOutput
- func (GetPlanRuleOutput) ElementType() reflect.Type
- func (o GetPlanRuleOutput) EnableContinuousBackup() pulumi.BoolOutput
- func (o GetPlanRuleOutput) Lifecycles() GetPlanRuleLifecycleArrayOutput
- func (o GetPlanRuleOutput) RecoveryPointTags() pulumi.StringMapOutput
- func (o GetPlanRuleOutput) RuleName() pulumi.StringOutput
- func (o GetPlanRuleOutput) Schedule() pulumi.StringOutput
- func (o GetPlanRuleOutput) ScheduleExpressionTimezone() pulumi.StringOutput
- func (o GetPlanRuleOutput) StartWindow() pulumi.IntOutput
- func (o GetPlanRuleOutput) TargetVaultName() pulumi.StringOutput
- func (o GetPlanRuleOutput) ToGetPlanRuleOutput() GetPlanRuleOutput
- func (o GetPlanRuleOutput) ToGetPlanRuleOutputWithContext(ctx context.Context) GetPlanRuleOutput
- type GetReportPlanReportDeliveryChannel
- type GetReportPlanReportDeliveryChannelArgs
- func (GetReportPlanReportDeliveryChannelArgs) ElementType() reflect.Type
- func (i GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutput() GetReportPlanReportDeliveryChannelOutput
- func (i GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelOutput
- type GetReportPlanReportDeliveryChannelArray
- func (GetReportPlanReportDeliveryChannelArray) ElementType() reflect.Type
- func (i GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutput() GetReportPlanReportDeliveryChannelArrayOutput
- func (i GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelArrayOutput
- type GetReportPlanReportDeliveryChannelArrayInput
- type GetReportPlanReportDeliveryChannelArrayOutput
- func (GetReportPlanReportDeliveryChannelArrayOutput) ElementType() reflect.Type
- func (o GetReportPlanReportDeliveryChannelArrayOutput) Index(i pulumi.IntInput) GetReportPlanReportDeliveryChannelOutput
- func (o GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutput() GetReportPlanReportDeliveryChannelArrayOutput
- func (o GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelArrayOutput
- type GetReportPlanReportDeliveryChannelInput
- type GetReportPlanReportDeliveryChannelOutput
- func (GetReportPlanReportDeliveryChannelOutput) ElementType() reflect.Type
- func (o GetReportPlanReportDeliveryChannelOutput) Formats() pulumi.StringArrayOutput
- func (o GetReportPlanReportDeliveryChannelOutput) S3BucketName() pulumi.StringOutput
- func (o GetReportPlanReportDeliveryChannelOutput) S3KeyPrefix() pulumi.StringOutput
- func (o GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutput() GetReportPlanReportDeliveryChannelOutput
- func (o GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelOutput
- type GetReportPlanReportSetting
- type GetReportPlanReportSettingArgs
- func (GetReportPlanReportSettingArgs) ElementType() reflect.Type
- func (i GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutput() GetReportPlanReportSettingOutput
- func (i GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutputWithContext(ctx context.Context) GetReportPlanReportSettingOutput
- type GetReportPlanReportSettingArray
- func (GetReportPlanReportSettingArray) ElementType() reflect.Type
- func (i GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutput() GetReportPlanReportSettingArrayOutput
- func (i GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutputWithContext(ctx context.Context) GetReportPlanReportSettingArrayOutput
- type GetReportPlanReportSettingArrayInput
- type GetReportPlanReportSettingArrayOutput
- func (GetReportPlanReportSettingArrayOutput) ElementType() reflect.Type
- func (o GetReportPlanReportSettingArrayOutput) Index(i pulumi.IntInput) GetReportPlanReportSettingOutput
- func (o GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutput() GetReportPlanReportSettingArrayOutput
- func (o GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutputWithContext(ctx context.Context) GetReportPlanReportSettingArrayOutput
- type GetReportPlanReportSettingInput
- type GetReportPlanReportSettingOutput
- func (o GetReportPlanReportSettingOutput) Accounts() pulumi.StringArrayOutput
- func (GetReportPlanReportSettingOutput) ElementType() reflect.Type
- func (o GetReportPlanReportSettingOutput) FrameworkArns() pulumi.StringArrayOutput
- func (o GetReportPlanReportSettingOutput) NumberOfFrameworks() pulumi.IntOutput
- func (o GetReportPlanReportSettingOutput) OrganizationUnits() pulumi.StringArrayOutput
- func (o GetReportPlanReportSettingOutput) Regions() pulumi.StringArrayOutput
- func (o GetReportPlanReportSettingOutput) ReportTemplate() pulumi.StringOutput
- func (o GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutput() GetReportPlanReportSettingOutput
- func (o GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutputWithContext(ctx context.Context) GetReportPlanReportSettingOutput
- type GlobalSettings
- type GlobalSettingsArgs
- type GlobalSettingsArray
- type GlobalSettingsArrayInput
- type GlobalSettingsArrayOutput
- func (GlobalSettingsArrayOutput) ElementType() reflect.Type
- func (o GlobalSettingsArrayOutput) Index(i pulumi.IntInput) GlobalSettingsOutput
- func (o GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutput() GlobalSettingsArrayOutput
- func (o GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutputWithContext(ctx context.Context) GlobalSettingsArrayOutput
- type GlobalSettingsInput
- type GlobalSettingsMap
- type GlobalSettingsMapInput
- type GlobalSettingsMapOutput
- func (GlobalSettingsMapOutput) ElementType() reflect.Type
- func (o GlobalSettingsMapOutput) MapIndex(k pulumi.StringInput) GlobalSettingsOutput
- func (o GlobalSettingsMapOutput) ToGlobalSettingsMapOutput() GlobalSettingsMapOutput
- func (o GlobalSettingsMapOutput) ToGlobalSettingsMapOutputWithContext(ctx context.Context) GlobalSettingsMapOutput
- type GlobalSettingsOutput
- func (GlobalSettingsOutput) ElementType() reflect.Type
- func (o GlobalSettingsOutput) GlobalSettings() pulumi.StringMapOutput
- func (o GlobalSettingsOutput) ToGlobalSettingsOutput() GlobalSettingsOutput
- func (o GlobalSettingsOutput) ToGlobalSettingsOutputWithContext(ctx context.Context) GlobalSettingsOutput
- type GlobalSettingsState
- type LogicallyAirGappedVault
- type LogicallyAirGappedVaultArgs
- type LogicallyAirGappedVaultArray
- func (LogicallyAirGappedVaultArray) ElementType() reflect.Type
- func (i LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutput() LogicallyAirGappedVaultArrayOutput
- func (i LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutputWithContext(ctx context.Context) LogicallyAirGappedVaultArrayOutput
- type LogicallyAirGappedVaultArrayInput
- type LogicallyAirGappedVaultArrayOutput
- func (LogicallyAirGappedVaultArrayOutput) ElementType() reflect.Type
- func (o LogicallyAirGappedVaultArrayOutput) Index(i pulumi.IntInput) LogicallyAirGappedVaultOutput
- func (o LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutput() LogicallyAirGappedVaultArrayOutput
- func (o LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutputWithContext(ctx context.Context) LogicallyAirGappedVaultArrayOutput
- type LogicallyAirGappedVaultInput
- type LogicallyAirGappedVaultMap
- func (LogicallyAirGappedVaultMap) ElementType() reflect.Type
- func (i LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutput() LogicallyAirGappedVaultMapOutput
- func (i LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutputWithContext(ctx context.Context) LogicallyAirGappedVaultMapOutput
- type LogicallyAirGappedVaultMapInput
- type LogicallyAirGappedVaultMapOutput
- func (LogicallyAirGappedVaultMapOutput) ElementType() reflect.Type
- func (o LogicallyAirGappedVaultMapOutput) MapIndex(k pulumi.StringInput) LogicallyAirGappedVaultOutput
- func (o LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutput() LogicallyAirGappedVaultMapOutput
- func (o LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutputWithContext(ctx context.Context) LogicallyAirGappedVaultMapOutput
- type LogicallyAirGappedVaultOutput
- func (o LogicallyAirGappedVaultOutput) Arn() pulumi.StringOutput
- func (LogicallyAirGappedVaultOutput) ElementType() reflect.Type
- func (o LogicallyAirGappedVaultOutput) MaxRetentionDays() pulumi.IntOutput
- func (o LogicallyAirGappedVaultOutput) MinRetentionDays() pulumi.IntOutput
- func (o LogicallyAirGappedVaultOutput) Name() pulumi.StringOutput
- func (o LogicallyAirGappedVaultOutput) Region() pulumi.StringOutput
- func (o LogicallyAirGappedVaultOutput) Tags() pulumi.StringMapOutput
- func (o LogicallyAirGappedVaultOutput) TagsAll() pulumi.StringMapOutput
- func (o LogicallyAirGappedVaultOutput) Timeouts() LogicallyAirGappedVaultTimeoutsPtrOutput
- func (o LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutput() LogicallyAirGappedVaultOutput
- func (o LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutputWithContext(ctx context.Context) LogicallyAirGappedVaultOutput
- type LogicallyAirGappedVaultState
- type LogicallyAirGappedVaultTimeouts
- type LogicallyAirGappedVaultTimeoutsArgs
- func (LogicallyAirGappedVaultTimeoutsArgs) ElementType() reflect.Type
- func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutput() LogicallyAirGappedVaultTimeoutsOutput
- func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsOutput
- func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
- func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
- type LogicallyAirGappedVaultTimeoutsInput
- type LogicallyAirGappedVaultTimeoutsOutput
- func (o LogicallyAirGappedVaultTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (LogicallyAirGappedVaultTimeoutsOutput) ElementType() reflect.Type
- func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutput() LogicallyAirGappedVaultTimeoutsOutput
- func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsOutput
- func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
- func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
- type LogicallyAirGappedVaultTimeoutsPtrInput
- type LogicallyAirGappedVaultTimeoutsPtrOutput
- func (o LogicallyAirGappedVaultTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o LogicallyAirGappedVaultTimeoutsPtrOutput) Elem() LogicallyAirGappedVaultTimeoutsOutput
- func (LogicallyAirGappedVaultTimeoutsPtrOutput) ElementType() reflect.Type
- func (o LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
- func (o LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
- type LookupFrameworkArgs
- type LookupFrameworkOutputArgs
- type LookupFrameworkResult
- type LookupFrameworkResultOutput
- func (o LookupFrameworkResultOutput) Arn() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Controls() GetFrameworkControlArrayOutput
- func (o LookupFrameworkResultOutput) CreationTime() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) DeploymentStatus() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Description() pulumi.StringOutput
- func (LookupFrameworkResultOutput) ElementType() reflect.Type
- func (o LookupFrameworkResultOutput) Id() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Name() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Region() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Status() pulumi.StringOutput
- func (o LookupFrameworkResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutput() LookupFrameworkResultOutput
- func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutputWithContext(ctx context.Context) LookupFrameworkResultOutput
- type LookupPlanArgs
- type LookupPlanOutputArgs
- type LookupPlanResult
- type LookupPlanResultOutput
- func (o LookupPlanResultOutput) Arn() pulumi.StringOutput
- func (LookupPlanResultOutput) ElementType() reflect.Type
- func (o LookupPlanResultOutput) Id() pulumi.StringOutput
- func (o LookupPlanResultOutput) Name() pulumi.StringOutput
- func (o LookupPlanResultOutput) PlanId() pulumi.StringOutput
- func (o LookupPlanResultOutput) Region() pulumi.StringOutput
- func (o LookupPlanResultOutput) Rules() GetPlanRuleArrayOutput
- func (o LookupPlanResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupPlanResultOutput) ToLookupPlanResultOutput() LookupPlanResultOutput
- func (o LookupPlanResultOutput) ToLookupPlanResultOutputWithContext(ctx context.Context) LookupPlanResultOutput
- func (o LookupPlanResultOutput) Version() pulumi.StringOutput
- type LookupReportPlanArgs
- type LookupReportPlanOutputArgs
- type LookupReportPlanResult
- type LookupReportPlanResultOutput
- func (o LookupReportPlanResultOutput) Arn() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) CreationTime() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) DeploymentStatus() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) Description() pulumi.StringOutput
- func (LookupReportPlanResultOutput) ElementType() reflect.Type
- func (o LookupReportPlanResultOutput) Id() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) Name() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) Region() pulumi.StringOutput
- func (o LookupReportPlanResultOutput) ReportDeliveryChannels() GetReportPlanReportDeliveryChannelArrayOutput
- func (o LookupReportPlanResultOutput) ReportSettings() GetReportPlanReportSettingArrayOutput
- func (o LookupReportPlanResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupReportPlanResultOutput) ToLookupReportPlanResultOutput() LookupReportPlanResultOutput
- func (o LookupReportPlanResultOutput) ToLookupReportPlanResultOutputWithContext(ctx context.Context) LookupReportPlanResultOutput
- type LookupSelectionArgs
- type LookupSelectionOutputArgs
- type LookupSelectionResult
- type LookupSelectionResultOutput
- func (LookupSelectionResultOutput) ElementType() reflect.Type
- func (o LookupSelectionResultOutput) IamRoleArn() pulumi.StringOutput
- func (o LookupSelectionResultOutput) Id() pulumi.StringOutput
- func (o LookupSelectionResultOutput) Name() pulumi.StringOutput
- func (o LookupSelectionResultOutput) PlanId() pulumi.StringOutput
- func (o LookupSelectionResultOutput) Region() pulumi.StringOutput
- func (o LookupSelectionResultOutput) Resources() pulumi.StringArrayOutput
- func (o LookupSelectionResultOutput) SelectionId() pulumi.StringOutput
- func (o LookupSelectionResultOutput) ToLookupSelectionResultOutput() LookupSelectionResultOutput
- func (o LookupSelectionResultOutput) ToLookupSelectionResultOutputWithContext(ctx context.Context) LookupSelectionResultOutput
- type LookupVaultArgs
- type LookupVaultOutputArgs
- type LookupVaultResult
- type LookupVaultResultOutput
- func (o LookupVaultResultOutput) Arn() pulumi.StringOutput
- func (LookupVaultResultOutput) ElementType() reflect.Type
- func (o LookupVaultResultOutput) Id() pulumi.StringOutput
- func (o LookupVaultResultOutput) KmsKeyArn() pulumi.StringOutput
- func (o LookupVaultResultOutput) Name() pulumi.StringOutput
- func (o LookupVaultResultOutput) RecoveryPoints() pulumi.IntOutput
- func (o LookupVaultResultOutput) Region() pulumi.StringOutput
- func (o LookupVaultResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVaultResultOutput) ToLookupVaultResultOutput() LookupVaultResultOutput
- func (o LookupVaultResultOutput) ToLookupVaultResultOutputWithContext(ctx context.Context) LookupVaultResultOutput
- type Plan
- type PlanAdvancedBackupSetting
- type PlanAdvancedBackupSettingArgs
- func (PlanAdvancedBackupSettingArgs) ElementType() reflect.Type
- func (i PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutput() PlanAdvancedBackupSettingOutput
- func (i PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingOutput
- type PlanAdvancedBackupSettingArray
- func (PlanAdvancedBackupSettingArray) ElementType() reflect.Type
- func (i PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutput() PlanAdvancedBackupSettingArrayOutput
- func (i PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingArrayOutput
- type PlanAdvancedBackupSettingArrayInput
- type PlanAdvancedBackupSettingArrayOutput
- func (PlanAdvancedBackupSettingArrayOutput) ElementType() reflect.Type
- func (o PlanAdvancedBackupSettingArrayOutput) Index(i pulumi.IntInput) PlanAdvancedBackupSettingOutput
- func (o PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutput() PlanAdvancedBackupSettingArrayOutput
- func (o PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingArrayOutput
- type PlanAdvancedBackupSettingInput
- type PlanAdvancedBackupSettingOutput
- func (o PlanAdvancedBackupSettingOutput) BackupOptions() pulumi.StringMapOutput
- func (PlanAdvancedBackupSettingOutput) ElementType() reflect.Type
- func (o PlanAdvancedBackupSettingOutput) ResourceType() pulumi.StringOutput
- func (o PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutput() PlanAdvancedBackupSettingOutput
- func (o PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingOutput
- type PlanArgs
- type PlanArray
- type PlanArrayInput
- type PlanArrayOutput
- type PlanInput
- type PlanMap
- type PlanMapInput
- type PlanMapOutput
- type PlanOutput
- func (o PlanOutput) AdvancedBackupSettings() PlanAdvancedBackupSettingArrayOutput
- func (o PlanOutput) Arn() pulumi.StringOutput
- func (PlanOutput) ElementType() reflect.Type
- func (o PlanOutput) Name() pulumi.StringOutput
- func (o PlanOutput) Region() pulumi.StringOutput
- func (o PlanOutput) Rules() PlanRuleArrayOutput
- func (o PlanOutput) Tags() pulumi.StringMapOutput
- func (o PlanOutput) TagsAll() pulumi.StringMapOutput
- func (o PlanOutput) ToPlanOutput() PlanOutput
- func (o PlanOutput) ToPlanOutputWithContext(ctx context.Context) PlanOutput
- func (o PlanOutput) Version() pulumi.StringOutput
- type PlanRule
- type PlanRuleArgs
- type PlanRuleArray
- type PlanRuleArrayInput
- type PlanRuleArrayOutput
- type PlanRuleCopyAction
- type PlanRuleCopyActionArgs
- type PlanRuleCopyActionArray
- type PlanRuleCopyActionArrayInput
- type PlanRuleCopyActionArrayOutput
- func (PlanRuleCopyActionArrayOutput) ElementType() reflect.Type
- func (o PlanRuleCopyActionArrayOutput) Index(i pulumi.IntInput) PlanRuleCopyActionOutput
- func (o PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutput() PlanRuleCopyActionArrayOutput
- func (o PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) PlanRuleCopyActionArrayOutput
- type PlanRuleCopyActionInput
- type PlanRuleCopyActionLifecycle
- type PlanRuleCopyActionLifecycleArgs
- func (PlanRuleCopyActionLifecycleArgs) ElementType() reflect.Type
- func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutput() PlanRuleCopyActionLifecycleOutput
- func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecycleOutput
- func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
- func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
- type PlanRuleCopyActionLifecycleInput
- type PlanRuleCopyActionLifecycleOutput
- func (o PlanRuleCopyActionLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleCopyActionLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
- func (PlanRuleCopyActionLifecycleOutput) ElementType() reflect.Type
- func (o PlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
- func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutput() PlanRuleCopyActionLifecycleOutput
- func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecycleOutput
- func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
- func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
- type PlanRuleCopyActionLifecyclePtrInput
- type PlanRuleCopyActionLifecyclePtrOutput
- func (o PlanRuleCopyActionLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleCopyActionLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
- func (o PlanRuleCopyActionLifecyclePtrOutput) Elem() PlanRuleCopyActionLifecycleOutput
- func (PlanRuleCopyActionLifecyclePtrOutput) ElementType() reflect.Type
- func (o PlanRuleCopyActionLifecyclePtrOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
- func (o PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
- func (o PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
- type PlanRuleCopyActionOutput
- func (o PlanRuleCopyActionOutput) DestinationVaultArn() pulumi.StringOutput
- func (PlanRuleCopyActionOutput) ElementType() reflect.Type
- func (o PlanRuleCopyActionOutput) Lifecycle() PlanRuleCopyActionLifecyclePtrOutput
- func (o PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutput() PlanRuleCopyActionOutput
- func (o PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutputWithContext(ctx context.Context) PlanRuleCopyActionOutput
- type PlanRuleInput
- type PlanRuleLifecycle
- type PlanRuleLifecycleArgs
- func (PlanRuleLifecycleArgs) ElementType() reflect.Type
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleLifecycleInput
- type PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
- func (PlanRuleLifecycleOutput) ElementType() reflect.Type
- func (o PlanRuleLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleLifecyclePtrInput
- type PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecyclePtrOutput) Elem() PlanRuleLifecycleOutput
- func (PlanRuleLifecyclePtrOutput) ElementType() reflect.Type
- func (o PlanRuleLifecyclePtrOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
- func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleOutput
- func (o PlanRuleOutput) CompletionWindow() pulumi.IntPtrOutput
- func (o PlanRuleOutput) CopyActions() PlanRuleCopyActionArrayOutput
- func (PlanRuleOutput) ElementType() reflect.Type
- func (o PlanRuleOutput) EnableContinuousBackup() pulumi.BoolPtrOutput
- func (o PlanRuleOutput) Lifecycle() PlanRuleLifecyclePtrOutput
- func (o PlanRuleOutput) RecoveryPointTags() pulumi.StringMapOutput
- func (o PlanRuleOutput) RuleName() pulumi.StringOutput
- func (o PlanRuleOutput) Schedule() pulumi.StringPtrOutput
- func (o PlanRuleOutput) ScheduleExpressionTimezone() pulumi.StringPtrOutput
- func (o PlanRuleOutput) StartWindow() pulumi.IntPtrOutput
- func (o PlanRuleOutput) TargetVaultName() pulumi.StringOutput
- func (o PlanRuleOutput) ToPlanRuleOutput() PlanRuleOutput
- func (o PlanRuleOutput) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
- type PlanState
- type RegionSettings
- type RegionSettingsArgs
- type RegionSettingsArray
- type RegionSettingsArrayInput
- type RegionSettingsArrayOutput
- func (RegionSettingsArrayOutput) ElementType() reflect.Type
- func (o RegionSettingsArrayOutput) Index(i pulumi.IntInput) RegionSettingsOutput
- func (o RegionSettingsArrayOutput) ToRegionSettingsArrayOutput() RegionSettingsArrayOutput
- func (o RegionSettingsArrayOutput) ToRegionSettingsArrayOutputWithContext(ctx context.Context) RegionSettingsArrayOutput
- type RegionSettingsInput
- type RegionSettingsMap
- type RegionSettingsMapInput
- type RegionSettingsMapOutput
- func (RegionSettingsMapOutput) ElementType() reflect.Type
- func (o RegionSettingsMapOutput) MapIndex(k pulumi.StringInput) RegionSettingsOutput
- func (o RegionSettingsMapOutput) ToRegionSettingsMapOutput() RegionSettingsMapOutput
- func (o RegionSettingsMapOutput) ToRegionSettingsMapOutputWithContext(ctx context.Context) RegionSettingsMapOutput
- type RegionSettingsOutput
- func (RegionSettingsOutput) ElementType() reflect.Type
- func (o RegionSettingsOutput) Region() pulumi.StringOutput
- func (o RegionSettingsOutput) ResourceTypeManagementPreference() pulumi.BoolMapOutput
- func (o RegionSettingsOutput) ResourceTypeOptInPreference() pulumi.BoolMapOutput
- func (o RegionSettingsOutput) ToRegionSettingsOutput() RegionSettingsOutput
- func (o RegionSettingsOutput) ToRegionSettingsOutputWithContext(ctx context.Context) RegionSettingsOutput
- type RegionSettingsState
- type ReportPlan
- type ReportPlanArgs
- type ReportPlanArray
- type ReportPlanArrayInput
- type ReportPlanArrayOutput
- func (ReportPlanArrayOutput) ElementType() reflect.Type
- func (o ReportPlanArrayOutput) Index(i pulumi.IntInput) ReportPlanOutput
- func (o ReportPlanArrayOutput) ToReportPlanArrayOutput() ReportPlanArrayOutput
- func (o ReportPlanArrayOutput) ToReportPlanArrayOutputWithContext(ctx context.Context) ReportPlanArrayOutput
- type ReportPlanInput
- type ReportPlanMap
- type ReportPlanMapInput
- type ReportPlanMapOutput
- func (ReportPlanMapOutput) ElementType() reflect.Type
- func (o ReportPlanMapOutput) MapIndex(k pulumi.StringInput) ReportPlanOutput
- func (o ReportPlanMapOutput) ToReportPlanMapOutput() ReportPlanMapOutput
- func (o ReportPlanMapOutput) ToReportPlanMapOutputWithContext(ctx context.Context) ReportPlanMapOutput
- type ReportPlanOutput
- func (o ReportPlanOutput) Arn() pulumi.StringOutput
- func (o ReportPlanOutput) CreationTime() pulumi.StringOutput
- func (o ReportPlanOutput) DeploymentStatus() pulumi.StringOutput
- func (o ReportPlanOutput) Description() pulumi.StringPtrOutput
- func (ReportPlanOutput) ElementType() reflect.Type
- func (o ReportPlanOutput) Name() pulumi.StringOutput
- func (o ReportPlanOutput) Region() pulumi.StringOutput
- func (o ReportPlanOutput) ReportDeliveryChannel() ReportPlanReportDeliveryChannelOutput
- func (o ReportPlanOutput) ReportSetting() ReportPlanReportSettingOutput
- func (o ReportPlanOutput) Tags() pulumi.StringMapOutput
- func (o ReportPlanOutput) TagsAll() pulumi.StringMapOutput
- func (o ReportPlanOutput) ToReportPlanOutput() ReportPlanOutput
- func (o ReportPlanOutput) ToReportPlanOutputWithContext(ctx context.Context) ReportPlanOutput
- type ReportPlanReportDeliveryChannel
- type ReportPlanReportDeliveryChannelArgs
- func (ReportPlanReportDeliveryChannelArgs) ElementType() reflect.Type
- func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutput() ReportPlanReportDeliveryChannelOutput
- func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelOutput
- func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
- func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
- type ReportPlanReportDeliveryChannelInput
- type ReportPlanReportDeliveryChannelOutput
- func (ReportPlanReportDeliveryChannelOutput) ElementType() reflect.Type
- func (o ReportPlanReportDeliveryChannelOutput) Formats() pulumi.StringArrayOutput
- func (o ReportPlanReportDeliveryChannelOutput) S3BucketName() pulumi.StringOutput
- func (o ReportPlanReportDeliveryChannelOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutput() ReportPlanReportDeliveryChannelOutput
- func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelOutput
- func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
- func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
- type ReportPlanReportDeliveryChannelPtrInput
- type ReportPlanReportDeliveryChannelPtrOutput
- func (o ReportPlanReportDeliveryChannelPtrOutput) Elem() ReportPlanReportDeliveryChannelOutput
- func (ReportPlanReportDeliveryChannelPtrOutput) ElementType() reflect.Type
- func (o ReportPlanReportDeliveryChannelPtrOutput) Formats() pulumi.StringArrayOutput
- func (o ReportPlanReportDeliveryChannelPtrOutput) S3BucketName() pulumi.StringPtrOutput
- func (o ReportPlanReportDeliveryChannelPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
- func (o ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
- type ReportPlanReportSetting
- type ReportPlanReportSettingArgs
- func (ReportPlanReportSettingArgs) ElementType() reflect.Type
- func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingOutput() ReportPlanReportSettingOutput
- func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingOutputWithContext(ctx context.Context) ReportPlanReportSettingOutput
- func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
- func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
- type ReportPlanReportSettingInput
- type ReportPlanReportSettingOutput
- func (o ReportPlanReportSettingOutput) Accounts() pulumi.StringArrayOutput
- func (ReportPlanReportSettingOutput) ElementType() reflect.Type
- func (o ReportPlanReportSettingOutput) FrameworkArns() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingOutput) NumberOfFrameworks() pulumi.IntPtrOutput
- func (o ReportPlanReportSettingOutput) OrganizationUnits() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingOutput) Regions() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingOutput) ReportTemplate() pulumi.StringOutput
- func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingOutput() ReportPlanReportSettingOutput
- func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingOutputWithContext(ctx context.Context) ReportPlanReportSettingOutput
- func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
- func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
- type ReportPlanReportSettingPtrInput
- type ReportPlanReportSettingPtrOutput
- func (o ReportPlanReportSettingPtrOutput) Accounts() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingPtrOutput) Elem() ReportPlanReportSettingOutput
- func (ReportPlanReportSettingPtrOutput) ElementType() reflect.Type
- func (o ReportPlanReportSettingPtrOutput) FrameworkArns() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingPtrOutput) NumberOfFrameworks() pulumi.IntPtrOutput
- func (o ReportPlanReportSettingPtrOutput) OrganizationUnits() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingPtrOutput) Regions() pulumi.StringArrayOutput
- func (o ReportPlanReportSettingPtrOutput) ReportTemplate() pulumi.StringPtrOutput
- func (o ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
- func (o ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
- type ReportPlanState
- type RestoreTestingPlan
- type RestoreTestingPlanArgs
- type RestoreTestingPlanArray
- type RestoreTestingPlanArrayInput
- type RestoreTestingPlanArrayOutput
- func (RestoreTestingPlanArrayOutput) ElementType() reflect.Type
- func (o RestoreTestingPlanArrayOutput) Index(i pulumi.IntInput) RestoreTestingPlanOutput
- func (o RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutput() RestoreTestingPlanArrayOutput
- func (o RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutputWithContext(ctx context.Context) RestoreTestingPlanArrayOutput
- type RestoreTestingPlanInput
- type RestoreTestingPlanMap
- type RestoreTestingPlanMapInput
- type RestoreTestingPlanMapOutput
- func (RestoreTestingPlanMapOutput) ElementType() reflect.Type
- func (o RestoreTestingPlanMapOutput) MapIndex(k pulumi.StringInput) RestoreTestingPlanOutput
- func (o RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutput() RestoreTestingPlanMapOutput
- func (o RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutputWithContext(ctx context.Context) RestoreTestingPlanMapOutput
- type RestoreTestingPlanOutput
- func (o RestoreTestingPlanOutput) Arn() pulumi.StringOutput
- func (RestoreTestingPlanOutput) ElementType() reflect.Type
- func (o RestoreTestingPlanOutput) Name() pulumi.StringOutput
- func (o RestoreTestingPlanOutput) RecoveryPointSelection() RestoreTestingPlanRecoveryPointSelectionPtrOutput
- func (o RestoreTestingPlanOutput) Region() pulumi.StringOutput
- func (o RestoreTestingPlanOutput) ScheduleExpression() pulumi.StringOutput
- func (o RestoreTestingPlanOutput) ScheduleExpressionTimezone() pulumi.StringOutput
- func (o RestoreTestingPlanOutput) StartWindowHours() pulumi.IntOutput
- func (o RestoreTestingPlanOutput) Tags() pulumi.StringMapOutput
- func (o RestoreTestingPlanOutput) TagsAll() pulumi.StringMapOutput
- func (o RestoreTestingPlanOutput) ToRestoreTestingPlanOutput() RestoreTestingPlanOutput
- func (o RestoreTestingPlanOutput) ToRestoreTestingPlanOutputWithContext(ctx context.Context) RestoreTestingPlanOutput
- type RestoreTestingPlanRecoveryPointSelection
- type RestoreTestingPlanRecoveryPointSelectionArgs
- func (RestoreTestingPlanRecoveryPointSelectionArgs) ElementType() reflect.Type
- func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutput() RestoreTestingPlanRecoveryPointSelectionOutput
- func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionOutput
- func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
- func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
- type RestoreTestingPlanRecoveryPointSelectionInput
- type RestoreTestingPlanRecoveryPointSelectionOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) Algorithm() pulumi.StringOutput
- func (RestoreTestingPlanRecoveryPointSelectionOutput) ElementType() reflect.Type
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) ExcludeVaults() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) IncludeVaults() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) RecoveryPointTypes() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) SelectionWindowDays() pulumi.IntPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutput() RestoreTestingPlanRecoveryPointSelectionOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
- type RestoreTestingPlanRecoveryPointSelectionPtrInput
- type RestoreTestingPlanRecoveryPointSelectionPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) Algorithm() pulumi.StringPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) Elem() RestoreTestingPlanRecoveryPointSelectionOutput
- func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ElementType() reflect.Type
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ExcludeVaults() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) IncludeVaults() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) RecoveryPointTypes() pulumi.StringArrayOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) SelectionWindowDays() pulumi.IntPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
- func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
- type RestoreTestingPlanState
- type RestoreTestingSelection
- type RestoreTestingSelectionArgs
- type RestoreTestingSelectionArray
- func (RestoreTestingSelectionArray) ElementType() reflect.Type
- func (i RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutput() RestoreTestingSelectionArrayOutput
- func (i RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionArrayOutput
- type RestoreTestingSelectionArrayInput
- type RestoreTestingSelectionArrayOutput
- func (RestoreTestingSelectionArrayOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionArrayOutput) Index(i pulumi.IntInput) RestoreTestingSelectionOutput
- func (o RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutput() RestoreTestingSelectionArrayOutput
- func (o RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionArrayOutput
- type RestoreTestingSelectionInput
- type RestoreTestingSelectionMap
- func (RestoreTestingSelectionMap) ElementType() reflect.Type
- func (i RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutput() RestoreTestingSelectionMapOutput
- func (i RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutputWithContext(ctx context.Context) RestoreTestingSelectionMapOutput
- type RestoreTestingSelectionMapInput
- type RestoreTestingSelectionMapOutput
- func (RestoreTestingSelectionMapOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionMapOutput) MapIndex(k pulumi.StringInput) RestoreTestingSelectionOutput
- func (o RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutput() RestoreTestingSelectionMapOutput
- func (o RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutputWithContext(ctx context.Context) RestoreTestingSelectionMapOutput
- type RestoreTestingSelectionOutput
- func (RestoreTestingSelectionOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionOutput) IamRoleArn() pulumi.StringOutput
- func (o RestoreTestingSelectionOutput) Name() pulumi.StringOutput
- func (o RestoreTestingSelectionOutput) ProtectedResourceArns() pulumi.StringArrayOutput
- func (o RestoreTestingSelectionOutput) ProtectedResourceConditions() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- func (o RestoreTestingSelectionOutput) ProtectedResourceType() pulumi.StringOutput
- func (o RestoreTestingSelectionOutput) Region() pulumi.StringOutput
- func (o RestoreTestingSelectionOutput) RestoreMetadataOverrides() pulumi.StringMapOutput
- func (o RestoreTestingSelectionOutput) RestoreTestingPlanName() pulumi.StringOutput
- func (o RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutput() RestoreTestingSelectionOutput
- func (o RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutputWithContext(ctx context.Context) RestoreTestingSelectionOutput
- func (o RestoreTestingSelectionOutput) ValidationWindowHours() pulumi.IntOutput
- type RestoreTestingSelectionProtectedResourceConditions
- type RestoreTestingSelectionProtectedResourceConditionsArgs
- func (RestoreTestingSelectionProtectedResourceConditionsArgs) ElementType() reflect.Type
- func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutput() RestoreTestingSelectionProtectedResourceConditionsOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- type RestoreTestingSelectionProtectedResourceConditionsInput
- type RestoreTestingSelectionProtectedResourceConditionsOutput
- func (RestoreTestingSelectionProtectedResourceConditionsOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) StringEquals() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) StringNotEquals() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutput() RestoreTestingSelectionProtectedResourceConditionsOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- type RestoreTestingSelectionProtectedResourceConditionsPtrInput
- type RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) Elem() RestoreTestingSelectionProtectedResourceConditionsOutput
- func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringEquals() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringNotEquals() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqual
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
- func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ElementType() reflect.Type
- func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualArray
- func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ElementType() reflect.Type
- func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) Index(i pulumi.IntInput) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualInput
- type RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Key() pulumi.StringOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Value() pulumi.StringOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqual
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs
- func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ElementType() reflect.Type
- func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray
- func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ElementType() reflect.Type
- func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) Index(i pulumi.IntInput) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput
- type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ElementType() reflect.Type
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Key() pulumi.StringOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
- func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Value() pulumi.StringOutput
- type RestoreTestingSelectionState
- type Selection
- type SelectionArgs
- type SelectionArray
- type SelectionArrayInput
- type SelectionArrayOutput
- func (SelectionArrayOutput) ElementType() reflect.Type
- func (o SelectionArrayOutput) Index(i pulumi.IntInput) SelectionOutput
- func (o SelectionArrayOutput) ToSelectionArrayOutput() SelectionArrayOutput
- func (o SelectionArrayOutput) ToSelectionArrayOutputWithContext(ctx context.Context) SelectionArrayOutput
- type SelectionCondition
- type SelectionConditionArgs
- type SelectionConditionArray
- type SelectionConditionArrayInput
- type SelectionConditionArrayOutput
- func (SelectionConditionArrayOutput) ElementType() reflect.Type
- func (o SelectionConditionArrayOutput) Index(i pulumi.IntInput) SelectionConditionOutput
- func (o SelectionConditionArrayOutput) ToSelectionConditionArrayOutput() SelectionConditionArrayOutput
- func (o SelectionConditionArrayOutput) ToSelectionConditionArrayOutputWithContext(ctx context.Context) SelectionConditionArrayOutput
- type SelectionConditionInput
- type SelectionConditionOutput
- func (SelectionConditionOutput) ElementType() reflect.Type
- func (o SelectionConditionOutput) StringEquals() SelectionConditionStringEqualArrayOutput
- func (o SelectionConditionOutput) StringLikes() SelectionConditionStringLikeArrayOutput
- func (o SelectionConditionOutput) StringNotEquals() SelectionConditionStringNotEqualArrayOutput
- func (o SelectionConditionOutput) StringNotLikes() SelectionConditionStringNotLikeArrayOutput
- func (o SelectionConditionOutput) ToSelectionConditionOutput() SelectionConditionOutput
- func (o SelectionConditionOutput) ToSelectionConditionOutputWithContext(ctx context.Context) SelectionConditionOutput
- type SelectionConditionStringEqual
- type SelectionConditionStringEqualArgs
- func (SelectionConditionStringEqualArgs) ElementType() reflect.Type
- func (i SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutput() SelectionConditionStringEqualOutput
- func (i SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutputWithContext(ctx context.Context) SelectionConditionStringEqualOutput
- type SelectionConditionStringEqualArray
- func (SelectionConditionStringEqualArray) ElementType() reflect.Type
- func (i SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutput() SelectionConditionStringEqualArrayOutput
- func (i SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringEqualArrayOutput
- type SelectionConditionStringEqualArrayInput
- type SelectionConditionStringEqualArrayOutput
- func (SelectionConditionStringEqualArrayOutput) ElementType() reflect.Type
- func (o SelectionConditionStringEqualArrayOutput) Index(i pulumi.IntInput) SelectionConditionStringEqualOutput
- func (o SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutput() SelectionConditionStringEqualArrayOutput
- func (o SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringEqualArrayOutput
- type SelectionConditionStringEqualInput
- type SelectionConditionStringEqualOutput
- func (SelectionConditionStringEqualOutput) ElementType() reflect.Type
- func (o SelectionConditionStringEqualOutput) Key() pulumi.StringOutput
- func (o SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutput() SelectionConditionStringEqualOutput
- func (o SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutputWithContext(ctx context.Context) SelectionConditionStringEqualOutput
- func (o SelectionConditionStringEqualOutput) Value() pulumi.StringOutput
- type SelectionConditionStringLike
- type SelectionConditionStringLikeArgs
- func (SelectionConditionStringLikeArgs) ElementType() reflect.Type
- func (i SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutput() SelectionConditionStringLikeOutput
- func (i SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutputWithContext(ctx context.Context) SelectionConditionStringLikeOutput
- type SelectionConditionStringLikeArray
- func (SelectionConditionStringLikeArray) ElementType() reflect.Type
- func (i SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutput() SelectionConditionStringLikeArrayOutput
- func (i SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringLikeArrayOutput
- type SelectionConditionStringLikeArrayInput
- type SelectionConditionStringLikeArrayOutput
- func (SelectionConditionStringLikeArrayOutput) ElementType() reflect.Type
- func (o SelectionConditionStringLikeArrayOutput) Index(i pulumi.IntInput) SelectionConditionStringLikeOutput
- func (o SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutput() SelectionConditionStringLikeArrayOutput
- func (o SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringLikeArrayOutput
- type SelectionConditionStringLikeInput
- type SelectionConditionStringLikeOutput
- func (SelectionConditionStringLikeOutput) ElementType() reflect.Type
- func (o SelectionConditionStringLikeOutput) Key() pulumi.StringOutput
- func (o SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutput() SelectionConditionStringLikeOutput
- func (o SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutputWithContext(ctx context.Context) SelectionConditionStringLikeOutput
- func (o SelectionConditionStringLikeOutput) Value() pulumi.StringOutput
- type SelectionConditionStringNotEqual
- type SelectionConditionStringNotEqualArgs
- func (SelectionConditionStringNotEqualArgs) ElementType() reflect.Type
- func (i SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutput() SelectionConditionStringNotEqualOutput
- func (i SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualOutput
- type SelectionConditionStringNotEqualArray
- func (SelectionConditionStringNotEqualArray) ElementType() reflect.Type
- func (i SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutput() SelectionConditionStringNotEqualArrayOutput
- func (i SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualArrayOutput
- type SelectionConditionStringNotEqualArrayInput
- type SelectionConditionStringNotEqualArrayOutput
- func (SelectionConditionStringNotEqualArrayOutput) ElementType() reflect.Type
- func (o SelectionConditionStringNotEqualArrayOutput) Index(i pulumi.IntInput) SelectionConditionStringNotEqualOutput
- func (o SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutput() SelectionConditionStringNotEqualArrayOutput
- func (o SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualArrayOutput
- type SelectionConditionStringNotEqualInput
- type SelectionConditionStringNotEqualOutput
- func (SelectionConditionStringNotEqualOutput) ElementType() reflect.Type
- func (o SelectionConditionStringNotEqualOutput) Key() pulumi.StringOutput
- func (o SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutput() SelectionConditionStringNotEqualOutput
- func (o SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualOutput
- func (o SelectionConditionStringNotEqualOutput) Value() pulumi.StringOutput
- type SelectionConditionStringNotLike
- type SelectionConditionStringNotLikeArgs
- func (SelectionConditionStringNotLikeArgs) ElementType() reflect.Type
- func (i SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutput() SelectionConditionStringNotLikeOutput
- func (i SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeOutput
- type SelectionConditionStringNotLikeArray
- func (SelectionConditionStringNotLikeArray) ElementType() reflect.Type
- func (i SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutput() SelectionConditionStringNotLikeArrayOutput
- func (i SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeArrayOutput
- type SelectionConditionStringNotLikeArrayInput
- type SelectionConditionStringNotLikeArrayOutput
- func (SelectionConditionStringNotLikeArrayOutput) ElementType() reflect.Type
- func (o SelectionConditionStringNotLikeArrayOutput) Index(i pulumi.IntInput) SelectionConditionStringNotLikeOutput
- func (o SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutput() SelectionConditionStringNotLikeArrayOutput
- func (o SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeArrayOutput
- type SelectionConditionStringNotLikeInput
- type SelectionConditionStringNotLikeOutput
- func (SelectionConditionStringNotLikeOutput) ElementType() reflect.Type
- func (o SelectionConditionStringNotLikeOutput) Key() pulumi.StringOutput
- func (o SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutput() SelectionConditionStringNotLikeOutput
- func (o SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeOutput
- func (o SelectionConditionStringNotLikeOutput) Value() pulumi.StringOutput
- type SelectionInput
- type SelectionMap
- type SelectionMapInput
- type SelectionMapOutput
- type SelectionOutput
- func (o SelectionOutput) Conditions() SelectionConditionArrayOutput
- func (SelectionOutput) ElementType() reflect.Type
- func (o SelectionOutput) IamRoleArn() pulumi.StringOutput
- func (o SelectionOutput) Name() pulumi.StringOutput
- func (o SelectionOutput) NotResources() pulumi.StringArrayOutput
- func (o SelectionOutput) PlanId() pulumi.StringOutput
- func (o SelectionOutput) Region() pulumi.StringOutput
- func (o SelectionOutput) Resources() pulumi.StringArrayOutput
- func (o SelectionOutput) SelectionTags() SelectionSelectionTagArrayOutput
- func (o SelectionOutput) ToSelectionOutput() SelectionOutput
- func (o SelectionOutput) ToSelectionOutputWithContext(ctx context.Context) SelectionOutput
- type SelectionSelectionTag
- type SelectionSelectionTagArgs
- type SelectionSelectionTagArray
- func (SelectionSelectionTagArray) ElementType() reflect.Type
- func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
- func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
- type SelectionSelectionTagArrayInput
- type SelectionSelectionTagArrayOutput
- func (SelectionSelectionTagArrayOutput) ElementType() reflect.Type
- func (o SelectionSelectionTagArrayOutput) Index(i pulumi.IntInput) SelectionSelectionTagOutput
- func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
- func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
- type SelectionSelectionTagInput
- type SelectionSelectionTagOutput
- func (SelectionSelectionTagOutput) ElementType() reflect.Type
- func (o SelectionSelectionTagOutput) Key() pulumi.StringOutput
- func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
- func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
- func (o SelectionSelectionTagOutput) Type() pulumi.StringOutput
- func (o SelectionSelectionTagOutput) Value() pulumi.StringOutput
- type SelectionState
- type Vault
- type VaultArgs
- type VaultArray
- type VaultArrayInput
- type VaultArrayOutput
- type VaultInput
- type VaultLockConfiguration
- type VaultLockConfigurationArgs
- type VaultLockConfigurationArray
- func (VaultLockConfigurationArray) ElementType() reflect.Type
- func (i VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutput() VaultLockConfigurationArrayOutput
- func (i VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutputWithContext(ctx context.Context) VaultLockConfigurationArrayOutput
- type VaultLockConfigurationArrayInput
- type VaultLockConfigurationArrayOutput
- func (VaultLockConfigurationArrayOutput) ElementType() reflect.Type
- func (o VaultLockConfigurationArrayOutput) Index(i pulumi.IntInput) VaultLockConfigurationOutput
- func (o VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutput() VaultLockConfigurationArrayOutput
- func (o VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutputWithContext(ctx context.Context) VaultLockConfigurationArrayOutput
- type VaultLockConfigurationInput
- type VaultLockConfigurationMap
- type VaultLockConfigurationMapInput
- type VaultLockConfigurationMapOutput
- func (VaultLockConfigurationMapOutput) ElementType() reflect.Type
- func (o VaultLockConfigurationMapOutput) MapIndex(k pulumi.StringInput) VaultLockConfigurationOutput
- func (o VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutput() VaultLockConfigurationMapOutput
- func (o VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutputWithContext(ctx context.Context) VaultLockConfigurationMapOutput
- type VaultLockConfigurationOutput
- func (o VaultLockConfigurationOutput) BackupVaultArn() pulumi.StringOutput
- func (o VaultLockConfigurationOutput) BackupVaultName() pulumi.StringOutput
- func (o VaultLockConfigurationOutput) ChangeableForDays() pulumi.IntPtrOutput
- func (VaultLockConfigurationOutput) ElementType() reflect.Type
- func (o VaultLockConfigurationOutput) MaxRetentionDays() pulumi.IntPtrOutput
- func (o VaultLockConfigurationOutput) MinRetentionDays() pulumi.IntPtrOutput
- func (o VaultLockConfigurationOutput) Region() pulumi.StringOutput
- func (o VaultLockConfigurationOutput) ToVaultLockConfigurationOutput() VaultLockConfigurationOutput
- func (o VaultLockConfigurationOutput) ToVaultLockConfigurationOutputWithContext(ctx context.Context) VaultLockConfigurationOutput
- type VaultLockConfigurationState
- type VaultMap
- type VaultMapInput
- type VaultMapOutput
- type VaultNotifications
- type VaultNotificationsArgs
- type VaultNotificationsArray
- type VaultNotificationsArrayInput
- type VaultNotificationsArrayOutput
- func (VaultNotificationsArrayOutput) ElementType() reflect.Type
- func (o VaultNotificationsArrayOutput) Index(i pulumi.IntInput) VaultNotificationsOutput
- func (o VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutput() VaultNotificationsArrayOutput
- func (o VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutputWithContext(ctx context.Context) VaultNotificationsArrayOutput
- type VaultNotificationsInput
- type VaultNotificationsMap
- type VaultNotificationsMapInput
- type VaultNotificationsMapOutput
- func (VaultNotificationsMapOutput) ElementType() reflect.Type
- func (o VaultNotificationsMapOutput) MapIndex(k pulumi.StringInput) VaultNotificationsOutput
- func (o VaultNotificationsMapOutput) ToVaultNotificationsMapOutput() VaultNotificationsMapOutput
- func (o VaultNotificationsMapOutput) ToVaultNotificationsMapOutputWithContext(ctx context.Context) VaultNotificationsMapOutput
- type VaultNotificationsOutput
- func (o VaultNotificationsOutput) BackupVaultArn() pulumi.StringOutput
- func (o VaultNotificationsOutput) BackupVaultEvents() pulumi.StringArrayOutput
- func (o VaultNotificationsOutput) BackupVaultName() pulumi.StringOutput
- func (VaultNotificationsOutput) ElementType() reflect.Type
- func (o VaultNotificationsOutput) Region() pulumi.StringOutput
- func (o VaultNotificationsOutput) SnsTopicArn() pulumi.StringOutput
- func (o VaultNotificationsOutput) ToVaultNotificationsOutput() VaultNotificationsOutput
- func (o VaultNotificationsOutput) ToVaultNotificationsOutputWithContext(ctx context.Context) VaultNotificationsOutput
- type VaultNotificationsState
- type VaultOutput
- func (o VaultOutput) Arn() pulumi.StringOutput
- func (VaultOutput) ElementType() reflect.Type
- func (o VaultOutput) ForceDestroy() pulumi.BoolPtrOutput
- func (o VaultOutput) KmsKeyArn() pulumi.StringOutput
- func (o VaultOutput) Name() pulumi.StringOutput
- func (o VaultOutput) RecoveryPoints() pulumi.IntOutput
- func (o VaultOutput) Region() pulumi.StringOutput
- func (o VaultOutput) Tags() pulumi.StringMapOutput
- func (o VaultOutput) TagsAll() pulumi.StringMapOutput
- func (o VaultOutput) ToVaultOutput() VaultOutput
- func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput
- type VaultPolicy
- type VaultPolicyArgs
- type VaultPolicyArray
- type VaultPolicyArrayInput
- type VaultPolicyArrayOutput
- func (VaultPolicyArrayOutput) ElementType() reflect.Type
- func (o VaultPolicyArrayOutput) Index(i pulumi.IntInput) VaultPolicyOutput
- func (o VaultPolicyArrayOutput) ToVaultPolicyArrayOutput() VaultPolicyArrayOutput
- func (o VaultPolicyArrayOutput) ToVaultPolicyArrayOutputWithContext(ctx context.Context) VaultPolicyArrayOutput
- type VaultPolicyInput
- type VaultPolicyMap
- type VaultPolicyMapInput
- type VaultPolicyMapOutput
- func (VaultPolicyMapOutput) ElementType() reflect.Type
- func (o VaultPolicyMapOutput) MapIndex(k pulumi.StringInput) VaultPolicyOutput
- func (o VaultPolicyMapOutput) ToVaultPolicyMapOutput() VaultPolicyMapOutput
- func (o VaultPolicyMapOutput) ToVaultPolicyMapOutputWithContext(ctx context.Context) VaultPolicyMapOutput
- type VaultPolicyOutput
- func (o VaultPolicyOutput) BackupVaultArn() pulumi.StringOutput
- func (o VaultPolicyOutput) BackupVaultName() pulumi.StringOutput
- func (VaultPolicyOutput) ElementType() reflect.Type
- func (o VaultPolicyOutput) Policy() pulumi.StringOutput
- func (o VaultPolicyOutput) Region() pulumi.StringOutput
- func (o VaultPolicyOutput) ToVaultPolicyOutput() VaultPolicyOutput
- func (o VaultPolicyOutput) ToVaultPolicyOutputWithContext(ctx context.Context) VaultPolicyOutput
- type VaultPolicyState
- type VaultState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct {
pulumi.CustomResourceState
// The ARN of the backup framework.
Arn pulumi.StringOutput `pulumi:"arn"`
// One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
Controls FrameworkControlArrayOutput `pulumi:"controls"`
// The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime pulumi.StringOutput `pulumi:"creationTime"`
// The deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED` | `FAILED`.
DeploymentStatus pulumi.StringOutput `pulumi:"deploymentStatus"`
// The description of the framework with a maximum of 1,024 characters
Description pulumi.StringPtrOutput `pulumi:"description"`
// The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringOutput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. For more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkStatus)
Status pulumi.StringOutput `pulumi:"status"`
// Metadata that you can assign to help organize the frameworks you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an AWS Backup Framework resource.
> **Note:** For the Deployment Status of the Framework to be successful, please turn on resource tracking to enable AWS Config recording to track configuration changes of your backup resources. This can be done from the AWS Console.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewFramework(ctx, "Example", &backup.FrameworkArgs{
Name: pulumi.String("exampleFramework"),
Description: pulumi.String("this is an example framework"),
Controls: backup.FrameworkControlArray{
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK"),
InputParameters: backup.FrameworkControlInputParameterArray{
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("requiredRetentionDays"),
Value: pulumi.String("35"),
},
},
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK"),
InputParameters: backup.FrameworkControlInputParameterArray{
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("requiredFrequencyUnit"),
Value: pulumi.String("hours"),
},
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("requiredRetentionDays"),
Value: pulumi.String("35"),
},
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("requiredFrequencyValue"),
Value: pulumi.String("1"),
},
},
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_RECOVERY_POINT_ENCRYPTED"),
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN"),
Scope: &backup.FrameworkControlScopeArgs{
ComplianceResourceTypes: pulumi.StringArray{
pulumi.String("EBS"),
},
},
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED"),
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_VAULT_LOCK"),
InputParameters: backup.FrameworkControlInputParameterArray{
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("maxRetentionDays"),
Value: pulumi.String("100"),
},
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("minRetentionDays"),
Value: pulumi.String("1"),
},
},
Scope: &backup.FrameworkControlScopeArgs{
ComplianceResourceTypes: pulumi.StringArray{
pulumi.String("EBS"),
},
},
},
&backup.FrameworkControlArgs{
Name: pulumi.String("BACKUP_LAST_RECOVERY_POINT_CREATED"),
InputParameters: backup.FrameworkControlInputParameterArray{
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("recoveryPointAgeUnit"),
Value: pulumi.String("days"),
},
&backup.FrameworkControlInputParameterArgs{
Name: pulumi.String("recoveryPointAgeValue"),
Value: pulumi.String("1"),
},
},
Scope: &backup.FrameworkControlScopeArgs{
ComplianceResourceTypes: pulumi.StringArray{
pulumi.String("EBS"),
},
},
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("Example Framework"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Framework using the `id` which corresponds to the name of the Backup Framework. For example:
```sh $ pulumi import aws:backup/framework:Framework test <id> ```
func GetFramework ¶
func GetFramework(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FrameworkState, opts ...pulumi.ResourceOption) (*Framework, error)
GetFramework gets an existing Framework 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 NewFramework ¶
func NewFramework(ctx *pulumi.Context, name string, args *FrameworkArgs, opts ...pulumi.ResourceOption) (*Framework, error)
NewFramework registers a new resource with the given unique name, arguments, and options.
func (*Framework) ElementType ¶
func (*Framework) ToFrameworkOutput ¶
func (i *Framework) ToFrameworkOutput() FrameworkOutput
func (*Framework) ToFrameworkOutputWithContext ¶
func (i *Framework) ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput
type FrameworkArgs ¶
type FrameworkArgs struct {
// One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
Controls FrameworkControlArrayInput
// The description of the framework with a maximum of 1,024 characters
Description pulumi.StringPtrInput
// The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Metadata that you can assign to help organize the frameworks you create. 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 Framework resource.
func (FrameworkArgs) ElementType ¶
func (FrameworkArgs) ElementType() reflect.Type
type FrameworkArray ¶
type FrameworkArray []FrameworkInput
func (FrameworkArray) ElementType ¶
func (FrameworkArray) ElementType() reflect.Type
func (FrameworkArray) ToFrameworkArrayOutput ¶
func (i FrameworkArray) ToFrameworkArrayOutput() FrameworkArrayOutput
func (FrameworkArray) ToFrameworkArrayOutputWithContext ¶
func (i FrameworkArray) ToFrameworkArrayOutputWithContext(ctx context.Context) FrameworkArrayOutput
type FrameworkArrayInput ¶
type FrameworkArrayInput interface {
pulumi.Input
ToFrameworkArrayOutput() FrameworkArrayOutput
ToFrameworkArrayOutputWithContext(context.Context) FrameworkArrayOutput
}
FrameworkArrayInput is an input type that accepts FrameworkArray and FrameworkArrayOutput values. You can construct a concrete instance of `FrameworkArrayInput` via:
FrameworkArray{ FrameworkArgs{...} }
type FrameworkArrayOutput ¶
type FrameworkArrayOutput struct{ *pulumi.OutputState }
func (FrameworkArrayOutput) ElementType ¶
func (FrameworkArrayOutput) ElementType() reflect.Type
func (FrameworkArrayOutput) Index ¶
func (o FrameworkArrayOutput) Index(i pulumi.IntInput) FrameworkOutput
func (FrameworkArrayOutput) ToFrameworkArrayOutput ¶
func (o FrameworkArrayOutput) ToFrameworkArrayOutput() FrameworkArrayOutput
func (FrameworkArrayOutput) ToFrameworkArrayOutputWithContext ¶
func (o FrameworkArrayOutput) ToFrameworkArrayOutputWithContext(ctx context.Context) FrameworkArrayOutput
type FrameworkControl ¶
type FrameworkControl struct {
// One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
InputParameters []FrameworkControlInputParameter `pulumi:"inputParameters"`
// The name of a control. This name is between 1 and 256 characters.
Name string `pulumi:"name"`
// The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
Scope *FrameworkControlScope `pulumi:"scope"`
}
type FrameworkControlArgs ¶
type FrameworkControlArgs struct {
// One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
InputParameters FrameworkControlInputParameterArrayInput `pulumi:"inputParameters"`
// The name of a control. This name is between 1 and 256 characters.
Name pulumi.StringInput `pulumi:"name"`
// The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
Scope FrameworkControlScopePtrInput `pulumi:"scope"`
}
func (FrameworkControlArgs) ElementType ¶
func (FrameworkControlArgs) ElementType() reflect.Type
func (FrameworkControlArgs) ToFrameworkControlOutput ¶
func (i FrameworkControlArgs) ToFrameworkControlOutput() FrameworkControlOutput
func (FrameworkControlArgs) ToFrameworkControlOutputWithContext ¶
func (i FrameworkControlArgs) ToFrameworkControlOutputWithContext(ctx context.Context) FrameworkControlOutput
type FrameworkControlArray ¶
type FrameworkControlArray []FrameworkControlInput
func (FrameworkControlArray) ElementType ¶
func (FrameworkControlArray) ElementType() reflect.Type
func (FrameworkControlArray) ToFrameworkControlArrayOutput ¶
func (i FrameworkControlArray) ToFrameworkControlArrayOutput() FrameworkControlArrayOutput
func (FrameworkControlArray) ToFrameworkControlArrayOutputWithContext ¶
func (i FrameworkControlArray) ToFrameworkControlArrayOutputWithContext(ctx context.Context) FrameworkControlArrayOutput
type FrameworkControlArrayInput ¶
type FrameworkControlArrayInput interface {
pulumi.Input
ToFrameworkControlArrayOutput() FrameworkControlArrayOutput
ToFrameworkControlArrayOutputWithContext(context.Context) FrameworkControlArrayOutput
}
FrameworkControlArrayInput is an input type that accepts FrameworkControlArray and FrameworkControlArrayOutput values. You can construct a concrete instance of `FrameworkControlArrayInput` via:
FrameworkControlArray{ FrameworkControlArgs{...} }
type FrameworkControlArrayOutput ¶
type FrameworkControlArrayOutput struct{ *pulumi.OutputState }
func (FrameworkControlArrayOutput) ElementType ¶
func (FrameworkControlArrayOutput) ElementType() reflect.Type
func (FrameworkControlArrayOutput) Index ¶
func (o FrameworkControlArrayOutput) Index(i pulumi.IntInput) FrameworkControlOutput
func (FrameworkControlArrayOutput) ToFrameworkControlArrayOutput ¶
func (o FrameworkControlArrayOutput) ToFrameworkControlArrayOutput() FrameworkControlArrayOutput
func (FrameworkControlArrayOutput) ToFrameworkControlArrayOutputWithContext ¶
func (o FrameworkControlArrayOutput) ToFrameworkControlArrayOutputWithContext(ctx context.Context) FrameworkControlArrayOutput
type FrameworkControlInput ¶
type FrameworkControlInput interface {
pulumi.Input
ToFrameworkControlOutput() FrameworkControlOutput
ToFrameworkControlOutputWithContext(context.Context) FrameworkControlOutput
}
FrameworkControlInput is an input type that accepts FrameworkControlArgs and FrameworkControlOutput values. You can construct a concrete instance of `FrameworkControlInput` via:
FrameworkControlArgs{...}
type FrameworkControlInputParameterArgs ¶
type FrameworkControlInputParameterArgs struct {
// The name of a parameter, for example, BackupPlanFrequency.
Name pulumi.StringPtrInput `pulumi:"name"`
// The value of parameter, for example, hourly.
Value pulumi.StringPtrInput `pulumi:"value"`
}
func (FrameworkControlInputParameterArgs) ElementType ¶
func (FrameworkControlInputParameterArgs) ElementType() reflect.Type
func (FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutput ¶
func (i FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutput() FrameworkControlInputParameterOutput
func (FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutputWithContext ¶
func (i FrameworkControlInputParameterArgs) ToFrameworkControlInputParameterOutputWithContext(ctx context.Context) FrameworkControlInputParameterOutput
type FrameworkControlInputParameterArray ¶
type FrameworkControlInputParameterArray []FrameworkControlInputParameterInput
func (FrameworkControlInputParameterArray) ElementType ¶
func (FrameworkControlInputParameterArray) ElementType() reflect.Type
func (FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutput ¶
func (i FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutput() FrameworkControlInputParameterArrayOutput
func (FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutputWithContext ¶
func (i FrameworkControlInputParameterArray) ToFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) FrameworkControlInputParameterArrayOutput
type FrameworkControlInputParameterArrayInput ¶
type FrameworkControlInputParameterArrayInput interface {
pulumi.Input
ToFrameworkControlInputParameterArrayOutput() FrameworkControlInputParameterArrayOutput
ToFrameworkControlInputParameterArrayOutputWithContext(context.Context) FrameworkControlInputParameterArrayOutput
}
FrameworkControlInputParameterArrayInput is an input type that accepts FrameworkControlInputParameterArray and FrameworkControlInputParameterArrayOutput values. You can construct a concrete instance of `FrameworkControlInputParameterArrayInput` via:
FrameworkControlInputParameterArray{ FrameworkControlInputParameterArgs{...} }
type FrameworkControlInputParameterArrayOutput ¶
type FrameworkControlInputParameterArrayOutput struct{ *pulumi.OutputState }
func (FrameworkControlInputParameterArrayOutput) ElementType ¶
func (FrameworkControlInputParameterArrayOutput) ElementType() reflect.Type
func (FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutput ¶
func (o FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutput() FrameworkControlInputParameterArrayOutput
func (FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutputWithContext ¶
func (o FrameworkControlInputParameterArrayOutput) ToFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) FrameworkControlInputParameterArrayOutput
type FrameworkControlInputParameterInput ¶
type FrameworkControlInputParameterInput interface {
pulumi.Input
ToFrameworkControlInputParameterOutput() FrameworkControlInputParameterOutput
ToFrameworkControlInputParameterOutputWithContext(context.Context) FrameworkControlInputParameterOutput
}
FrameworkControlInputParameterInput is an input type that accepts FrameworkControlInputParameterArgs and FrameworkControlInputParameterOutput values. You can construct a concrete instance of `FrameworkControlInputParameterInput` via:
FrameworkControlInputParameterArgs{...}
type FrameworkControlInputParameterOutput ¶
type FrameworkControlInputParameterOutput struct{ *pulumi.OutputState }
func (FrameworkControlInputParameterOutput) ElementType ¶
func (FrameworkControlInputParameterOutput) ElementType() reflect.Type
func (FrameworkControlInputParameterOutput) Name ¶
func (o FrameworkControlInputParameterOutput) Name() pulumi.StringPtrOutput
The name of a parameter, for example, BackupPlanFrequency.
func (FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutput ¶
func (o FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutput() FrameworkControlInputParameterOutput
func (FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutputWithContext ¶
func (o FrameworkControlInputParameterOutput) ToFrameworkControlInputParameterOutputWithContext(ctx context.Context) FrameworkControlInputParameterOutput
func (FrameworkControlInputParameterOutput) Value ¶
func (o FrameworkControlInputParameterOutput) Value() pulumi.StringPtrOutput
The value of parameter, for example, hourly.
type FrameworkControlOutput ¶
type FrameworkControlOutput struct{ *pulumi.OutputState }
func (FrameworkControlOutput) ElementType ¶
func (FrameworkControlOutput) ElementType() reflect.Type
func (FrameworkControlOutput) InputParameters ¶
func (o FrameworkControlOutput) InputParameters() FrameworkControlInputParameterArrayOutput
One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
func (FrameworkControlOutput) Name ¶
func (o FrameworkControlOutput) Name() pulumi.StringOutput
The name of a control. This name is between 1 and 256 characters.
func (FrameworkControlOutput) Scope ¶
func (o FrameworkControlOutput) Scope() FrameworkControlScopePtrOutput
The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
func (FrameworkControlOutput) ToFrameworkControlOutput ¶
func (o FrameworkControlOutput) ToFrameworkControlOutput() FrameworkControlOutput
func (FrameworkControlOutput) ToFrameworkControlOutputWithContext ¶
func (o FrameworkControlOutput) ToFrameworkControlOutputWithContext(ctx context.Context) FrameworkControlOutput
type FrameworkControlScope ¶
type FrameworkControlScope struct {
// The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.
ComplianceResourceIds []string `pulumi:"complianceResourceIds"`
// Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
ComplianceResourceTypes []string `pulumi:"complianceResourceTypes"`
// The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags map[string]string `pulumi:"tags"`
}
type FrameworkControlScopeArgs ¶
type FrameworkControlScopeArgs struct {
// The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.
ComplianceResourceIds pulumi.StringArrayInput `pulumi:"complianceResourceIds"`
// Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
ComplianceResourceTypes pulumi.StringArrayInput `pulumi:"complianceResourceTypes"`
// The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
func (FrameworkControlScopeArgs) ElementType ¶
func (FrameworkControlScopeArgs) ElementType() reflect.Type
func (FrameworkControlScopeArgs) ToFrameworkControlScopeOutput ¶
func (i FrameworkControlScopeArgs) ToFrameworkControlScopeOutput() FrameworkControlScopeOutput
func (FrameworkControlScopeArgs) ToFrameworkControlScopeOutputWithContext ¶
func (i FrameworkControlScopeArgs) ToFrameworkControlScopeOutputWithContext(ctx context.Context) FrameworkControlScopeOutput
func (FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutput ¶
func (i FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
func (FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutputWithContext ¶
func (i FrameworkControlScopeArgs) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
type FrameworkControlScopeInput ¶
type FrameworkControlScopeInput interface {
pulumi.Input
ToFrameworkControlScopeOutput() FrameworkControlScopeOutput
ToFrameworkControlScopeOutputWithContext(context.Context) FrameworkControlScopeOutput
}
FrameworkControlScopeInput is an input type that accepts FrameworkControlScopeArgs and FrameworkControlScopeOutput values. You can construct a concrete instance of `FrameworkControlScopeInput` via:
FrameworkControlScopeArgs{...}
type FrameworkControlScopeOutput ¶
type FrameworkControlScopeOutput struct{ *pulumi.OutputState }
func (FrameworkControlScopeOutput) ComplianceResourceIds ¶
func (o FrameworkControlScopeOutput) ComplianceResourceIds() pulumi.StringArrayOutput
The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.
func (FrameworkControlScopeOutput) ComplianceResourceTypes ¶
func (o FrameworkControlScopeOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
func (FrameworkControlScopeOutput) ElementType ¶
func (FrameworkControlScopeOutput) ElementType() reflect.Type
func (FrameworkControlScopeOutput) Tags ¶
func (o FrameworkControlScopeOutput) Tags() pulumi.StringMapOutput
The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
func (FrameworkControlScopeOutput) ToFrameworkControlScopeOutput ¶
func (o FrameworkControlScopeOutput) ToFrameworkControlScopeOutput() FrameworkControlScopeOutput
func (FrameworkControlScopeOutput) ToFrameworkControlScopeOutputWithContext ¶
func (o FrameworkControlScopeOutput) ToFrameworkControlScopeOutputWithContext(ctx context.Context) FrameworkControlScopeOutput
func (FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutput ¶
func (o FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
func (FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutputWithContext ¶
func (o FrameworkControlScopeOutput) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
type FrameworkControlScopePtrInput ¶
type FrameworkControlScopePtrInput interface {
pulumi.Input
ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
ToFrameworkControlScopePtrOutputWithContext(context.Context) FrameworkControlScopePtrOutput
}
FrameworkControlScopePtrInput is an input type that accepts FrameworkControlScopeArgs, FrameworkControlScopePtr and FrameworkControlScopePtrOutput values. You can construct a concrete instance of `FrameworkControlScopePtrInput` via:
FrameworkControlScopeArgs{...}
or:
nil
func FrameworkControlScopePtr ¶
func FrameworkControlScopePtr(v *FrameworkControlScopeArgs) FrameworkControlScopePtrInput
type FrameworkControlScopePtrOutput ¶
type FrameworkControlScopePtrOutput struct{ *pulumi.OutputState }
func (FrameworkControlScopePtrOutput) ComplianceResourceIds ¶
func (o FrameworkControlScopePtrOutput) ComplianceResourceIds() pulumi.StringArrayOutput
The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.
func (FrameworkControlScopePtrOutput) ComplianceResourceTypes ¶
func (o FrameworkControlScopePtrOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
func (FrameworkControlScopePtrOutput) Elem ¶
func (o FrameworkControlScopePtrOutput) Elem() FrameworkControlScopeOutput
func (FrameworkControlScopePtrOutput) ElementType ¶
func (FrameworkControlScopePtrOutput) ElementType() reflect.Type
func (FrameworkControlScopePtrOutput) Tags ¶
func (o FrameworkControlScopePtrOutput) Tags() pulumi.StringMapOutput
The tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
func (FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutput ¶
func (o FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutput() FrameworkControlScopePtrOutput
func (FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutputWithContext ¶
func (o FrameworkControlScopePtrOutput) ToFrameworkControlScopePtrOutputWithContext(ctx context.Context) FrameworkControlScopePtrOutput
type FrameworkInput ¶
type FrameworkInput interface {
pulumi.Input
ToFrameworkOutput() FrameworkOutput
ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput
}
type FrameworkMap ¶
type FrameworkMap map[string]FrameworkInput
func (FrameworkMap) ElementType ¶
func (FrameworkMap) ElementType() reflect.Type
func (FrameworkMap) ToFrameworkMapOutput ¶
func (i FrameworkMap) ToFrameworkMapOutput() FrameworkMapOutput
func (FrameworkMap) ToFrameworkMapOutputWithContext ¶
func (i FrameworkMap) ToFrameworkMapOutputWithContext(ctx context.Context) FrameworkMapOutput
type FrameworkMapInput ¶
type FrameworkMapInput interface {
pulumi.Input
ToFrameworkMapOutput() FrameworkMapOutput
ToFrameworkMapOutputWithContext(context.Context) FrameworkMapOutput
}
FrameworkMapInput is an input type that accepts FrameworkMap and FrameworkMapOutput values. You can construct a concrete instance of `FrameworkMapInput` via:
FrameworkMap{ "key": FrameworkArgs{...} }
type FrameworkMapOutput ¶
type FrameworkMapOutput struct{ *pulumi.OutputState }
func (FrameworkMapOutput) ElementType ¶
func (FrameworkMapOutput) ElementType() reflect.Type
func (FrameworkMapOutput) MapIndex ¶
func (o FrameworkMapOutput) MapIndex(k pulumi.StringInput) FrameworkOutput
func (FrameworkMapOutput) ToFrameworkMapOutput ¶
func (o FrameworkMapOutput) ToFrameworkMapOutput() FrameworkMapOutput
func (FrameworkMapOutput) ToFrameworkMapOutputWithContext ¶
func (o FrameworkMapOutput) ToFrameworkMapOutputWithContext(ctx context.Context) FrameworkMapOutput
type FrameworkOutput ¶
type FrameworkOutput struct{ *pulumi.OutputState }
func (FrameworkOutput) Arn ¶
func (o FrameworkOutput) Arn() pulumi.StringOutput
The ARN of the backup framework.
func (FrameworkOutput) Controls ¶
func (o FrameworkOutput) Controls() FrameworkControlArrayOutput
One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
func (FrameworkOutput) CreationTime ¶
func (o FrameworkOutput) CreationTime() pulumi.StringOutput
The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
func (FrameworkOutput) DeploymentStatus ¶
func (o FrameworkOutput) DeploymentStatus() pulumi.StringOutput
The deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED` | `FAILED`.
func (FrameworkOutput) Description ¶
func (o FrameworkOutput) Description() pulumi.StringPtrOutput
The description of the framework with a maximum of 1,024 characters
func (FrameworkOutput) ElementType ¶
func (FrameworkOutput) ElementType() reflect.Type
func (FrameworkOutput) Name ¶
func (o FrameworkOutput) Name() pulumi.StringOutput
The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
func (FrameworkOutput) Region ¶
func (o FrameworkOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (FrameworkOutput) Status ¶
func (o FrameworkOutput) Status() pulumi.StringOutput
A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. For more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkStatus)
func (FrameworkOutput) Tags ¶
func (o FrameworkOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the frameworks you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (FrameworkOutput) TagsAll ¶
func (o FrameworkOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (FrameworkOutput) ToFrameworkOutput ¶
func (o FrameworkOutput) ToFrameworkOutput() FrameworkOutput
func (FrameworkOutput) ToFrameworkOutputWithContext ¶
func (o FrameworkOutput) ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput
type FrameworkState ¶
type FrameworkState struct {
// The ARN of the backup framework.
Arn pulumi.StringPtrInput
// One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
Controls FrameworkControlArrayInput
// The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime pulumi.StringPtrInput
// The deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED` | `FAILED`.
DeploymentStatus pulumi.StringPtrInput
// The description of the framework with a maximum of 1,024 characters
Description pulumi.StringPtrInput
// The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. For more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkStatus)
Status pulumi.StringPtrInput
// Metadata that you can assign to help organize the frameworks you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (FrameworkState) ElementType ¶
func (FrameworkState) ElementType() reflect.Type
type GetFrameworkControl ¶
type GetFrameworkControl struct {
// One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
InputParameters []GetFrameworkControlInputParameter `pulumi:"inputParameters"`
// Backup framework name.
Name string `pulumi:"name"`
// Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
Scopes []GetFrameworkControlScope `pulumi:"scopes"`
}
type GetFrameworkControlArgs ¶
type GetFrameworkControlArgs struct {
// One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
InputParameters GetFrameworkControlInputParameterArrayInput `pulumi:"inputParameters"`
// Backup framework name.
Name pulumi.StringInput `pulumi:"name"`
// Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
Scopes GetFrameworkControlScopeArrayInput `pulumi:"scopes"`
}
func (GetFrameworkControlArgs) ElementType ¶
func (GetFrameworkControlArgs) ElementType() reflect.Type
func (GetFrameworkControlArgs) ToGetFrameworkControlOutput ¶
func (i GetFrameworkControlArgs) ToGetFrameworkControlOutput() GetFrameworkControlOutput
func (GetFrameworkControlArgs) ToGetFrameworkControlOutputWithContext ¶
func (i GetFrameworkControlArgs) ToGetFrameworkControlOutputWithContext(ctx context.Context) GetFrameworkControlOutput
type GetFrameworkControlArray ¶
type GetFrameworkControlArray []GetFrameworkControlInput
func (GetFrameworkControlArray) ElementType ¶
func (GetFrameworkControlArray) ElementType() reflect.Type
func (GetFrameworkControlArray) ToGetFrameworkControlArrayOutput ¶
func (i GetFrameworkControlArray) ToGetFrameworkControlArrayOutput() GetFrameworkControlArrayOutput
func (GetFrameworkControlArray) ToGetFrameworkControlArrayOutputWithContext ¶
func (i GetFrameworkControlArray) ToGetFrameworkControlArrayOutputWithContext(ctx context.Context) GetFrameworkControlArrayOutput
type GetFrameworkControlArrayInput ¶
type GetFrameworkControlArrayInput interface {
pulumi.Input
ToGetFrameworkControlArrayOutput() GetFrameworkControlArrayOutput
ToGetFrameworkControlArrayOutputWithContext(context.Context) GetFrameworkControlArrayOutput
}
GetFrameworkControlArrayInput is an input type that accepts GetFrameworkControlArray and GetFrameworkControlArrayOutput values. You can construct a concrete instance of `GetFrameworkControlArrayInput` via:
GetFrameworkControlArray{ GetFrameworkControlArgs{...} }
type GetFrameworkControlArrayOutput ¶
type GetFrameworkControlArrayOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlArrayOutput) ElementType ¶
func (GetFrameworkControlArrayOutput) ElementType() reflect.Type
func (GetFrameworkControlArrayOutput) Index ¶
func (o GetFrameworkControlArrayOutput) Index(i pulumi.IntInput) GetFrameworkControlOutput
func (GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutput ¶
func (o GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutput() GetFrameworkControlArrayOutput
func (GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutputWithContext ¶
func (o GetFrameworkControlArrayOutput) ToGetFrameworkControlArrayOutputWithContext(ctx context.Context) GetFrameworkControlArrayOutput
type GetFrameworkControlInput ¶
type GetFrameworkControlInput interface {
pulumi.Input
ToGetFrameworkControlOutput() GetFrameworkControlOutput
ToGetFrameworkControlOutputWithContext(context.Context) GetFrameworkControlOutput
}
GetFrameworkControlInput is an input type that accepts GetFrameworkControlArgs and GetFrameworkControlOutput values. You can construct a concrete instance of `GetFrameworkControlInput` via:
GetFrameworkControlArgs{...}
type GetFrameworkControlInputParameterArgs ¶
type GetFrameworkControlInputParameterArgs struct {
// Backup framework name.
Name pulumi.StringInput `pulumi:"name"`
// Value of parameter, for example, hourly.
Value pulumi.StringInput `pulumi:"value"`
}
func (GetFrameworkControlInputParameterArgs) ElementType ¶
func (GetFrameworkControlInputParameterArgs) ElementType() reflect.Type
func (GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutput ¶
func (i GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutput() GetFrameworkControlInputParameterOutput
func (GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutputWithContext ¶
func (i GetFrameworkControlInputParameterArgs) ToGetFrameworkControlInputParameterOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterOutput
type GetFrameworkControlInputParameterArray ¶
type GetFrameworkControlInputParameterArray []GetFrameworkControlInputParameterInput
func (GetFrameworkControlInputParameterArray) ElementType ¶
func (GetFrameworkControlInputParameterArray) ElementType() reflect.Type
func (GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutput ¶
func (i GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutput() GetFrameworkControlInputParameterArrayOutput
func (GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutputWithContext ¶
func (i GetFrameworkControlInputParameterArray) ToGetFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterArrayOutput
type GetFrameworkControlInputParameterArrayInput ¶
type GetFrameworkControlInputParameterArrayInput interface {
pulumi.Input
ToGetFrameworkControlInputParameterArrayOutput() GetFrameworkControlInputParameterArrayOutput
ToGetFrameworkControlInputParameterArrayOutputWithContext(context.Context) GetFrameworkControlInputParameterArrayOutput
}
GetFrameworkControlInputParameterArrayInput is an input type that accepts GetFrameworkControlInputParameterArray and GetFrameworkControlInputParameterArrayOutput values. You can construct a concrete instance of `GetFrameworkControlInputParameterArrayInput` via:
GetFrameworkControlInputParameterArray{ GetFrameworkControlInputParameterArgs{...} }
type GetFrameworkControlInputParameterArrayOutput ¶
type GetFrameworkControlInputParameterArrayOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlInputParameterArrayOutput) ElementType ¶
func (GetFrameworkControlInputParameterArrayOutput) ElementType() reflect.Type
func (GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutput ¶
func (o GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutput() GetFrameworkControlInputParameterArrayOutput
func (GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutputWithContext ¶
func (o GetFrameworkControlInputParameterArrayOutput) ToGetFrameworkControlInputParameterArrayOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterArrayOutput
type GetFrameworkControlInputParameterInput ¶
type GetFrameworkControlInputParameterInput interface {
pulumi.Input
ToGetFrameworkControlInputParameterOutput() GetFrameworkControlInputParameterOutput
ToGetFrameworkControlInputParameterOutputWithContext(context.Context) GetFrameworkControlInputParameterOutput
}
GetFrameworkControlInputParameterInput is an input type that accepts GetFrameworkControlInputParameterArgs and GetFrameworkControlInputParameterOutput values. You can construct a concrete instance of `GetFrameworkControlInputParameterInput` via:
GetFrameworkControlInputParameterArgs{...}
type GetFrameworkControlInputParameterOutput ¶
type GetFrameworkControlInputParameterOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlInputParameterOutput) ElementType ¶
func (GetFrameworkControlInputParameterOutput) ElementType() reflect.Type
func (GetFrameworkControlInputParameterOutput) Name ¶
func (o GetFrameworkControlInputParameterOutput) Name() pulumi.StringOutput
Backup framework name.
func (GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutput ¶
func (o GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutput() GetFrameworkControlInputParameterOutput
func (GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutputWithContext ¶
func (o GetFrameworkControlInputParameterOutput) ToGetFrameworkControlInputParameterOutputWithContext(ctx context.Context) GetFrameworkControlInputParameterOutput
func (GetFrameworkControlInputParameterOutput) Value ¶
func (o GetFrameworkControlInputParameterOutput) Value() pulumi.StringOutput
Value of parameter, for example, hourly.
type GetFrameworkControlOutput ¶
type GetFrameworkControlOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlOutput) ElementType ¶
func (GetFrameworkControlOutput) ElementType() reflect.Type
func (GetFrameworkControlOutput) InputParameters ¶
func (o GetFrameworkControlOutput) InputParameters() GetFrameworkControlInputParameterArrayOutput
One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
func (GetFrameworkControlOutput) Name ¶
func (o GetFrameworkControlOutput) Name() pulumi.StringOutput
Backup framework name.
func (GetFrameworkControlOutput) Scopes ¶
func (o GetFrameworkControlOutput) Scopes() GetFrameworkControlScopeArrayOutput
Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
func (GetFrameworkControlOutput) ToGetFrameworkControlOutput ¶
func (o GetFrameworkControlOutput) ToGetFrameworkControlOutput() GetFrameworkControlOutput
func (GetFrameworkControlOutput) ToGetFrameworkControlOutputWithContext ¶
func (o GetFrameworkControlOutput) ToGetFrameworkControlOutputWithContext(ctx context.Context) GetFrameworkControlOutput
type GetFrameworkControlScope ¶
type GetFrameworkControlScope struct {
// The ID of the only AWS resource that you want your control scope to contain.
ComplianceResourceIds []string `pulumi:"complianceResourceIds"`
// Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
ComplianceResourceTypes []string `pulumi:"complianceResourceTypes"`
// Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags map[string]string `pulumi:"tags"`
}
type GetFrameworkControlScopeArgs ¶
type GetFrameworkControlScopeArgs struct {
// The ID of the only AWS resource that you want your control scope to contain.
ComplianceResourceIds pulumi.StringArrayInput `pulumi:"complianceResourceIds"`
// Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
ComplianceResourceTypes pulumi.StringArrayInput `pulumi:"complianceResourceTypes"`
// Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
func (GetFrameworkControlScopeArgs) ElementType ¶
func (GetFrameworkControlScopeArgs) ElementType() reflect.Type
func (GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutput ¶
func (i GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutput() GetFrameworkControlScopeOutput
func (GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutputWithContext ¶
func (i GetFrameworkControlScopeArgs) ToGetFrameworkControlScopeOutputWithContext(ctx context.Context) GetFrameworkControlScopeOutput
type GetFrameworkControlScopeArray ¶
type GetFrameworkControlScopeArray []GetFrameworkControlScopeInput
func (GetFrameworkControlScopeArray) ElementType ¶
func (GetFrameworkControlScopeArray) ElementType() reflect.Type
func (GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutput ¶
func (i GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutput() GetFrameworkControlScopeArrayOutput
func (GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutputWithContext ¶
func (i GetFrameworkControlScopeArray) ToGetFrameworkControlScopeArrayOutputWithContext(ctx context.Context) GetFrameworkControlScopeArrayOutput
type GetFrameworkControlScopeArrayInput ¶
type GetFrameworkControlScopeArrayInput interface {
pulumi.Input
ToGetFrameworkControlScopeArrayOutput() GetFrameworkControlScopeArrayOutput
ToGetFrameworkControlScopeArrayOutputWithContext(context.Context) GetFrameworkControlScopeArrayOutput
}
GetFrameworkControlScopeArrayInput is an input type that accepts GetFrameworkControlScopeArray and GetFrameworkControlScopeArrayOutput values. You can construct a concrete instance of `GetFrameworkControlScopeArrayInput` via:
GetFrameworkControlScopeArray{ GetFrameworkControlScopeArgs{...} }
type GetFrameworkControlScopeArrayOutput ¶
type GetFrameworkControlScopeArrayOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlScopeArrayOutput) ElementType ¶
func (GetFrameworkControlScopeArrayOutput) ElementType() reflect.Type
func (GetFrameworkControlScopeArrayOutput) Index ¶
func (o GetFrameworkControlScopeArrayOutput) Index(i pulumi.IntInput) GetFrameworkControlScopeOutput
func (GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutput ¶
func (o GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutput() GetFrameworkControlScopeArrayOutput
func (GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutputWithContext ¶
func (o GetFrameworkControlScopeArrayOutput) ToGetFrameworkControlScopeArrayOutputWithContext(ctx context.Context) GetFrameworkControlScopeArrayOutput
type GetFrameworkControlScopeInput ¶
type GetFrameworkControlScopeInput interface {
pulumi.Input
ToGetFrameworkControlScopeOutput() GetFrameworkControlScopeOutput
ToGetFrameworkControlScopeOutputWithContext(context.Context) GetFrameworkControlScopeOutput
}
GetFrameworkControlScopeInput is an input type that accepts GetFrameworkControlScopeArgs and GetFrameworkControlScopeOutput values. You can construct a concrete instance of `GetFrameworkControlScopeInput` via:
GetFrameworkControlScopeArgs{...}
type GetFrameworkControlScopeOutput ¶
type GetFrameworkControlScopeOutput struct{ *pulumi.OutputState }
func (GetFrameworkControlScopeOutput) ComplianceResourceIds ¶
func (o GetFrameworkControlScopeOutput) ComplianceResourceIds() pulumi.StringArrayOutput
The ID of the only AWS resource that you want your control scope to contain.
func (GetFrameworkControlScopeOutput) ComplianceResourceTypes ¶
func (o GetFrameworkControlScopeOutput) ComplianceResourceTypes() pulumi.StringArrayOutput
Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
func (GetFrameworkControlScopeOutput) ElementType ¶
func (GetFrameworkControlScopeOutput) ElementType() reflect.Type
func (GetFrameworkControlScopeOutput) Tags ¶
func (o GetFrameworkControlScopeOutput) Tags() pulumi.StringMapOutput
Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
func (GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutput ¶
func (o GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutput() GetFrameworkControlScopeOutput
func (GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutputWithContext ¶
func (o GetFrameworkControlScopeOutput) ToGetFrameworkControlScopeOutputWithContext(ctx context.Context) GetFrameworkControlScopeOutput
type GetPlanRule ¶
type GetPlanRule struct {
CompletionWindow int `pulumi:"completionWindow"`
CopyActions []GetPlanRuleCopyAction `pulumi:"copyActions"`
EnableContinuousBackup bool `pulumi:"enableContinuousBackup"`
Lifecycles []GetPlanRuleLifecycle `pulumi:"lifecycles"`
RecoveryPointTags map[string]string `pulumi:"recoveryPointTags"`
RuleName string `pulumi:"ruleName"`
Schedule string `pulumi:"schedule"`
ScheduleExpressionTimezone string `pulumi:"scheduleExpressionTimezone"`
StartWindow int `pulumi:"startWindow"`
TargetVaultName string `pulumi:"targetVaultName"`
}
type GetPlanRuleArgs ¶
type GetPlanRuleArgs struct {
CompletionWindow pulumi.IntInput `pulumi:"completionWindow"`
CopyActions GetPlanRuleCopyActionArrayInput `pulumi:"copyActions"`
EnableContinuousBackup pulumi.BoolInput `pulumi:"enableContinuousBackup"`
Lifecycles GetPlanRuleLifecycleArrayInput `pulumi:"lifecycles"`
RecoveryPointTags pulumi.StringMapInput `pulumi:"recoveryPointTags"`
RuleName pulumi.StringInput `pulumi:"ruleName"`
Schedule pulumi.StringInput `pulumi:"schedule"`
ScheduleExpressionTimezone pulumi.StringInput `pulumi:"scheduleExpressionTimezone"`
StartWindow pulumi.IntInput `pulumi:"startWindow"`
TargetVaultName pulumi.StringInput `pulumi:"targetVaultName"`
}
func (GetPlanRuleArgs) ElementType ¶
func (GetPlanRuleArgs) ElementType() reflect.Type
func (GetPlanRuleArgs) ToGetPlanRuleOutput ¶
func (i GetPlanRuleArgs) ToGetPlanRuleOutput() GetPlanRuleOutput
func (GetPlanRuleArgs) ToGetPlanRuleOutputWithContext ¶
func (i GetPlanRuleArgs) ToGetPlanRuleOutputWithContext(ctx context.Context) GetPlanRuleOutput
type GetPlanRuleArray ¶
type GetPlanRuleArray []GetPlanRuleInput
func (GetPlanRuleArray) ElementType ¶
func (GetPlanRuleArray) ElementType() reflect.Type
func (GetPlanRuleArray) ToGetPlanRuleArrayOutput ¶
func (i GetPlanRuleArray) ToGetPlanRuleArrayOutput() GetPlanRuleArrayOutput
func (GetPlanRuleArray) ToGetPlanRuleArrayOutputWithContext ¶
func (i GetPlanRuleArray) ToGetPlanRuleArrayOutputWithContext(ctx context.Context) GetPlanRuleArrayOutput
type GetPlanRuleArrayInput ¶
type GetPlanRuleArrayInput interface {
pulumi.Input
ToGetPlanRuleArrayOutput() GetPlanRuleArrayOutput
ToGetPlanRuleArrayOutputWithContext(context.Context) GetPlanRuleArrayOutput
}
GetPlanRuleArrayInput is an input type that accepts GetPlanRuleArray and GetPlanRuleArrayOutput values. You can construct a concrete instance of `GetPlanRuleArrayInput` via:
GetPlanRuleArray{ GetPlanRuleArgs{...} }
type GetPlanRuleArrayOutput ¶
type GetPlanRuleArrayOutput struct{ *pulumi.OutputState }
func (GetPlanRuleArrayOutput) ElementType ¶
func (GetPlanRuleArrayOutput) ElementType() reflect.Type
func (GetPlanRuleArrayOutput) Index ¶
func (o GetPlanRuleArrayOutput) Index(i pulumi.IntInput) GetPlanRuleOutput
func (GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutput ¶
func (o GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutput() GetPlanRuleArrayOutput
func (GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutputWithContext ¶
func (o GetPlanRuleArrayOutput) ToGetPlanRuleArrayOutputWithContext(ctx context.Context) GetPlanRuleArrayOutput
type GetPlanRuleCopyAction ¶
type GetPlanRuleCopyAction struct {
DestinationVaultArn string `pulumi:"destinationVaultArn"`
Lifecycles []GetPlanRuleCopyActionLifecycle `pulumi:"lifecycles"`
}
type GetPlanRuleCopyActionArgs ¶
type GetPlanRuleCopyActionArgs struct {
DestinationVaultArn pulumi.StringInput `pulumi:"destinationVaultArn"`
Lifecycles GetPlanRuleCopyActionLifecycleArrayInput `pulumi:"lifecycles"`
}
func (GetPlanRuleCopyActionArgs) ElementType ¶
func (GetPlanRuleCopyActionArgs) ElementType() reflect.Type
func (GetPlanRuleCopyActionArgs) ToGetPlanRuleCopyActionOutput ¶
func (i GetPlanRuleCopyActionArgs) ToGetPlanRuleCopyActionOutput() GetPlanRuleCopyActionOutput
func (GetPlanRuleCopyActionArgs) ToGetPlanRuleCopyActionOutputWithContext ¶
func (i GetPlanRuleCopyActionArgs) ToGetPlanRuleCopyActionOutputWithContext(ctx context.Context) GetPlanRuleCopyActionOutput
type GetPlanRuleCopyActionArray ¶
type GetPlanRuleCopyActionArray []GetPlanRuleCopyActionInput
func (GetPlanRuleCopyActionArray) ElementType ¶
func (GetPlanRuleCopyActionArray) ElementType() reflect.Type
func (GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutput ¶
func (i GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutput() GetPlanRuleCopyActionArrayOutput
func (GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutputWithContext ¶
func (i GetPlanRuleCopyActionArray) ToGetPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionArrayOutput
type GetPlanRuleCopyActionArrayInput ¶
type GetPlanRuleCopyActionArrayInput interface {
pulumi.Input
ToGetPlanRuleCopyActionArrayOutput() GetPlanRuleCopyActionArrayOutput
ToGetPlanRuleCopyActionArrayOutputWithContext(context.Context) GetPlanRuleCopyActionArrayOutput
}
GetPlanRuleCopyActionArrayInput is an input type that accepts GetPlanRuleCopyActionArray and GetPlanRuleCopyActionArrayOutput values. You can construct a concrete instance of `GetPlanRuleCopyActionArrayInput` via:
GetPlanRuleCopyActionArray{ GetPlanRuleCopyActionArgs{...} }
type GetPlanRuleCopyActionArrayOutput ¶
type GetPlanRuleCopyActionArrayOutput struct{ *pulumi.OutputState }
func (GetPlanRuleCopyActionArrayOutput) ElementType ¶
func (GetPlanRuleCopyActionArrayOutput) ElementType() reflect.Type
func (GetPlanRuleCopyActionArrayOutput) Index ¶
func (o GetPlanRuleCopyActionArrayOutput) Index(i pulumi.IntInput) GetPlanRuleCopyActionOutput
func (GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutput ¶
func (o GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutput() GetPlanRuleCopyActionArrayOutput
func (GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutputWithContext ¶
func (o GetPlanRuleCopyActionArrayOutput) ToGetPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionArrayOutput
type GetPlanRuleCopyActionInput ¶
type GetPlanRuleCopyActionInput interface {
pulumi.Input
ToGetPlanRuleCopyActionOutput() GetPlanRuleCopyActionOutput
ToGetPlanRuleCopyActionOutputWithContext(context.Context) GetPlanRuleCopyActionOutput
}
GetPlanRuleCopyActionInput is an input type that accepts GetPlanRuleCopyActionArgs and GetPlanRuleCopyActionOutput values. You can construct a concrete instance of `GetPlanRuleCopyActionInput` via:
GetPlanRuleCopyActionArgs{...}
type GetPlanRuleCopyActionLifecycleArgs ¶
type GetPlanRuleCopyActionLifecycleArgs struct {
ColdStorageAfter pulumi.IntInput `pulumi:"coldStorageAfter"`
DeleteAfter pulumi.IntInput `pulumi:"deleteAfter"`
OptInToArchiveForSupportedResources pulumi.BoolInput `pulumi:"optInToArchiveForSupportedResources"`
}
func (GetPlanRuleCopyActionLifecycleArgs) ElementType ¶
func (GetPlanRuleCopyActionLifecycleArgs) ElementType() reflect.Type
func (GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutput ¶
func (i GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutput() GetPlanRuleCopyActionLifecycleOutput
func (GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutputWithContext ¶
func (i GetPlanRuleCopyActionLifecycleArgs) ToGetPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleOutput
type GetPlanRuleCopyActionLifecycleArray ¶
type GetPlanRuleCopyActionLifecycleArray []GetPlanRuleCopyActionLifecycleInput
func (GetPlanRuleCopyActionLifecycleArray) ElementType ¶
func (GetPlanRuleCopyActionLifecycleArray) ElementType() reflect.Type
func (GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutput ¶
func (i GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutput() GetPlanRuleCopyActionLifecycleArrayOutput
func (GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext ¶
func (i GetPlanRuleCopyActionLifecycleArray) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleArrayOutput
type GetPlanRuleCopyActionLifecycleArrayInput ¶
type GetPlanRuleCopyActionLifecycleArrayInput interface {
pulumi.Input
ToGetPlanRuleCopyActionLifecycleArrayOutput() GetPlanRuleCopyActionLifecycleArrayOutput
ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext(context.Context) GetPlanRuleCopyActionLifecycleArrayOutput
}
GetPlanRuleCopyActionLifecycleArrayInput is an input type that accepts GetPlanRuleCopyActionLifecycleArray and GetPlanRuleCopyActionLifecycleArrayOutput values. You can construct a concrete instance of `GetPlanRuleCopyActionLifecycleArrayInput` via:
GetPlanRuleCopyActionLifecycleArray{ GetPlanRuleCopyActionLifecycleArgs{...} }
type GetPlanRuleCopyActionLifecycleArrayOutput ¶
type GetPlanRuleCopyActionLifecycleArrayOutput struct{ *pulumi.OutputState }
func (GetPlanRuleCopyActionLifecycleArrayOutput) ElementType ¶
func (GetPlanRuleCopyActionLifecycleArrayOutput) ElementType() reflect.Type
func (GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutput ¶
func (o GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutput() GetPlanRuleCopyActionLifecycleArrayOutput
func (GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext ¶
func (o GetPlanRuleCopyActionLifecycleArrayOutput) ToGetPlanRuleCopyActionLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleArrayOutput
type GetPlanRuleCopyActionLifecycleInput ¶
type GetPlanRuleCopyActionLifecycleInput interface {
pulumi.Input
ToGetPlanRuleCopyActionLifecycleOutput() GetPlanRuleCopyActionLifecycleOutput
ToGetPlanRuleCopyActionLifecycleOutputWithContext(context.Context) GetPlanRuleCopyActionLifecycleOutput
}
GetPlanRuleCopyActionLifecycleInput is an input type that accepts GetPlanRuleCopyActionLifecycleArgs and GetPlanRuleCopyActionLifecycleOutput values. You can construct a concrete instance of `GetPlanRuleCopyActionLifecycleInput` via:
GetPlanRuleCopyActionLifecycleArgs{...}
type GetPlanRuleCopyActionLifecycleOutput ¶
type GetPlanRuleCopyActionLifecycleOutput struct{ *pulumi.OutputState }
func (GetPlanRuleCopyActionLifecycleOutput) ColdStorageAfter ¶
func (o GetPlanRuleCopyActionLifecycleOutput) ColdStorageAfter() pulumi.IntOutput
func (GetPlanRuleCopyActionLifecycleOutput) DeleteAfter ¶
func (o GetPlanRuleCopyActionLifecycleOutput) DeleteAfter() pulumi.IntOutput
func (GetPlanRuleCopyActionLifecycleOutput) ElementType ¶
func (GetPlanRuleCopyActionLifecycleOutput) ElementType() reflect.Type
func (GetPlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources ¶
func (o GetPlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolOutput
func (GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutput ¶
func (o GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutput() GetPlanRuleCopyActionLifecycleOutput
func (GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutputWithContext ¶
func (o GetPlanRuleCopyActionLifecycleOutput) ToGetPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) GetPlanRuleCopyActionLifecycleOutput
type GetPlanRuleCopyActionOutput ¶
type GetPlanRuleCopyActionOutput struct{ *pulumi.OutputState }
func (GetPlanRuleCopyActionOutput) DestinationVaultArn ¶
func (o GetPlanRuleCopyActionOutput) DestinationVaultArn() pulumi.StringOutput
func (GetPlanRuleCopyActionOutput) ElementType ¶
func (GetPlanRuleCopyActionOutput) ElementType() reflect.Type
func (GetPlanRuleCopyActionOutput) Lifecycles ¶
func (o GetPlanRuleCopyActionOutput) Lifecycles() GetPlanRuleCopyActionLifecycleArrayOutput
func (GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutput ¶
func (o GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutput() GetPlanRuleCopyActionOutput
func (GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutputWithContext ¶
func (o GetPlanRuleCopyActionOutput) ToGetPlanRuleCopyActionOutputWithContext(ctx context.Context) GetPlanRuleCopyActionOutput
type GetPlanRuleInput ¶
type GetPlanRuleInput interface {
pulumi.Input
ToGetPlanRuleOutput() GetPlanRuleOutput
ToGetPlanRuleOutputWithContext(context.Context) GetPlanRuleOutput
}
GetPlanRuleInput is an input type that accepts GetPlanRuleArgs and GetPlanRuleOutput values. You can construct a concrete instance of `GetPlanRuleInput` via:
GetPlanRuleArgs{...}
type GetPlanRuleLifecycle ¶
type GetPlanRuleLifecycleArgs ¶
type GetPlanRuleLifecycleArgs struct {
ColdStorageAfter pulumi.IntInput `pulumi:"coldStorageAfter"`
DeleteAfter pulumi.IntInput `pulumi:"deleteAfter"`
OptInToArchiveForSupportedResources pulumi.BoolInput `pulumi:"optInToArchiveForSupportedResources"`
}
func (GetPlanRuleLifecycleArgs) ElementType ¶
func (GetPlanRuleLifecycleArgs) ElementType() reflect.Type
func (GetPlanRuleLifecycleArgs) ToGetPlanRuleLifecycleOutput ¶
func (i GetPlanRuleLifecycleArgs) ToGetPlanRuleLifecycleOutput() GetPlanRuleLifecycleOutput
func (GetPlanRuleLifecycleArgs) ToGetPlanRuleLifecycleOutputWithContext ¶
func (i GetPlanRuleLifecycleArgs) ToGetPlanRuleLifecycleOutputWithContext(ctx context.Context) GetPlanRuleLifecycleOutput
type GetPlanRuleLifecycleArray ¶
type GetPlanRuleLifecycleArray []GetPlanRuleLifecycleInput
func (GetPlanRuleLifecycleArray) ElementType ¶
func (GetPlanRuleLifecycleArray) ElementType() reflect.Type
func (GetPlanRuleLifecycleArray) ToGetPlanRuleLifecycleArrayOutput ¶
func (i GetPlanRuleLifecycleArray) ToGetPlanRuleLifecycleArrayOutput() GetPlanRuleLifecycleArrayOutput
func (GetPlanRuleLifecycleArray) ToGetPlanRuleLifecycleArrayOutputWithContext ¶
func (i GetPlanRuleLifecycleArray) ToGetPlanRuleLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleLifecycleArrayOutput
type GetPlanRuleLifecycleArrayInput ¶
type GetPlanRuleLifecycleArrayInput interface {
pulumi.Input
ToGetPlanRuleLifecycleArrayOutput() GetPlanRuleLifecycleArrayOutput
ToGetPlanRuleLifecycleArrayOutputWithContext(context.Context) GetPlanRuleLifecycleArrayOutput
}
GetPlanRuleLifecycleArrayInput is an input type that accepts GetPlanRuleLifecycleArray and GetPlanRuleLifecycleArrayOutput values. You can construct a concrete instance of `GetPlanRuleLifecycleArrayInput` via:
GetPlanRuleLifecycleArray{ GetPlanRuleLifecycleArgs{...} }
type GetPlanRuleLifecycleArrayOutput ¶
type GetPlanRuleLifecycleArrayOutput struct{ *pulumi.OutputState }
func (GetPlanRuleLifecycleArrayOutput) ElementType ¶
func (GetPlanRuleLifecycleArrayOutput) ElementType() reflect.Type
func (GetPlanRuleLifecycleArrayOutput) Index ¶
func (o GetPlanRuleLifecycleArrayOutput) Index(i pulumi.IntInput) GetPlanRuleLifecycleOutput
func (GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutput ¶
func (o GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutput() GetPlanRuleLifecycleArrayOutput
func (GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutputWithContext ¶
func (o GetPlanRuleLifecycleArrayOutput) ToGetPlanRuleLifecycleArrayOutputWithContext(ctx context.Context) GetPlanRuleLifecycleArrayOutput
type GetPlanRuleLifecycleInput ¶
type GetPlanRuleLifecycleInput interface {
pulumi.Input
ToGetPlanRuleLifecycleOutput() GetPlanRuleLifecycleOutput
ToGetPlanRuleLifecycleOutputWithContext(context.Context) GetPlanRuleLifecycleOutput
}
GetPlanRuleLifecycleInput is an input type that accepts GetPlanRuleLifecycleArgs and GetPlanRuleLifecycleOutput values. You can construct a concrete instance of `GetPlanRuleLifecycleInput` via:
GetPlanRuleLifecycleArgs{...}
type GetPlanRuleLifecycleOutput ¶
type GetPlanRuleLifecycleOutput struct{ *pulumi.OutputState }
func (GetPlanRuleLifecycleOutput) ColdStorageAfter ¶
func (o GetPlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntOutput
func (GetPlanRuleLifecycleOutput) DeleteAfter ¶
func (o GetPlanRuleLifecycleOutput) DeleteAfter() pulumi.IntOutput
func (GetPlanRuleLifecycleOutput) ElementType ¶
func (GetPlanRuleLifecycleOutput) ElementType() reflect.Type
func (GetPlanRuleLifecycleOutput) OptInToArchiveForSupportedResources ¶
func (o GetPlanRuleLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolOutput
func (GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutput ¶
func (o GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutput() GetPlanRuleLifecycleOutput
func (GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutputWithContext ¶
func (o GetPlanRuleLifecycleOutput) ToGetPlanRuleLifecycleOutputWithContext(ctx context.Context) GetPlanRuleLifecycleOutput
type GetPlanRuleOutput ¶
type GetPlanRuleOutput struct{ *pulumi.OutputState }
func (GetPlanRuleOutput) CompletionWindow ¶
func (o GetPlanRuleOutput) CompletionWindow() pulumi.IntOutput
func (GetPlanRuleOutput) CopyActions ¶
func (o GetPlanRuleOutput) CopyActions() GetPlanRuleCopyActionArrayOutput
func (GetPlanRuleOutput) ElementType ¶
func (GetPlanRuleOutput) ElementType() reflect.Type
func (GetPlanRuleOutput) EnableContinuousBackup ¶
func (o GetPlanRuleOutput) EnableContinuousBackup() pulumi.BoolOutput
func (GetPlanRuleOutput) Lifecycles ¶
func (o GetPlanRuleOutput) Lifecycles() GetPlanRuleLifecycleArrayOutput
func (GetPlanRuleOutput) RecoveryPointTags ¶
func (o GetPlanRuleOutput) RecoveryPointTags() pulumi.StringMapOutput
func (GetPlanRuleOutput) RuleName ¶
func (o GetPlanRuleOutput) RuleName() pulumi.StringOutput
func (GetPlanRuleOutput) Schedule ¶
func (o GetPlanRuleOutput) Schedule() pulumi.StringOutput
func (GetPlanRuleOutput) ScheduleExpressionTimezone ¶
func (o GetPlanRuleOutput) ScheduleExpressionTimezone() pulumi.StringOutput
func (GetPlanRuleOutput) StartWindow ¶
func (o GetPlanRuleOutput) StartWindow() pulumi.IntOutput
func (GetPlanRuleOutput) TargetVaultName ¶
func (o GetPlanRuleOutput) TargetVaultName() pulumi.StringOutput
func (GetPlanRuleOutput) ToGetPlanRuleOutput ¶
func (o GetPlanRuleOutput) ToGetPlanRuleOutput() GetPlanRuleOutput
func (GetPlanRuleOutput) ToGetPlanRuleOutputWithContext ¶
func (o GetPlanRuleOutput) ToGetPlanRuleOutputWithContext(ctx context.Context) GetPlanRuleOutput
type GetReportPlanReportDeliveryChannel ¶
type GetReportPlanReportDeliveryChannel struct {
// List of the format of your reports: CSV, JSON, or both.
Formats []string `pulumi:"formats"`
// Unique name of the S3 bucket that receives your reports.
S3BucketName string `pulumi:"s3BucketName"`
// Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
S3KeyPrefix string `pulumi:"s3KeyPrefix"`
}
type GetReportPlanReportDeliveryChannelArgs ¶
type GetReportPlanReportDeliveryChannelArgs struct {
// List of the format of your reports: CSV, JSON, or both.
Formats pulumi.StringArrayInput `pulumi:"formats"`
// Unique name of the S3 bucket that receives your reports.
S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
// Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
S3KeyPrefix pulumi.StringInput `pulumi:"s3KeyPrefix"`
}
func (GetReportPlanReportDeliveryChannelArgs) ElementType ¶
func (GetReportPlanReportDeliveryChannelArgs) ElementType() reflect.Type
func (GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutput ¶
func (i GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutput() GetReportPlanReportDeliveryChannelOutput
func (GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutputWithContext ¶
func (i GetReportPlanReportDeliveryChannelArgs) ToGetReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelOutput
type GetReportPlanReportDeliveryChannelArray ¶
type GetReportPlanReportDeliveryChannelArray []GetReportPlanReportDeliveryChannelInput
func (GetReportPlanReportDeliveryChannelArray) ElementType ¶
func (GetReportPlanReportDeliveryChannelArray) ElementType() reflect.Type
func (GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutput ¶
func (i GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutput() GetReportPlanReportDeliveryChannelArrayOutput
func (GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext ¶
func (i GetReportPlanReportDeliveryChannelArray) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelArrayOutput
type GetReportPlanReportDeliveryChannelArrayInput ¶
type GetReportPlanReportDeliveryChannelArrayInput interface {
pulumi.Input
ToGetReportPlanReportDeliveryChannelArrayOutput() GetReportPlanReportDeliveryChannelArrayOutput
ToGetReportPlanReportDeliveryChannelArrayOutputWithContext(context.Context) GetReportPlanReportDeliveryChannelArrayOutput
}
GetReportPlanReportDeliveryChannelArrayInput is an input type that accepts GetReportPlanReportDeliveryChannelArray and GetReportPlanReportDeliveryChannelArrayOutput values. You can construct a concrete instance of `GetReportPlanReportDeliveryChannelArrayInput` via:
GetReportPlanReportDeliveryChannelArray{ GetReportPlanReportDeliveryChannelArgs{...} }
type GetReportPlanReportDeliveryChannelArrayOutput ¶
type GetReportPlanReportDeliveryChannelArrayOutput struct{ *pulumi.OutputState }
func (GetReportPlanReportDeliveryChannelArrayOutput) ElementType ¶
func (GetReportPlanReportDeliveryChannelArrayOutput) ElementType() reflect.Type
func (GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutput ¶
func (o GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutput() GetReportPlanReportDeliveryChannelArrayOutput
func (GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext ¶
func (o GetReportPlanReportDeliveryChannelArrayOutput) ToGetReportPlanReportDeliveryChannelArrayOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelArrayOutput
type GetReportPlanReportDeliveryChannelInput ¶
type GetReportPlanReportDeliveryChannelInput interface {
pulumi.Input
ToGetReportPlanReportDeliveryChannelOutput() GetReportPlanReportDeliveryChannelOutput
ToGetReportPlanReportDeliveryChannelOutputWithContext(context.Context) GetReportPlanReportDeliveryChannelOutput
}
GetReportPlanReportDeliveryChannelInput is an input type that accepts GetReportPlanReportDeliveryChannelArgs and GetReportPlanReportDeliveryChannelOutput values. You can construct a concrete instance of `GetReportPlanReportDeliveryChannelInput` via:
GetReportPlanReportDeliveryChannelArgs{...}
type GetReportPlanReportDeliveryChannelOutput ¶
type GetReportPlanReportDeliveryChannelOutput struct{ *pulumi.OutputState }
func (GetReportPlanReportDeliveryChannelOutput) ElementType ¶
func (GetReportPlanReportDeliveryChannelOutput) ElementType() reflect.Type
func (GetReportPlanReportDeliveryChannelOutput) Formats ¶
func (o GetReportPlanReportDeliveryChannelOutput) Formats() pulumi.StringArrayOutput
List of the format of your reports: CSV, JSON, or both.
func (GetReportPlanReportDeliveryChannelOutput) S3BucketName ¶
func (o GetReportPlanReportDeliveryChannelOutput) S3BucketName() pulumi.StringOutput
Unique name of the S3 bucket that receives your reports.
func (GetReportPlanReportDeliveryChannelOutput) S3KeyPrefix ¶
func (o GetReportPlanReportDeliveryChannelOutput) S3KeyPrefix() pulumi.StringOutput
Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
func (GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutput ¶
func (o GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutput() GetReportPlanReportDeliveryChannelOutput
func (GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutputWithContext ¶
func (o GetReportPlanReportDeliveryChannelOutput) ToGetReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) GetReportPlanReportDeliveryChannelOutput
type GetReportPlanReportSetting ¶
type GetReportPlanReportSetting struct {
// (Optional) Specifies the list of accounts a report covers.
Accounts []string `pulumi:"accounts"`
// ARNs of the frameworks a report covers.
FrameworkArns []string `pulumi:"frameworkArns"`
// Specifies the number of frameworks a report covers.
NumberOfFrameworks int `pulumi:"numberOfFrameworks"`
// (Optional) Specifies the list of Organizational Units a report covers.
OrganizationUnits []string `pulumi:"organizationUnits"`
// (Optional) Specifies the list of regions a report covers.
Regions []string `pulumi:"regions"`
// Identifies the report template for the report. Reports are built using a report template.
ReportTemplate string `pulumi:"reportTemplate"`
}
type GetReportPlanReportSettingArgs ¶
type GetReportPlanReportSettingArgs struct {
// (Optional) Specifies the list of accounts a report covers.
Accounts pulumi.StringArrayInput `pulumi:"accounts"`
// ARNs of the frameworks a report covers.
FrameworkArns pulumi.StringArrayInput `pulumi:"frameworkArns"`
// Specifies the number of frameworks a report covers.
NumberOfFrameworks pulumi.IntInput `pulumi:"numberOfFrameworks"`
// (Optional) Specifies the list of Organizational Units a report covers.
OrganizationUnits pulumi.StringArrayInput `pulumi:"organizationUnits"`
// (Optional) Specifies the list of regions a report covers.
Regions pulumi.StringArrayInput `pulumi:"regions"`
// Identifies the report template for the report. Reports are built using a report template.
ReportTemplate pulumi.StringInput `pulumi:"reportTemplate"`
}
func (GetReportPlanReportSettingArgs) ElementType ¶
func (GetReportPlanReportSettingArgs) ElementType() reflect.Type
func (GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutput ¶
func (i GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutput() GetReportPlanReportSettingOutput
func (GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutputWithContext ¶
func (i GetReportPlanReportSettingArgs) ToGetReportPlanReportSettingOutputWithContext(ctx context.Context) GetReportPlanReportSettingOutput
type GetReportPlanReportSettingArray ¶
type GetReportPlanReportSettingArray []GetReportPlanReportSettingInput
func (GetReportPlanReportSettingArray) ElementType ¶
func (GetReportPlanReportSettingArray) ElementType() reflect.Type
func (GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutput ¶
func (i GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutput() GetReportPlanReportSettingArrayOutput
func (GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutputWithContext ¶
func (i GetReportPlanReportSettingArray) ToGetReportPlanReportSettingArrayOutputWithContext(ctx context.Context) GetReportPlanReportSettingArrayOutput
type GetReportPlanReportSettingArrayInput ¶
type GetReportPlanReportSettingArrayInput interface {
pulumi.Input
ToGetReportPlanReportSettingArrayOutput() GetReportPlanReportSettingArrayOutput
ToGetReportPlanReportSettingArrayOutputWithContext(context.Context) GetReportPlanReportSettingArrayOutput
}
GetReportPlanReportSettingArrayInput is an input type that accepts GetReportPlanReportSettingArray and GetReportPlanReportSettingArrayOutput values. You can construct a concrete instance of `GetReportPlanReportSettingArrayInput` via:
GetReportPlanReportSettingArray{ GetReportPlanReportSettingArgs{...} }
type GetReportPlanReportSettingArrayOutput ¶
type GetReportPlanReportSettingArrayOutput struct{ *pulumi.OutputState }
func (GetReportPlanReportSettingArrayOutput) ElementType ¶
func (GetReportPlanReportSettingArrayOutput) ElementType() reflect.Type
func (GetReportPlanReportSettingArrayOutput) Index ¶
func (o GetReportPlanReportSettingArrayOutput) Index(i pulumi.IntInput) GetReportPlanReportSettingOutput
func (GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutput ¶
func (o GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutput() GetReportPlanReportSettingArrayOutput
func (GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutputWithContext ¶
func (o GetReportPlanReportSettingArrayOutput) ToGetReportPlanReportSettingArrayOutputWithContext(ctx context.Context) GetReportPlanReportSettingArrayOutput
type GetReportPlanReportSettingInput ¶
type GetReportPlanReportSettingInput interface {
pulumi.Input
ToGetReportPlanReportSettingOutput() GetReportPlanReportSettingOutput
ToGetReportPlanReportSettingOutputWithContext(context.Context) GetReportPlanReportSettingOutput
}
GetReportPlanReportSettingInput is an input type that accepts GetReportPlanReportSettingArgs and GetReportPlanReportSettingOutput values. You can construct a concrete instance of `GetReportPlanReportSettingInput` via:
GetReportPlanReportSettingArgs{...}
type GetReportPlanReportSettingOutput ¶
type GetReportPlanReportSettingOutput struct{ *pulumi.OutputState }
func (GetReportPlanReportSettingOutput) Accounts ¶
func (o GetReportPlanReportSettingOutput) Accounts() pulumi.StringArrayOutput
(Optional) Specifies the list of accounts a report covers.
func (GetReportPlanReportSettingOutput) ElementType ¶
func (GetReportPlanReportSettingOutput) ElementType() reflect.Type
func (GetReportPlanReportSettingOutput) FrameworkArns ¶
func (o GetReportPlanReportSettingOutput) FrameworkArns() pulumi.StringArrayOutput
ARNs of the frameworks a report covers.
func (GetReportPlanReportSettingOutput) NumberOfFrameworks ¶
func (o GetReportPlanReportSettingOutput) NumberOfFrameworks() pulumi.IntOutput
Specifies the number of frameworks a report covers.
func (GetReportPlanReportSettingOutput) OrganizationUnits ¶
func (o GetReportPlanReportSettingOutput) OrganizationUnits() pulumi.StringArrayOutput
(Optional) Specifies the list of Organizational Units a report covers.
func (GetReportPlanReportSettingOutput) Regions ¶
func (o GetReportPlanReportSettingOutput) Regions() pulumi.StringArrayOutput
(Optional) Specifies the list of regions a report covers.
func (GetReportPlanReportSettingOutput) ReportTemplate ¶
func (o GetReportPlanReportSettingOutput) ReportTemplate() pulumi.StringOutput
Identifies the report template for the report. Reports are built using a report template.
func (GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutput ¶
func (o GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutput() GetReportPlanReportSettingOutput
func (GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutputWithContext ¶
func (o GetReportPlanReportSettingOutput) ToGetReportPlanReportSettingOutputWithContext(ctx context.Context) GetReportPlanReportSettingOutput
type GlobalSettings ¶
type GlobalSettings struct {
pulumi.CustomResourceState
// A list of resources along with the opt-in preferences for the account.
GlobalSettings pulumi.StringMapOutput `pulumi:"globalSettings"`
}
Provides an AWS Backup Global Settings resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewGlobalSettings(ctx, "test", &backup.GlobalSettingsArgs{
GlobalSettings: pulumi.StringMap{
"isCrossAccountBackupEnabled": pulumi.String("true"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Global Settings using the `id`. For example:
```sh $ pulumi import aws:backup/globalSettings:GlobalSettings example 123456789012 ```
func GetGlobalSettings ¶
func GetGlobalSettings(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GlobalSettingsState, opts ...pulumi.ResourceOption) (*GlobalSettings, error)
GetGlobalSettings gets an existing GlobalSettings 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 NewGlobalSettings ¶
func NewGlobalSettings(ctx *pulumi.Context, name string, args *GlobalSettingsArgs, opts ...pulumi.ResourceOption) (*GlobalSettings, error)
NewGlobalSettings registers a new resource with the given unique name, arguments, and options.
func (*GlobalSettings) ElementType ¶
func (*GlobalSettings) ElementType() reflect.Type
func (*GlobalSettings) ToGlobalSettingsOutput ¶
func (i *GlobalSettings) ToGlobalSettingsOutput() GlobalSettingsOutput
func (*GlobalSettings) ToGlobalSettingsOutputWithContext ¶
func (i *GlobalSettings) ToGlobalSettingsOutputWithContext(ctx context.Context) GlobalSettingsOutput
type GlobalSettingsArgs ¶
type GlobalSettingsArgs struct {
// A list of resources along with the opt-in preferences for the account.
GlobalSettings pulumi.StringMapInput
}
The set of arguments for constructing a GlobalSettings resource.
func (GlobalSettingsArgs) ElementType ¶
func (GlobalSettingsArgs) ElementType() reflect.Type
type GlobalSettingsArray ¶
type GlobalSettingsArray []GlobalSettingsInput
func (GlobalSettingsArray) ElementType ¶
func (GlobalSettingsArray) ElementType() reflect.Type
func (GlobalSettingsArray) ToGlobalSettingsArrayOutput ¶
func (i GlobalSettingsArray) ToGlobalSettingsArrayOutput() GlobalSettingsArrayOutput
func (GlobalSettingsArray) ToGlobalSettingsArrayOutputWithContext ¶
func (i GlobalSettingsArray) ToGlobalSettingsArrayOutputWithContext(ctx context.Context) GlobalSettingsArrayOutput
type GlobalSettingsArrayInput ¶
type GlobalSettingsArrayInput interface {
pulumi.Input
ToGlobalSettingsArrayOutput() GlobalSettingsArrayOutput
ToGlobalSettingsArrayOutputWithContext(context.Context) GlobalSettingsArrayOutput
}
GlobalSettingsArrayInput is an input type that accepts GlobalSettingsArray and GlobalSettingsArrayOutput values. You can construct a concrete instance of `GlobalSettingsArrayInput` via:
GlobalSettingsArray{ GlobalSettingsArgs{...} }
type GlobalSettingsArrayOutput ¶
type GlobalSettingsArrayOutput struct{ *pulumi.OutputState }
func (GlobalSettingsArrayOutput) ElementType ¶
func (GlobalSettingsArrayOutput) ElementType() reflect.Type
func (GlobalSettingsArrayOutput) Index ¶
func (o GlobalSettingsArrayOutput) Index(i pulumi.IntInput) GlobalSettingsOutput
func (GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutput ¶
func (o GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutput() GlobalSettingsArrayOutput
func (GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutputWithContext ¶
func (o GlobalSettingsArrayOutput) ToGlobalSettingsArrayOutputWithContext(ctx context.Context) GlobalSettingsArrayOutput
type GlobalSettingsInput ¶
type GlobalSettingsInput interface {
pulumi.Input
ToGlobalSettingsOutput() GlobalSettingsOutput
ToGlobalSettingsOutputWithContext(ctx context.Context) GlobalSettingsOutput
}
type GlobalSettingsMap ¶
type GlobalSettingsMap map[string]GlobalSettingsInput
func (GlobalSettingsMap) ElementType ¶
func (GlobalSettingsMap) ElementType() reflect.Type
func (GlobalSettingsMap) ToGlobalSettingsMapOutput ¶
func (i GlobalSettingsMap) ToGlobalSettingsMapOutput() GlobalSettingsMapOutput
func (GlobalSettingsMap) ToGlobalSettingsMapOutputWithContext ¶
func (i GlobalSettingsMap) ToGlobalSettingsMapOutputWithContext(ctx context.Context) GlobalSettingsMapOutput
type GlobalSettingsMapInput ¶
type GlobalSettingsMapInput interface {
pulumi.Input
ToGlobalSettingsMapOutput() GlobalSettingsMapOutput
ToGlobalSettingsMapOutputWithContext(context.Context) GlobalSettingsMapOutput
}
GlobalSettingsMapInput is an input type that accepts GlobalSettingsMap and GlobalSettingsMapOutput values. You can construct a concrete instance of `GlobalSettingsMapInput` via:
GlobalSettingsMap{ "key": GlobalSettingsArgs{...} }
type GlobalSettingsMapOutput ¶
type GlobalSettingsMapOutput struct{ *pulumi.OutputState }
func (GlobalSettingsMapOutput) ElementType ¶
func (GlobalSettingsMapOutput) ElementType() reflect.Type
func (GlobalSettingsMapOutput) MapIndex ¶
func (o GlobalSettingsMapOutput) MapIndex(k pulumi.StringInput) GlobalSettingsOutput
func (GlobalSettingsMapOutput) ToGlobalSettingsMapOutput ¶
func (o GlobalSettingsMapOutput) ToGlobalSettingsMapOutput() GlobalSettingsMapOutput
func (GlobalSettingsMapOutput) ToGlobalSettingsMapOutputWithContext ¶
func (o GlobalSettingsMapOutput) ToGlobalSettingsMapOutputWithContext(ctx context.Context) GlobalSettingsMapOutput
type GlobalSettingsOutput ¶
type GlobalSettingsOutput struct{ *pulumi.OutputState }
func (GlobalSettingsOutput) ElementType ¶
func (GlobalSettingsOutput) ElementType() reflect.Type
func (GlobalSettingsOutput) GlobalSettings ¶
func (o GlobalSettingsOutput) GlobalSettings() pulumi.StringMapOutput
A list of resources along with the opt-in preferences for the account.
func (GlobalSettingsOutput) ToGlobalSettingsOutput ¶
func (o GlobalSettingsOutput) ToGlobalSettingsOutput() GlobalSettingsOutput
func (GlobalSettingsOutput) ToGlobalSettingsOutputWithContext ¶
func (o GlobalSettingsOutput) ToGlobalSettingsOutputWithContext(ctx context.Context) GlobalSettingsOutput
type GlobalSettingsState ¶
type GlobalSettingsState struct {
// A list of resources along with the opt-in preferences for the account.
GlobalSettings pulumi.StringMapInput
}
func (GlobalSettingsState) ElementType ¶
func (GlobalSettingsState) ElementType() reflect.Type
type LogicallyAirGappedVault ¶
type LogicallyAirGappedVault struct {
pulumi.CustomResourceState
// The ARN of the Logically Air Gapped Backup Vault.
Arn pulumi.StringOutput `pulumi:"arn"`
// Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MaxRetentionDays pulumi.IntOutput `pulumi:"maxRetentionDays"`
// Minimum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MinRetentionDays pulumi.IntOutput `pulumi:"minRetentionDays"`
// Name of the Logically Air Gapped Backup Vault to create.
Name pulumi.StringOutput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// Metadata that you can assign to help organize the resources that you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
Timeouts LogicallyAirGappedVaultTimeoutsPtrOutput `pulumi:"timeouts"`
}
Resource for managing an AWS Backup Logically Air Gapped Vault.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewLogicallyAirGappedVault(ctx, "example", &backup.LogicallyAirGappedVaultArgs{
Name: pulumi.String("lag-example-vault"),
MaxRetentionDays: pulumi.Int(7),
MinRetentionDays: pulumi.Int(7),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Logically Air Gapped Vault using the `id`. For example:
```sh $ pulumi import aws:backup/logicallyAirGappedVault:LogicallyAirGappedVault example lag-example-vault ```
func GetLogicallyAirGappedVault ¶
func GetLogicallyAirGappedVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogicallyAirGappedVaultState, opts ...pulumi.ResourceOption) (*LogicallyAirGappedVault, error)
GetLogicallyAirGappedVault gets an existing LogicallyAirGappedVault 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 NewLogicallyAirGappedVault ¶
func NewLogicallyAirGappedVault(ctx *pulumi.Context, name string, args *LogicallyAirGappedVaultArgs, opts ...pulumi.ResourceOption) (*LogicallyAirGappedVault, error)
NewLogicallyAirGappedVault registers a new resource with the given unique name, arguments, and options.
func (*LogicallyAirGappedVault) ElementType ¶
func (*LogicallyAirGappedVault) ElementType() reflect.Type
func (*LogicallyAirGappedVault) ToLogicallyAirGappedVaultOutput ¶
func (i *LogicallyAirGappedVault) ToLogicallyAirGappedVaultOutput() LogicallyAirGappedVaultOutput
func (*LogicallyAirGappedVault) ToLogicallyAirGappedVaultOutputWithContext ¶
func (i *LogicallyAirGappedVault) ToLogicallyAirGappedVaultOutputWithContext(ctx context.Context) LogicallyAirGappedVaultOutput
type LogicallyAirGappedVaultArgs ¶
type LogicallyAirGappedVaultArgs struct {
// Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MaxRetentionDays pulumi.IntInput
// Minimum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MinRetentionDays pulumi.IntInput
// Name of the Logically Air Gapped Backup Vault to create.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Metadata that you can assign to help organize the resources that you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
Timeouts LogicallyAirGappedVaultTimeoutsPtrInput
}
The set of arguments for constructing a LogicallyAirGappedVault resource.
func (LogicallyAirGappedVaultArgs) ElementType ¶
func (LogicallyAirGappedVaultArgs) ElementType() reflect.Type
type LogicallyAirGappedVaultArray ¶
type LogicallyAirGappedVaultArray []LogicallyAirGappedVaultInput
func (LogicallyAirGappedVaultArray) ElementType ¶
func (LogicallyAirGappedVaultArray) ElementType() reflect.Type
func (LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutput ¶
func (i LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutput() LogicallyAirGappedVaultArrayOutput
func (LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutputWithContext ¶
func (i LogicallyAirGappedVaultArray) ToLogicallyAirGappedVaultArrayOutputWithContext(ctx context.Context) LogicallyAirGappedVaultArrayOutput
type LogicallyAirGappedVaultArrayInput ¶
type LogicallyAirGappedVaultArrayInput interface {
pulumi.Input
ToLogicallyAirGappedVaultArrayOutput() LogicallyAirGappedVaultArrayOutput
ToLogicallyAirGappedVaultArrayOutputWithContext(context.Context) LogicallyAirGappedVaultArrayOutput
}
LogicallyAirGappedVaultArrayInput is an input type that accepts LogicallyAirGappedVaultArray and LogicallyAirGappedVaultArrayOutput values. You can construct a concrete instance of `LogicallyAirGappedVaultArrayInput` via:
LogicallyAirGappedVaultArray{ LogicallyAirGappedVaultArgs{...} }
type LogicallyAirGappedVaultArrayOutput ¶
type LogicallyAirGappedVaultArrayOutput struct{ *pulumi.OutputState }
func (LogicallyAirGappedVaultArrayOutput) ElementType ¶
func (LogicallyAirGappedVaultArrayOutput) ElementType() reflect.Type
func (LogicallyAirGappedVaultArrayOutput) Index ¶
func (o LogicallyAirGappedVaultArrayOutput) Index(i pulumi.IntInput) LogicallyAirGappedVaultOutput
func (LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutput ¶
func (o LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutput() LogicallyAirGappedVaultArrayOutput
func (LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutputWithContext ¶
func (o LogicallyAirGappedVaultArrayOutput) ToLogicallyAirGappedVaultArrayOutputWithContext(ctx context.Context) LogicallyAirGappedVaultArrayOutput
type LogicallyAirGappedVaultInput ¶
type LogicallyAirGappedVaultInput interface {
pulumi.Input
ToLogicallyAirGappedVaultOutput() LogicallyAirGappedVaultOutput
ToLogicallyAirGappedVaultOutputWithContext(ctx context.Context) LogicallyAirGappedVaultOutput
}
type LogicallyAirGappedVaultMap ¶
type LogicallyAirGappedVaultMap map[string]LogicallyAirGappedVaultInput
func (LogicallyAirGappedVaultMap) ElementType ¶
func (LogicallyAirGappedVaultMap) ElementType() reflect.Type
func (LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutput ¶
func (i LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutput() LogicallyAirGappedVaultMapOutput
func (LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutputWithContext ¶
func (i LogicallyAirGappedVaultMap) ToLogicallyAirGappedVaultMapOutputWithContext(ctx context.Context) LogicallyAirGappedVaultMapOutput
type LogicallyAirGappedVaultMapInput ¶
type LogicallyAirGappedVaultMapInput interface {
pulumi.Input
ToLogicallyAirGappedVaultMapOutput() LogicallyAirGappedVaultMapOutput
ToLogicallyAirGappedVaultMapOutputWithContext(context.Context) LogicallyAirGappedVaultMapOutput
}
LogicallyAirGappedVaultMapInput is an input type that accepts LogicallyAirGappedVaultMap and LogicallyAirGappedVaultMapOutput values. You can construct a concrete instance of `LogicallyAirGappedVaultMapInput` via:
LogicallyAirGappedVaultMap{ "key": LogicallyAirGappedVaultArgs{...} }
type LogicallyAirGappedVaultMapOutput ¶
type LogicallyAirGappedVaultMapOutput struct{ *pulumi.OutputState }
func (LogicallyAirGappedVaultMapOutput) ElementType ¶
func (LogicallyAirGappedVaultMapOutput) ElementType() reflect.Type
func (LogicallyAirGappedVaultMapOutput) MapIndex ¶
func (o LogicallyAirGappedVaultMapOutput) MapIndex(k pulumi.StringInput) LogicallyAirGappedVaultOutput
func (LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutput ¶
func (o LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutput() LogicallyAirGappedVaultMapOutput
func (LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutputWithContext ¶
func (o LogicallyAirGappedVaultMapOutput) ToLogicallyAirGappedVaultMapOutputWithContext(ctx context.Context) LogicallyAirGappedVaultMapOutput
type LogicallyAirGappedVaultOutput ¶
type LogicallyAirGappedVaultOutput struct{ *pulumi.OutputState }
func (LogicallyAirGappedVaultOutput) Arn ¶
func (o LogicallyAirGappedVaultOutput) Arn() pulumi.StringOutput
The ARN of the Logically Air Gapped Backup Vault.
func (LogicallyAirGappedVaultOutput) ElementType ¶
func (LogicallyAirGappedVaultOutput) ElementType() reflect.Type
func (LogicallyAirGappedVaultOutput) MaxRetentionDays ¶
func (o LogicallyAirGappedVaultOutput) MaxRetentionDays() pulumi.IntOutput
Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.
func (LogicallyAirGappedVaultOutput) MinRetentionDays ¶
func (o LogicallyAirGappedVaultOutput) MinRetentionDays() pulumi.IntOutput
Minimum retention period that the Logically Air Gapped Backup Vault retains recovery points.
func (LogicallyAirGappedVaultOutput) Name ¶
func (o LogicallyAirGappedVaultOutput) Name() pulumi.StringOutput
Name of the Logically Air Gapped Backup Vault to create.
func (LogicallyAirGappedVaultOutput) Region ¶
func (o LogicallyAirGappedVaultOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (LogicallyAirGappedVaultOutput) Tags ¶
func (o LogicallyAirGappedVaultOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the resources that you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (LogicallyAirGappedVaultOutput) TagsAll ¶
func (o LogicallyAirGappedVaultOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (LogicallyAirGappedVaultOutput) Timeouts ¶
func (o LogicallyAirGappedVaultOutput) Timeouts() LogicallyAirGappedVaultTimeoutsPtrOutput
func (LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutput ¶
func (o LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutput() LogicallyAirGappedVaultOutput
func (LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutputWithContext ¶
func (o LogicallyAirGappedVaultOutput) ToLogicallyAirGappedVaultOutputWithContext(ctx context.Context) LogicallyAirGappedVaultOutput
type LogicallyAirGappedVaultState ¶
type LogicallyAirGappedVaultState struct {
// The ARN of the Logically Air Gapped Backup Vault.
Arn pulumi.StringPtrInput
// Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MaxRetentionDays pulumi.IntPtrInput
// Minimum retention period that the Logically Air Gapped Backup Vault retains recovery points.
MinRetentionDays pulumi.IntPtrInput
// Name of the Logically Air Gapped Backup Vault to create.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Metadata that you can assign to help organize the resources that you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
Timeouts LogicallyAirGappedVaultTimeoutsPtrInput
}
func (LogicallyAirGappedVaultState) ElementType ¶
func (LogicallyAirGappedVaultState) ElementType() reflect.Type
type LogicallyAirGappedVaultTimeouts ¶
type LogicallyAirGappedVaultTimeouts struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create *string `pulumi:"create"`
}
type LogicallyAirGappedVaultTimeoutsArgs ¶
type LogicallyAirGappedVaultTimeoutsArgs struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create pulumi.StringPtrInput `pulumi:"create"`
}
func (LogicallyAirGappedVaultTimeoutsArgs) ElementType ¶
func (LogicallyAirGappedVaultTimeoutsArgs) ElementType() reflect.Type
func (LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutput ¶
func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutput() LogicallyAirGappedVaultTimeoutsOutput
func (LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutputWithContext ¶
func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsOutput
func (LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutput ¶
func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
func (LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext ¶
func (i LogicallyAirGappedVaultTimeoutsArgs) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
type LogicallyAirGappedVaultTimeoutsInput ¶
type LogicallyAirGappedVaultTimeoutsInput interface {
pulumi.Input
ToLogicallyAirGappedVaultTimeoutsOutput() LogicallyAirGappedVaultTimeoutsOutput
ToLogicallyAirGappedVaultTimeoutsOutputWithContext(context.Context) LogicallyAirGappedVaultTimeoutsOutput
}
LogicallyAirGappedVaultTimeoutsInput is an input type that accepts LogicallyAirGappedVaultTimeoutsArgs and LogicallyAirGappedVaultTimeoutsOutput values. You can construct a concrete instance of `LogicallyAirGappedVaultTimeoutsInput` via:
LogicallyAirGappedVaultTimeoutsArgs{...}
type LogicallyAirGappedVaultTimeoutsOutput ¶
type LogicallyAirGappedVaultTimeoutsOutput struct{ *pulumi.OutputState }
func (LogicallyAirGappedVaultTimeoutsOutput) Create ¶
func (o LogicallyAirGappedVaultTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (LogicallyAirGappedVaultTimeoutsOutput) ElementType ¶
func (LogicallyAirGappedVaultTimeoutsOutput) ElementType() reflect.Type
func (LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutput ¶
func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutput() LogicallyAirGappedVaultTimeoutsOutput
func (LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutputWithContext ¶
func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsOutput
func (LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput ¶
func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
func (LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext ¶
func (o LogicallyAirGappedVaultTimeoutsOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
type LogicallyAirGappedVaultTimeoutsPtrInput ¶
type LogicallyAirGappedVaultTimeoutsPtrInput interface {
pulumi.Input
ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
}
LogicallyAirGappedVaultTimeoutsPtrInput is an input type that accepts LogicallyAirGappedVaultTimeoutsArgs, LogicallyAirGappedVaultTimeoutsPtr and LogicallyAirGappedVaultTimeoutsPtrOutput values. You can construct a concrete instance of `LogicallyAirGappedVaultTimeoutsPtrInput` via:
LogicallyAirGappedVaultTimeoutsArgs{...}
or:
nil
func LogicallyAirGappedVaultTimeoutsPtr ¶
func LogicallyAirGappedVaultTimeoutsPtr(v *LogicallyAirGappedVaultTimeoutsArgs) LogicallyAirGappedVaultTimeoutsPtrInput
type LogicallyAirGappedVaultTimeoutsPtrOutput ¶
type LogicallyAirGappedVaultTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (LogicallyAirGappedVaultTimeoutsPtrOutput) Create ¶
func (o LogicallyAirGappedVaultTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (LogicallyAirGappedVaultTimeoutsPtrOutput) ElementType ¶
func (LogicallyAirGappedVaultTimeoutsPtrOutput) ElementType() reflect.Type
func (LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput ¶
func (o LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutput() LogicallyAirGappedVaultTimeoutsPtrOutput
func (LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext ¶
func (o LogicallyAirGappedVaultTimeoutsPtrOutput) ToLogicallyAirGappedVaultTimeoutsPtrOutputWithContext(ctx context.Context) LogicallyAirGappedVaultTimeoutsPtrOutput
type LookupFrameworkArgs ¶
type LookupFrameworkArgs struct {
// Backup framework name.
Name string `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getFramework.
type LookupFrameworkOutputArgs ¶
type LookupFrameworkOutputArgs struct {
// Backup framework name.
Name pulumi.StringInput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getFramework.
func (LookupFrameworkOutputArgs) ElementType ¶
func (LookupFrameworkOutputArgs) ElementType() reflect.Type
type LookupFrameworkResult ¶
type LookupFrameworkResult struct {
// ARN of the backup framework.
Arn string `pulumi:"arn"`
// One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
Controls []GetFrameworkControl `pulumi:"controls"`
// Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime string `pulumi:"creationTime"`
// Deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`| `FAILED`.
DeploymentStatus string `pulumi:"deploymentStatus"`
// Description of the framework.
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Name of a parameter, for example, BackupPlanFrequency.
Name string `pulumi:"name"`
Region string `pulumi:"region"`
// Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: `ACTIVE`, `PARTIALLY_ACTIVE`, `INACTIVE`, `UNAVAILABLE`. For more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkStatus)
Status string `pulumi:"status"`
// Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getFramework.
func LookupFramework ¶
func LookupFramework(ctx *pulumi.Context, args *LookupFrameworkArgs, opts ...pulumi.InvokeOption) (*LookupFrameworkResult, error)
Use this data source to get information on an existing backup framework.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.LookupFramework(ctx, &backup.LookupFrameworkArgs{
Name: "my_example_backup_framework_name",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupFrameworkResultOutput ¶
type LookupFrameworkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFramework.
func LookupFrameworkOutput ¶
func LookupFrameworkOutput(ctx *pulumi.Context, args LookupFrameworkOutputArgs, opts ...pulumi.InvokeOption) LookupFrameworkResultOutput
func (LookupFrameworkResultOutput) Arn ¶
func (o LookupFrameworkResultOutput) Arn() pulumi.StringOutput
ARN of the backup framework.
func (LookupFrameworkResultOutput) Controls ¶
func (o LookupFrameworkResultOutput) Controls() GetFrameworkControlArrayOutput
One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
func (LookupFrameworkResultOutput) CreationTime ¶
func (o LookupFrameworkResultOutput) CreationTime() pulumi.StringOutput
Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
func (LookupFrameworkResultOutput) DeploymentStatus ¶
func (o LookupFrameworkResultOutput) DeploymentStatus() pulumi.StringOutput
Deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`| `FAILED`.
func (LookupFrameworkResultOutput) Description ¶
func (o LookupFrameworkResultOutput) Description() pulumi.StringOutput
Description of the framework.
func (LookupFrameworkResultOutput) ElementType ¶
func (LookupFrameworkResultOutput) ElementType() reflect.Type
func (LookupFrameworkResultOutput) Id ¶
func (o LookupFrameworkResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFrameworkResultOutput) Name ¶
func (o LookupFrameworkResultOutput) Name() pulumi.StringOutput
Name of a parameter, for example, BackupPlanFrequency.
func (LookupFrameworkResultOutput) Region ¶
func (o LookupFrameworkResultOutput) Region() pulumi.StringOutput
func (LookupFrameworkResultOutput) Status ¶
func (o LookupFrameworkResultOutput) Status() pulumi.StringOutput
Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: `ACTIVE`, `PARTIALLY_ACTIVE`, `INACTIVE`, `UNAVAILABLE`. For more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkStatus)
func (LookupFrameworkResultOutput) Tags ¶
func (o LookupFrameworkResultOutput) Tags() pulumi.StringMapOutput
Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
func (LookupFrameworkResultOutput) ToLookupFrameworkResultOutput ¶
func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutput() LookupFrameworkResultOutput
func (LookupFrameworkResultOutput) ToLookupFrameworkResultOutputWithContext ¶
func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutputWithContext(ctx context.Context) LookupFrameworkResultOutput
type LookupPlanArgs ¶
type LookupPlanArgs struct {
// Backup plan ID.
PlanId string `pulumi:"planId"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// Metadata that you can assign to help organize the plans you create.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getPlan.
type LookupPlanOutputArgs ¶
type LookupPlanOutputArgs struct {
// Backup plan ID.
PlanId pulumi.StringInput `pulumi:"planId"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// Metadata that you can assign to help organize the plans you create.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getPlan.
func (LookupPlanOutputArgs) ElementType ¶
func (LookupPlanOutputArgs) ElementType() reflect.Type
type LookupPlanResult ¶
type LookupPlanResult struct {
// ARN of the backup plan.
Arn string `pulumi:"arn"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Display name of a backup plan.
Name string `pulumi:"name"`
PlanId string `pulumi:"planId"`
Region string `pulumi:"region"`
// Rules of a backup plan.
Rules []GetPlanRule `pulumi:"rules"`
// Metadata that you can assign to help organize the plans you create.
Tags map[string]string `pulumi:"tags"`
// Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
Version string `pulumi:"version"`
}
A collection of values returned by getPlan.
func LookupPlan ¶
func LookupPlan(ctx *pulumi.Context, args *LookupPlanArgs, opts ...pulumi.InvokeOption) (*LookupPlanResult, error)
Use this data source to get information on an existing backup plan.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.LookupPlan(ctx, &backup.LookupPlanArgs{
PlanId: "my_example_backup_plan_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupPlanResultOutput ¶
type LookupPlanResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPlan.
func LookupPlanOutput ¶
func LookupPlanOutput(ctx *pulumi.Context, args LookupPlanOutputArgs, opts ...pulumi.InvokeOption) LookupPlanResultOutput
func (LookupPlanResultOutput) Arn ¶
func (o LookupPlanResultOutput) Arn() pulumi.StringOutput
ARN of the backup plan.
func (LookupPlanResultOutput) ElementType ¶
func (LookupPlanResultOutput) ElementType() reflect.Type
func (LookupPlanResultOutput) Id ¶
func (o LookupPlanResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPlanResultOutput) Name ¶
func (o LookupPlanResultOutput) Name() pulumi.StringOutput
Display name of a backup plan.
func (LookupPlanResultOutput) PlanId ¶
func (o LookupPlanResultOutput) PlanId() pulumi.StringOutput
func (LookupPlanResultOutput) Region ¶
func (o LookupPlanResultOutput) Region() pulumi.StringOutput
func (LookupPlanResultOutput) Rules ¶
func (o LookupPlanResultOutput) Rules() GetPlanRuleArrayOutput
Rules of a backup plan.
func (LookupPlanResultOutput) Tags ¶
func (o LookupPlanResultOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the plans you create.
func (LookupPlanResultOutput) ToLookupPlanResultOutput ¶
func (o LookupPlanResultOutput) ToLookupPlanResultOutput() LookupPlanResultOutput
func (LookupPlanResultOutput) ToLookupPlanResultOutputWithContext ¶
func (o LookupPlanResultOutput) ToLookupPlanResultOutputWithContext(ctx context.Context) LookupPlanResultOutput
func (LookupPlanResultOutput) Version ¶
func (o LookupPlanResultOutput) Version() pulumi.StringOutput
Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
type LookupReportPlanArgs ¶
type LookupReportPlanArgs struct {
// Backup report plan name.
Name string `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// Metadata that you can assign to help organize the report plans you create.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getReportPlan.
type LookupReportPlanOutputArgs ¶
type LookupReportPlanOutputArgs struct {
// Backup report plan name.
Name pulumi.StringInput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// Metadata that you can assign to help organize the report plans you create.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getReportPlan.
func (LookupReportPlanOutputArgs) ElementType ¶
func (LookupReportPlanOutputArgs) ElementType() reflect.Type
type LookupReportPlanResult ¶
type LookupReportPlanResult struct {
// ARN of the backup report plan.
Arn string `pulumi:"arn"`
// Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime string `pulumi:"creationTime"`
// Deployment status of a report plan. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`.
DeploymentStatus string `pulumi:"deploymentStatus"`
// Description of the report plan.
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
Region string `pulumi:"region"`
// An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
ReportDeliveryChannels []GetReportPlanReportDeliveryChannel `pulumi:"reportDeliveryChannels"`
// An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
ReportSettings []GetReportPlanReportSetting `pulumi:"reportSettings"`
// Metadata that you can assign to help organize the report plans you create.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getReportPlan.
func LookupReportPlan ¶
func LookupReportPlan(ctx *pulumi.Context, args *LookupReportPlanArgs, opts ...pulumi.InvokeOption) (*LookupReportPlanResult, error)
Use this data source to get information on an existing backup report plan.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.LookupReportPlan(ctx, &backup.LookupReportPlanArgs{
Name: "my_example_backup_report_plan_name",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupReportPlanResultOutput ¶
type LookupReportPlanResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getReportPlan.
func LookupReportPlanOutput ¶
func LookupReportPlanOutput(ctx *pulumi.Context, args LookupReportPlanOutputArgs, opts ...pulumi.InvokeOption) LookupReportPlanResultOutput
func (LookupReportPlanResultOutput) Arn ¶
func (o LookupReportPlanResultOutput) Arn() pulumi.StringOutput
ARN of the backup report plan.
func (LookupReportPlanResultOutput) CreationTime ¶
func (o LookupReportPlanResultOutput) CreationTime() pulumi.StringOutput
Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
func (LookupReportPlanResultOutput) DeploymentStatus ¶
func (o LookupReportPlanResultOutput) DeploymentStatus() pulumi.StringOutput
Deployment status of a report plan. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`.
func (LookupReportPlanResultOutput) Description ¶
func (o LookupReportPlanResultOutput) Description() pulumi.StringOutput
Description of the report plan.
func (LookupReportPlanResultOutput) ElementType ¶
func (LookupReportPlanResultOutput) ElementType() reflect.Type
func (LookupReportPlanResultOutput) Id ¶
func (o LookupReportPlanResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupReportPlanResultOutput) Name ¶
func (o LookupReportPlanResultOutput) Name() pulumi.StringOutput
func (LookupReportPlanResultOutput) Region ¶
func (o LookupReportPlanResultOutput) Region() pulumi.StringOutput
func (LookupReportPlanResultOutput) ReportDeliveryChannels ¶
func (o LookupReportPlanResultOutput) ReportDeliveryChannels() GetReportPlanReportDeliveryChannelArrayOutput
An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
func (LookupReportPlanResultOutput) ReportSettings ¶
func (o LookupReportPlanResultOutput) ReportSettings() GetReportPlanReportSettingArrayOutput
An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
func (LookupReportPlanResultOutput) Tags ¶
func (o LookupReportPlanResultOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the report plans you create.
func (LookupReportPlanResultOutput) ToLookupReportPlanResultOutput ¶
func (o LookupReportPlanResultOutput) ToLookupReportPlanResultOutput() LookupReportPlanResultOutput
func (LookupReportPlanResultOutput) ToLookupReportPlanResultOutputWithContext ¶
func (o LookupReportPlanResultOutput) ToLookupReportPlanResultOutputWithContext(ctx context.Context) LookupReportPlanResultOutput
type LookupSelectionArgs ¶
type LookupSelectionArgs struct {
// Backup plan ID associated with the selection of resources.
PlanId string `pulumi:"planId"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// Backup selection ID.
SelectionId string `pulumi:"selectionId"`
}
A collection of arguments for invoking getSelection.
type LookupSelectionOutputArgs ¶
type LookupSelectionOutputArgs struct {
// Backup plan ID associated with the selection of resources.
PlanId pulumi.StringInput `pulumi:"planId"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// Backup selection ID.
SelectionId pulumi.StringInput `pulumi:"selectionId"`
}
A collection of arguments for invoking getSelection.
func (LookupSelectionOutputArgs) ElementType ¶
func (LookupSelectionOutputArgs) ElementType() reflect.Type
type LookupSelectionResult ¶
type LookupSelectionResult struct {
// ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
IamRoleArn string `pulumi:"iamRoleArn"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Display name of a resource selection document.
Name string `pulumi:"name"`
PlanId string `pulumi:"planId"`
Region string `pulumi:"region"`
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..
Resources []string `pulumi:"resources"`
SelectionId string `pulumi:"selectionId"`
}
A collection of values returned by getSelection.
func LookupSelection ¶
func LookupSelection(ctx *pulumi.Context, args *LookupSelectionArgs, opts ...pulumi.InvokeOption) (*LookupSelectionResult, error)
Use this data source to get information on an existing backup selection.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.LookupSelection(ctx, &backup.LookupSelectionArgs{
PlanId: exampleAwsBackupPlan.Id,
SelectionId: "selection-id-example",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSelectionResultOutput ¶
type LookupSelectionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSelection.
func LookupSelectionOutput ¶
func LookupSelectionOutput(ctx *pulumi.Context, args LookupSelectionOutputArgs, opts ...pulumi.InvokeOption) LookupSelectionResultOutput
func (LookupSelectionResultOutput) ElementType ¶
func (LookupSelectionResultOutput) ElementType() reflect.Type
func (LookupSelectionResultOutput) IamRoleArn ¶
func (o LookupSelectionResultOutput) IamRoleArn() pulumi.StringOutput
ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
func (LookupSelectionResultOutput) Id ¶
func (o LookupSelectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSelectionResultOutput) Name ¶
func (o LookupSelectionResultOutput) Name() pulumi.StringOutput
Display name of a resource selection document.
func (LookupSelectionResultOutput) PlanId ¶
func (o LookupSelectionResultOutput) PlanId() pulumi.StringOutput
func (LookupSelectionResultOutput) Region ¶
func (o LookupSelectionResultOutput) Region() pulumi.StringOutput
func (LookupSelectionResultOutput) Resources ¶
func (o LookupSelectionResultOutput) Resources() pulumi.StringArrayOutput
An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..
func (LookupSelectionResultOutput) SelectionId ¶
func (o LookupSelectionResultOutput) SelectionId() pulumi.StringOutput
func (LookupSelectionResultOutput) ToLookupSelectionResultOutput ¶
func (o LookupSelectionResultOutput) ToLookupSelectionResultOutput() LookupSelectionResultOutput
func (LookupSelectionResultOutput) ToLookupSelectionResultOutputWithContext ¶
func (o LookupSelectionResultOutput) ToLookupSelectionResultOutputWithContext(ctx context.Context) LookupSelectionResultOutput
type LookupVaultArgs ¶
type LookupVaultArgs struct {
// Name of the backup vault.
Name string `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region *string `pulumi:"region"`
// Metadata that you can assign to help organize the resources that you create.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getVault.
type LookupVaultOutputArgs ¶
type LookupVaultOutputArgs struct {
// Name of the backup vault.
Name pulumi.StringInput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput `pulumi:"region"`
// Metadata that you can assign to help organize the resources that you create.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
A collection of arguments for invoking getVault.
func (LookupVaultOutputArgs) ElementType ¶
func (LookupVaultOutputArgs) ElementType() reflect.Type
type LookupVaultResult ¶
type LookupVaultResult struct {
// ARN of the vault.
Arn string `pulumi:"arn"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Server-side encryption key that is used to protect your backups.
KmsKeyArn string `pulumi:"kmsKeyArn"`
Name string `pulumi:"name"`
// Number of recovery points that are stored in a backup vault.
RecoveryPoints int `pulumi:"recoveryPoints"`
Region string `pulumi:"region"`
// Metadata that you can assign to help organize the resources that you create.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getVault.
func LookupVault ¶
func LookupVault(ctx *pulumi.Context, args *LookupVaultArgs, opts ...pulumi.InvokeOption) (*LookupVaultResult, error)
Use this data source to get information on an existing backup vault.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.LookupVault(ctx, &backup.LookupVaultArgs{
Name: "example_backup_vault",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupVaultResultOutput ¶
type LookupVaultResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVault.
func LookupVaultOutput ¶
func LookupVaultOutput(ctx *pulumi.Context, args LookupVaultOutputArgs, opts ...pulumi.InvokeOption) LookupVaultResultOutput
func (LookupVaultResultOutput) Arn ¶
func (o LookupVaultResultOutput) Arn() pulumi.StringOutput
ARN of the vault.
func (LookupVaultResultOutput) ElementType ¶
func (LookupVaultResultOutput) ElementType() reflect.Type
func (LookupVaultResultOutput) Id ¶
func (o LookupVaultResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVaultResultOutput) KmsKeyArn ¶
func (o LookupVaultResultOutput) KmsKeyArn() pulumi.StringOutput
Server-side encryption key that is used to protect your backups.
func (LookupVaultResultOutput) Name ¶
func (o LookupVaultResultOutput) Name() pulumi.StringOutput
func (LookupVaultResultOutput) RecoveryPoints ¶
func (o LookupVaultResultOutput) RecoveryPoints() pulumi.IntOutput
Number of recovery points that are stored in a backup vault.
func (LookupVaultResultOutput) Region ¶
func (o LookupVaultResultOutput) Region() pulumi.StringOutput
func (LookupVaultResultOutput) Tags ¶
func (o LookupVaultResultOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the resources that you create.
func (LookupVaultResultOutput) ToLookupVaultResultOutput ¶
func (o LookupVaultResultOutput) ToLookupVaultResultOutput() LookupVaultResultOutput
func (LookupVaultResultOutput) ToLookupVaultResultOutputWithContext ¶
func (o LookupVaultResultOutput) ToLookupVaultResultOutputWithContext(ctx context.Context) LookupVaultResultOutput
type Plan ¶
type Plan struct {
pulumi.CustomResourceState
// An object that specifies backup options for each resource type.
AdvancedBackupSettings PlanAdvancedBackupSettingArrayOutput `pulumi:"advancedBackupSettings"`
// The ARN of the backup plan.
Arn pulumi.StringOutput `pulumi:"arn"`
// The display name of a backup plan.
Name pulumi.StringOutput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// A rule object that specifies a scheduled task that is used to back up a selection of resources.
Rules PlanRuleArrayOutput `pulumi:"rules"`
// Metadata that you can assign to help organize the plans you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
// Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
Version pulumi.StringOutput `pulumi:"version"`
}
Provides an AWS Backup plan resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewPlan(ctx, "example", &backup.PlanArgs{
Name: pulumi.String("my_example_backup_plan"),
Rules: backup.PlanRuleArray{
&backup.PlanRuleArgs{
RuleName: pulumi.String("my_example_backup_rule"),
TargetVaultName: pulumi.Any(test.Name),
Schedule: pulumi.String("cron(0 12 * * ? *)"),
Lifecycle: &backup.PlanRuleLifecycleArgs{
DeleteAfter: pulumi.Int(14),
},
},
},
AdvancedBackupSettings: backup.PlanAdvancedBackupSettingArray{
&backup.PlanAdvancedBackupSettingArgs{
BackupOptions: pulumi.StringMap{
"WindowsVSS": pulumi.String("enabled"),
},
ResourceType: pulumi.String("EC2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Plan using the `id`. For example:
```sh $ pulumi import aws:backup/plan:Plan test <id> ```
func GetPlan ¶
func GetPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PlanState, opts ...pulumi.ResourceOption) (*Plan, error)
GetPlan gets an existing Plan 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 NewPlan ¶
func NewPlan(ctx *pulumi.Context, name string, args *PlanArgs, opts ...pulumi.ResourceOption) (*Plan, error)
NewPlan registers a new resource with the given unique name, arguments, and options.
func (*Plan) ElementType ¶
func (*Plan) ToPlanOutput ¶
func (i *Plan) ToPlanOutput() PlanOutput
func (*Plan) ToPlanOutputWithContext ¶
func (i *Plan) ToPlanOutputWithContext(ctx context.Context) PlanOutput
type PlanAdvancedBackupSetting ¶
type PlanAdvancedBackupSetting struct {
// Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to `{ WindowsVSS = "enabled" }` to enable Windows VSS backup option and create a VSS Windows backup.
BackupOptions map[string]string `pulumi:"backupOptions"`
// The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: `EC2`.
ResourceType string `pulumi:"resourceType"`
}
type PlanAdvancedBackupSettingArgs ¶
type PlanAdvancedBackupSettingArgs struct {
// Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to `{ WindowsVSS = "enabled" }` to enable Windows VSS backup option and create a VSS Windows backup.
BackupOptions pulumi.StringMapInput `pulumi:"backupOptions"`
// The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: `EC2`.
ResourceType pulumi.StringInput `pulumi:"resourceType"`
}
func (PlanAdvancedBackupSettingArgs) ElementType ¶
func (PlanAdvancedBackupSettingArgs) ElementType() reflect.Type
func (PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutput ¶
func (i PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutput() PlanAdvancedBackupSettingOutput
func (PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutputWithContext ¶
func (i PlanAdvancedBackupSettingArgs) ToPlanAdvancedBackupSettingOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingOutput
type PlanAdvancedBackupSettingArray ¶
type PlanAdvancedBackupSettingArray []PlanAdvancedBackupSettingInput
func (PlanAdvancedBackupSettingArray) ElementType ¶
func (PlanAdvancedBackupSettingArray) ElementType() reflect.Type
func (PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutput ¶
func (i PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutput() PlanAdvancedBackupSettingArrayOutput
func (PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutputWithContext ¶
func (i PlanAdvancedBackupSettingArray) ToPlanAdvancedBackupSettingArrayOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingArrayOutput
type PlanAdvancedBackupSettingArrayInput ¶
type PlanAdvancedBackupSettingArrayInput interface {
pulumi.Input
ToPlanAdvancedBackupSettingArrayOutput() PlanAdvancedBackupSettingArrayOutput
ToPlanAdvancedBackupSettingArrayOutputWithContext(context.Context) PlanAdvancedBackupSettingArrayOutput
}
PlanAdvancedBackupSettingArrayInput is an input type that accepts PlanAdvancedBackupSettingArray and PlanAdvancedBackupSettingArrayOutput values. You can construct a concrete instance of `PlanAdvancedBackupSettingArrayInput` via:
PlanAdvancedBackupSettingArray{ PlanAdvancedBackupSettingArgs{...} }
type PlanAdvancedBackupSettingArrayOutput ¶
type PlanAdvancedBackupSettingArrayOutput struct{ *pulumi.OutputState }
func (PlanAdvancedBackupSettingArrayOutput) ElementType ¶
func (PlanAdvancedBackupSettingArrayOutput) ElementType() reflect.Type
func (PlanAdvancedBackupSettingArrayOutput) Index ¶
func (o PlanAdvancedBackupSettingArrayOutput) Index(i pulumi.IntInput) PlanAdvancedBackupSettingOutput
func (PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutput ¶
func (o PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutput() PlanAdvancedBackupSettingArrayOutput
func (PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutputWithContext ¶
func (o PlanAdvancedBackupSettingArrayOutput) ToPlanAdvancedBackupSettingArrayOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingArrayOutput
type PlanAdvancedBackupSettingInput ¶
type PlanAdvancedBackupSettingInput interface {
pulumi.Input
ToPlanAdvancedBackupSettingOutput() PlanAdvancedBackupSettingOutput
ToPlanAdvancedBackupSettingOutputWithContext(context.Context) PlanAdvancedBackupSettingOutput
}
PlanAdvancedBackupSettingInput is an input type that accepts PlanAdvancedBackupSettingArgs and PlanAdvancedBackupSettingOutput values. You can construct a concrete instance of `PlanAdvancedBackupSettingInput` via:
PlanAdvancedBackupSettingArgs{...}
type PlanAdvancedBackupSettingOutput ¶
type PlanAdvancedBackupSettingOutput struct{ *pulumi.OutputState }
func (PlanAdvancedBackupSettingOutput) BackupOptions ¶
func (o PlanAdvancedBackupSettingOutput) BackupOptions() pulumi.StringMapOutput
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to `{ WindowsVSS = "enabled" }` to enable Windows VSS backup option and create a VSS Windows backup.
func (PlanAdvancedBackupSettingOutput) ElementType ¶
func (PlanAdvancedBackupSettingOutput) ElementType() reflect.Type
func (PlanAdvancedBackupSettingOutput) ResourceType ¶
func (o PlanAdvancedBackupSettingOutput) ResourceType() pulumi.StringOutput
The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: `EC2`.
func (PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutput ¶
func (o PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutput() PlanAdvancedBackupSettingOutput
func (PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutputWithContext ¶
func (o PlanAdvancedBackupSettingOutput) ToPlanAdvancedBackupSettingOutputWithContext(ctx context.Context) PlanAdvancedBackupSettingOutput
type PlanArgs ¶
type PlanArgs struct {
// An object that specifies backup options for each resource type.
AdvancedBackupSettings PlanAdvancedBackupSettingArrayInput
// The display name of a backup plan.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// A rule object that specifies a scheduled task that is used to back up a selection of resources.
Rules PlanRuleArrayInput
// Metadata that you can assign to help organize the plans you create. .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 Plan resource.
func (PlanArgs) ElementType ¶
type PlanArray ¶
type PlanArray []PlanInput
func (PlanArray) ElementType ¶
func (PlanArray) ToPlanArrayOutput ¶
func (i PlanArray) ToPlanArrayOutput() PlanArrayOutput
func (PlanArray) ToPlanArrayOutputWithContext ¶
func (i PlanArray) ToPlanArrayOutputWithContext(ctx context.Context) PlanArrayOutput
type PlanArrayInput ¶
type PlanArrayInput interface {
pulumi.Input
ToPlanArrayOutput() PlanArrayOutput
ToPlanArrayOutputWithContext(context.Context) PlanArrayOutput
}
PlanArrayInput is an input type that accepts PlanArray and PlanArrayOutput values. You can construct a concrete instance of `PlanArrayInput` via:
PlanArray{ PlanArgs{...} }
type PlanArrayOutput ¶
type PlanArrayOutput struct{ *pulumi.OutputState }
func (PlanArrayOutput) ElementType ¶
func (PlanArrayOutput) ElementType() reflect.Type
func (PlanArrayOutput) Index ¶
func (o PlanArrayOutput) Index(i pulumi.IntInput) PlanOutput
func (PlanArrayOutput) ToPlanArrayOutput ¶
func (o PlanArrayOutput) ToPlanArrayOutput() PlanArrayOutput
func (PlanArrayOutput) ToPlanArrayOutputWithContext ¶
func (o PlanArrayOutput) ToPlanArrayOutputWithContext(ctx context.Context) PlanArrayOutput
type PlanInput ¶
type PlanInput interface {
pulumi.Input
ToPlanOutput() PlanOutput
ToPlanOutputWithContext(ctx context.Context) PlanOutput
}
type PlanMap ¶
func (PlanMap) ElementType ¶
func (PlanMap) ToPlanMapOutput ¶
func (i PlanMap) ToPlanMapOutput() PlanMapOutput
func (PlanMap) ToPlanMapOutputWithContext ¶
func (i PlanMap) ToPlanMapOutputWithContext(ctx context.Context) PlanMapOutput
type PlanMapInput ¶
type PlanMapInput interface {
pulumi.Input
ToPlanMapOutput() PlanMapOutput
ToPlanMapOutputWithContext(context.Context) PlanMapOutput
}
PlanMapInput is an input type that accepts PlanMap and PlanMapOutput values. You can construct a concrete instance of `PlanMapInput` via:
PlanMap{ "key": PlanArgs{...} }
type PlanMapOutput ¶
type PlanMapOutput struct{ *pulumi.OutputState }
func (PlanMapOutput) ElementType ¶
func (PlanMapOutput) ElementType() reflect.Type
func (PlanMapOutput) MapIndex ¶
func (o PlanMapOutput) MapIndex(k pulumi.StringInput) PlanOutput
func (PlanMapOutput) ToPlanMapOutput ¶
func (o PlanMapOutput) ToPlanMapOutput() PlanMapOutput
func (PlanMapOutput) ToPlanMapOutputWithContext ¶
func (o PlanMapOutput) ToPlanMapOutputWithContext(ctx context.Context) PlanMapOutput
type PlanOutput ¶
type PlanOutput struct{ *pulumi.OutputState }
func (PlanOutput) AdvancedBackupSettings ¶
func (o PlanOutput) AdvancedBackupSettings() PlanAdvancedBackupSettingArrayOutput
An object that specifies backup options for each resource type.
func (PlanOutput) ElementType ¶
func (PlanOutput) ElementType() reflect.Type
func (PlanOutput) Name ¶
func (o PlanOutput) Name() pulumi.StringOutput
The display name of a backup plan.
func (PlanOutput) Region ¶
func (o PlanOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (PlanOutput) Rules ¶
func (o PlanOutput) Rules() PlanRuleArrayOutput
A rule object that specifies a scheduled task that is used to back up a selection of resources.
func (PlanOutput) Tags ¶
func (o PlanOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the plans you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PlanOutput) TagsAll ¶
func (o PlanOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (PlanOutput) ToPlanOutput ¶
func (o PlanOutput) ToPlanOutput() PlanOutput
func (PlanOutput) ToPlanOutputWithContext ¶
func (o PlanOutput) ToPlanOutputWithContext(ctx context.Context) PlanOutput
func (PlanOutput) Version ¶
func (o PlanOutput) Version() pulumi.StringOutput
Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
type PlanRule ¶
type PlanRule struct {
// The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.
CompletionWindow *int `pulumi:"completionWindow"`
// Configuration block(s) with copy operation settings. Detailed below.
CopyActions []PlanRuleCopyAction `pulumi:"copyActions"`
// Enable continuous backups for supported resources.
EnableContinuousBackup *bool `pulumi:"enableContinuousBackup"`
// The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below.
Lifecycle *PlanRuleLifecycle `pulumi:"lifecycle"`
// Metadata that you can assign to help organize the resources that you create.
RecoveryPointTags map[string]string `pulumi:"recoveryPointTags"`
// An display name for a backup rule.
RuleName string `pulumi:"ruleName"`
// A CRON expression specifying when AWS Backup initiates a backup job.
Schedule *string `pulumi:"schedule"`
// The timezone in which the schedule expression is set. Default value: `"Etc/UTC"`.
ScheduleExpressionTimezone *string `pulumi:"scheduleExpressionTimezone"`
// The amount of time in minutes before beginning a backup.
StartWindow *int `pulumi:"startWindow"`
// The name of a logical container where backups are stored.
TargetVaultName string `pulumi:"targetVaultName"`
}
type PlanRuleArgs ¶
type PlanRuleArgs struct {
// The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.
CompletionWindow pulumi.IntPtrInput `pulumi:"completionWindow"`
// Configuration block(s) with copy operation settings. Detailed below.
CopyActions PlanRuleCopyActionArrayInput `pulumi:"copyActions"`
// Enable continuous backups for supported resources.
EnableContinuousBackup pulumi.BoolPtrInput `pulumi:"enableContinuousBackup"`
// The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below.
Lifecycle PlanRuleLifecyclePtrInput `pulumi:"lifecycle"`
// Metadata that you can assign to help organize the resources that you create.
RecoveryPointTags pulumi.StringMapInput `pulumi:"recoveryPointTags"`
// An display name for a backup rule.
RuleName pulumi.StringInput `pulumi:"ruleName"`
// A CRON expression specifying when AWS Backup initiates a backup job.
Schedule pulumi.StringPtrInput `pulumi:"schedule"`
// The timezone in which the schedule expression is set. Default value: `"Etc/UTC"`.
ScheduleExpressionTimezone pulumi.StringPtrInput `pulumi:"scheduleExpressionTimezone"`
// The amount of time in minutes before beginning a backup.
StartWindow pulumi.IntPtrInput `pulumi:"startWindow"`
// The name of a logical container where backups are stored.
TargetVaultName pulumi.StringInput `pulumi:"targetVaultName"`
}
func (PlanRuleArgs) ElementType ¶
func (PlanRuleArgs) ElementType() reflect.Type
func (PlanRuleArgs) ToPlanRuleOutput ¶
func (i PlanRuleArgs) ToPlanRuleOutput() PlanRuleOutput
func (PlanRuleArgs) ToPlanRuleOutputWithContext ¶
func (i PlanRuleArgs) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
type PlanRuleArray ¶
type PlanRuleArray []PlanRuleInput
func (PlanRuleArray) ElementType ¶
func (PlanRuleArray) ElementType() reflect.Type
func (PlanRuleArray) ToPlanRuleArrayOutput ¶
func (i PlanRuleArray) ToPlanRuleArrayOutput() PlanRuleArrayOutput
func (PlanRuleArray) ToPlanRuleArrayOutputWithContext ¶
func (i PlanRuleArray) ToPlanRuleArrayOutputWithContext(ctx context.Context) PlanRuleArrayOutput
type PlanRuleArrayInput ¶
type PlanRuleArrayInput interface {
pulumi.Input
ToPlanRuleArrayOutput() PlanRuleArrayOutput
ToPlanRuleArrayOutputWithContext(context.Context) PlanRuleArrayOutput
}
PlanRuleArrayInput is an input type that accepts PlanRuleArray and PlanRuleArrayOutput values. You can construct a concrete instance of `PlanRuleArrayInput` via:
PlanRuleArray{ PlanRuleArgs{...} }
type PlanRuleArrayOutput ¶
type PlanRuleArrayOutput struct{ *pulumi.OutputState }
func (PlanRuleArrayOutput) ElementType ¶
func (PlanRuleArrayOutput) ElementType() reflect.Type
func (PlanRuleArrayOutput) Index ¶
func (o PlanRuleArrayOutput) Index(i pulumi.IntInput) PlanRuleOutput
func (PlanRuleArrayOutput) ToPlanRuleArrayOutput ¶
func (o PlanRuleArrayOutput) ToPlanRuleArrayOutput() PlanRuleArrayOutput
func (PlanRuleArrayOutput) ToPlanRuleArrayOutputWithContext ¶
func (o PlanRuleArrayOutput) ToPlanRuleArrayOutputWithContext(ctx context.Context) PlanRuleArrayOutput
type PlanRuleCopyAction ¶
type PlanRuleCopyAction struct {
// An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
DestinationVaultArn string `pulumi:"destinationVaultArn"`
// The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.
Lifecycle *PlanRuleCopyActionLifecycle `pulumi:"lifecycle"`
}
type PlanRuleCopyActionArgs ¶
type PlanRuleCopyActionArgs struct {
// An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
DestinationVaultArn pulumi.StringInput `pulumi:"destinationVaultArn"`
// The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.
Lifecycle PlanRuleCopyActionLifecyclePtrInput `pulumi:"lifecycle"`
}
func (PlanRuleCopyActionArgs) ElementType ¶
func (PlanRuleCopyActionArgs) ElementType() reflect.Type
func (PlanRuleCopyActionArgs) ToPlanRuleCopyActionOutput ¶
func (i PlanRuleCopyActionArgs) ToPlanRuleCopyActionOutput() PlanRuleCopyActionOutput
func (PlanRuleCopyActionArgs) ToPlanRuleCopyActionOutputWithContext ¶
func (i PlanRuleCopyActionArgs) ToPlanRuleCopyActionOutputWithContext(ctx context.Context) PlanRuleCopyActionOutput
type PlanRuleCopyActionArray ¶
type PlanRuleCopyActionArray []PlanRuleCopyActionInput
func (PlanRuleCopyActionArray) ElementType ¶
func (PlanRuleCopyActionArray) ElementType() reflect.Type
func (PlanRuleCopyActionArray) ToPlanRuleCopyActionArrayOutput ¶
func (i PlanRuleCopyActionArray) ToPlanRuleCopyActionArrayOutput() PlanRuleCopyActionArrayOutput
func (PlanRuleCopyActionArray) ToPlanRuleCopyActionArrayOutputWithContext ¶
func (i PlanRuleCopyActionArray) ToPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) PlanRuleCopyActionArrayOutput
type PlanRuleCopyActionArrayInput ¶
type PlanRuleCopyActionArrayInput interface {
pulumi.Input
ToPlanRuleCopyActionArrayOutput() PlanRuleCopyActionArrayOutput
ToPlanRuleCopyActionArrayOutputWithContext(context.Context) PlanRuleCopyActionArrayOutput
}
PlanRuleCopyActionArrayInput is an input type that accepts PlanRuleCopyActionArray and PlanRuleCopyActionArrayOutput values. You can construct a concrete instance of `PlanRuleCopyActionArrayInput` via:
PlanRuleCopyActionArray{ PlanRuleCopyActionArgs{...} }
type PlanRuleCopyActionArrayOutput ¶
type PlanRuleCopyActionArrayOutput struct{ *pulumi.OutputState }
func (PlanRuleCopyActionArrayOutput) ElementType ¶
func (PlanRuleCopyActionArrayOutput) ElementType() reflect.Type
func (PlanRuleCopyActionArrayOutput) Index ¶
func (o PlanRuleCopyActionArrayOutput) Index(i pulumi.IntInput) PlanRuleCopyActionOutput
func (PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutput ¶
func (o PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutput() PlanRuleCopyActionArrayOutput
func (PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutputWithContext ¶
func (o PlanRuleCopyActionArrayOutput) ToPlanRuleCopyActionArrayOutputWithContext(ctx context.Context) PlanRuleCopyActionArrayOutput
type PlanRuleCopyActionInput ¶
type PlanRuleCopyActionInput interface {
pulumi.Input
ToPlanRuleCopyActionOutput() PlanRuleCopyActionOutput
ToPlanRuleCopyActionOutputWithContext(context.Context) PlanRuleCopyActionOutput
}
PlanRuleCopyActionInput is an input type that accepts PlanRuleCopyActionArgs and PlanRuleCopyActionOutput values. You can construct a concrete instance of `PlanRuleCopyActionInput` via:
PlanRuleCopyActionArgs{...}
type PlanRuleCopyActionLifecycle ¶
type PlanRuleCopyActionLifecycle struct {
// Specifies the number of days after creation that a recovery point is moved to cold storage.
ColdStorageAfter *int `pulumi:"coldStorageAfter"`
// Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
DeleteAfter *int `pulumi:"deleteAfter"`
// This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
OptInToArchiveForSupportedResources *bool `pulumi:"optInToArchiveForSupportedResources"`
}
type PlanRuleCopyActionLifecycleArgs ¶
type PlanRuleCopyActionLifecycleArgs struct {
// Specifies the number of days after creation that a recovery point is moved to cold storage.
ColdStorageAfter pulumi.IntPtrInput `pulumi:"coldStorageAfter"`
// Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
DeleteAfter pulumi.IntPtrInput `pulumi:"deleteAfter"`
// This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
OptInToArchiveForSupportedResources pulumi.BoolPtrInput `pulumi:"optInToArchiveForSupportedResources"`
}
func (PlanRuleCopyActionLifecycleArgs) ElementType ¶
func (PlanRuleCopyActionLifecycleArgs) ElementType() reflect.Type
func (PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutput ¶
func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutput() PlanRuleCopyActionLifecycleOutput
func (PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutputWithContext ¶
func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecycleOutput
func (PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutput ¶
func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
func (PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutputWithContext ¶
func (i PlanRuleCopyActionLifecycleArgs) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
type PlanRuleCopyActionLifecycleInput ¶
type PlanRuleCopyActionLifecycleInput interface {
pulumi.Input
ToPlanRuleCopyActionLifecycleOutput() PlanRuleCopyActionLifecycleOutput
ToPlanRuleCopyActionLifecycleOutputWithContext(context.Context) PlanRuleCopyActionLifecycleOutput
}
PlanRuleCopyActionLifecycleInput is an input type that accepts PlanRuleCopyActionLifecycleArgs and PlanRuleCopyActionLifecycleOutput values. You can construct a concrete instance of `PlanRuleCopyActionLifecycleInput` via:
PlanRuleCopyActionLifecycleArgs{...}
type PlanRuleCopyActionLifecycleOutput ¶
type PlanRuleCopyActionLifecycleOutput struct{ *pulumi.OutputState }
func (PlanRuleCopyActionLifecycleOutput) ColdStorageAfter ¶
func (o PlanRuleCopyActionLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleCopyActionLifecycleOutput) DeleteAfter ¶
func (o PlanRuleCopyActionLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleCopyActionLifecycleOutput) ElementType ¶
func (PlanRuleCopyActionLifecycleOutput) ElementType() reflect.Type
func (PlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources ¶
func (o PlanRuleCopyActionLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
func (PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutput ¶
func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutput() PlanRuleCopyActionLifecycleOutput
func (PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutputWithContext ¶
func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecycleOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecycleOutput
func (PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutput ¶
func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
func (PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext ¶
func (o PlanRuleCopyActionLifecycleOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
type PlanRuleCopyActionLifecyclePtrInput ¶
type PlanRuleCopyActionLifecyclePtrInput interface {
pulumi.Input
ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
ToPlanRuleCopyActionLifecyclePtrOutputWithContext(context.Context) PlanRuleCopyActionLifecyclePtrOutput
}
PlanRuleCopyActionLifecyclePtrInput is an input type that accepts PlanRuleCopyActionLifecycleArgs, PlanRuleCopyActionLifecyclePtr and PlanRuleCopyActionLifecyclePtrOutput values. You can construct a concrete instance of `PlanRuleCopyActionLifecyclePtrInput` via:
PlanRuleCopyActionLifecycleArgs{...}
or:
nil
func PlanRuleCopyActionLifecyclePtr ¶
func PlanRuleCopyActionLifecyclePtr(v *PlanRuleCopyActionLifecycleArgs) PlanRuleCopyActionLifecyclePtrInput
type PlanRuleCopyActionLifecyclePtrOutput ¶
type PlanRuleCopyActionLifecyclePtrOutput struct{ *pulumi.OutputState }
func (PlanRuleCopyActionLifecyclePtrOutput) ColdStorageAfter ¶
func (o PlanRuleCopyActionLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleCopyActionLifecyclePtrOutput) DeleteAfter ¶
func (o PlanRuleCopyActionLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleCopyActionLifecyclePtrOutput) ElementType ¶
func (PlanRuleCopyActionLifecyclePtrOutput) ElementType() reflect.Type
func (PlanRuleCopyActionLifecyclePtrOutput) OptInToArchiveForSupportedResources ¶
func (o PlanRuleCopyActionLifecyclePtrOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
func (PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutput ¶
func (o PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutput() PlanRuleCopyActionLifecyclePtrOutput
func (PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext ¶
func (o PlanRuleCopyActionLifecyclePtrOutput) ToPlanRuleCopyActionLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleCopyActionLifecyclePtrOutput
type PlanRuleCopyActionOutput ¶
type PlanRuleCopyActionOutput struct{ *pulumi.OutputState }
func (PlanRuleCopyActionOutput) DestinationVaultArn ¶
func (o PlanRuleCopyActionOutput) DestinationVaultArn() pulumi.StringOutput
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
func (PlanRuleCopyActionOutput) ElementType ¶
func (PlanRuleCopyActionOutput) ElementType() reflect.Type
func (PlanRuleCopyActionOutput) Lifecycle ¶
func (o PlanRuleCopyActionOutput) Lifecycle() PlanRuleCopyActionLifecyclePtrOutput
The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.
func (PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutput ¶
func (o PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutput() PlanRuleCopyActionOutput
func (PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutputWithContext ¶
func (o PlanRuleCopyActionOutput) ToPlanRuleCopyActionOutputWithContext(ctx context.Context) PlanRuleCopyActionOutput
type PlanRuleInput ¶
type PlanRuleInput interface {
pulumi.Input
ToPlanRuleOutput() PlanRuleOutput
ToPlanRuleOutputWithContext(context.Context) PlanRuleOutput
}
PlanRuleInput is an input type that accepts PlanRuleArgs and PlanRuleOutput values. You can construct a concrete instance of `PlanRuleInput` via:
PlanRuleArgs{...}
type PlanRuleLifecycle ¶
type PlanRuleLifecycle struct {
// Specifies the number of days after creation that a recovery point is moved to cold storage.
ColdStorageAfter *int `pulumi:"coldStorageAfter"`
// Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
DeleteAfter *int `pulumi:"deleteAfter"`
// This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
OptInToArchiveForSupportedResources *bool `pulumi:"optInToArchiveForSupportedResources"`
}
type PlanRuleLifecycleArgs ¶
type PlanRuleLifecycleArgs struct {
// Specifies the number of days after creation that a recovery point is moved to cold storage.
ColdStorageAfter pulumi.IntPtrInput `pulumi:"coldStorageAfter"`
// Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
DeleteAfter pulumi.IntPtrInput `pulumi:"deleteAfter"`
// This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
OptInToArchiveForSupportedResources pulumi.BoolPtrInput `pulumi:"optInToArchiveForSupportedResources"`
}
func (PlanRuleLifecycleArgs) ElementType ¶
func (PlanRuleLifecycleArgs) ElementType() reflect.Type
func (PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput ¶
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext ¶
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput ¶
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext ¶
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleLifecycleInput ¶
type PlanRuleLifecycleInput interface {
pulumi.Input
ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
ToPlanRuleLifecycleOutputWithContext(context.Context) PlanRuleLifecycleOutput
}
PlanRuleLifecycleInput is an input type that accepts PlanRuleLifecycleArgs and PlanRuleLifecycleOutput values. You can construct a concrete instance of `PlanRuleLifecycleInput` via:
PlanRuleLifecycleArgs{...}
type PlanRuleLifecycleOutput ¶
type PlanRuleLifecycleOutput struct{ *pulumi.OutputState }
func (PlanRuleLifecycleOutput) ColdStorageAfter ¶
func (o PlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleLifecycleOutput) DeleteAfter ¶
func (o PlanRuleLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleLifecycleOutput) ElementType ¶
func (PlanRuleLifecycleOutput) ElementType() reflect.Type
func (PlanRuleLifecycleOutput) OptInToArchiveForSupportedResources ¶
func (o PlanRuleLifecycleOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
func (PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput ¶
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext ¶
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput ¶
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext ¶
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleLifecyclePtrInput ¶
type PlanRuleLifecyclePtrInput interface {
pulumi.Input
ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
ToPlanRuleLifecyclePtrOutputWithContext(context.Context) PlanRuleLifecyclePtrOutput
}
PlanRuleLifecyclePtrInput is an input type that accepts PlanRuleLifecycleArgs, PlanRuleLifecyclePtr and PlanRuleLifecyclePtrOutput values. You can construct a concrete instance of `PlanRuleLifecyclePtrInput` via:
PlanRuleLifecycleArgs{...}
or:
nil
func PlanRuleLifecyclePtr ¶
func PlanRuleLifecyclePtr(v *PlanRuleLifecycleArgs) PlanRuleLifecyclePtrInput
type PlanRuleLifecyclePtrOutput ¶
type PlanRuleLifecyclePtrOutput struct{ *pulumi.OutputState }
func (PlanRuleLifecyclePtrOutput) ColdStorageAfter ¶
func (o PlanRuleLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleLifecyclePtrOutput) DeleteAfter ¶
func (o PlanRuleLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleLifecyclePtrOutput) Elem ¶
func (o PlanRuleLifecyclePtrOutput) Elem() PlanRuleLifecycleOutput
func (PlanRuleLifecyclePtrOutput) ElementType ¶
func (PlanRuleLifecyclePtrOutput) ElementType() reflect.Type
func (PlanRuleLifecyclePtrOutput) OptInToArchiveForSupportedResources ¶
func (o PlanRuleLifecyclePtrOutput) OptInToArchiveForSupportedResources() pulumi.BoolPtrOutput
This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
func (PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput ¶
func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext ¶
func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleOutput ¶
type PlanRuleOutput struct{ *pulumi.OutputState }
func (PlanRuleOutput) CompletionWindow ¶
func (o PlanRuleOutput) CompletionWindow() pulumi.IntPtrOutput
The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.
func (PlanRuleOutput) CopyActions ¶
func (o PlanRuleOutput) CopyActions() PlanRuleCopyActionArrayOutput
Configuration block(s) with copy operation settings. Detailed below.
func (PlanRuleOutput) ElementType ¶
func (PlanRuleOutput) ElementType() reflect.Type
func (PlanRuleOutput) EnableContinuousBackup ¶
func (o PlanRuleOutput) EnableContinuousBackup() pulumi.BoolPtrOutput
Enable continuous backups for supported resources.
func (PlanRuleOutput) Lifecycle ¶
func (o PlanRuleOutput) Lifecycle() PlanRuleLifecyclePtrOutput
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below.
func (PlanRuleOutput) RecoveryPointTags ¶
func (o PlanRuleOutput) RecoveryPointTags() pulumi.StringMapOutput
Metadata that you can assign to help organize the resources that you create.
func (PlanRuleOutput) RuleName ¶
func (o PlanRuleOutput) RuleName() pulumi.StringOutput
An display name for a backup rule.
func (PlanRuleOutput) Schedule ¶
func (o PlanRuleOutput) Schedule() pulumi.StringPtrOutput
A CRON expression specifying when AWS Backup initiates a backup job.
func (PlanRuleOutput) ScheduleExpressionTimezone ¶
func (o PlanRuleOutput) ScheduleExpressionTimezone() pulumi.StringPtrOutput
The timezone in which the schedule expression is set. Default value: `"Etc/UTC"`.
func (PlanRuleOutput) StartWindow ¶
func (o PlanRuleOutput) StartWindow() pulumi.IntPtrOutput
The amount of time in minutes before beginning a backup.
func (PlanRuleOutput) TargetVaultName ¶
func (o PlanRuleOutput) TargetVaultName() pulumi.StringOutput
The name of a logical container where backups are stored.
func (PlanRuleOutput) ToPlanRuleOutput ¶
func (o PlanRuleOutput) ToPlanRuleOutput() PlanRuleOutput
func (PlanRuleOutput) ToPlanRuleOutputWithContext ¶
func (o PlanRuleOutput) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
type PlanState ¶
type PlanState struct {
// An object that specifies backup options for each resource type.
AdvancedBackupSettings PlanAdvancedBackupSettingArrayInput
// The ARN of the backup plan.
Arn pulumi.StringPtrInput
// The display name of a backup plan.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// A rule object that specifies a scheduled task that is used to back up a selection of resources.
Rules PlanRuleArrayInput
// Metadata that you can assign to help organize the plans you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
// Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
Version pulumi.StringPtrInput
}
func (PlanState) ElementType ¶
type RegionSettings ¶
type RegionSettings struct {
pulumi.CustomResourceState
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// A map of service names to their full management preferences for the Region. For more information, see the AWS Documentation on [what full management is](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management) and [which services support full management](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource).
ResourceTypeManagementPreference pulumi.BoolMapOutput `pulumi:"resourceTypeManagementPreference"`
// A map of service names to their opt-in preferences for the Region. See [AWS Documentation on which services support backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html).
ResourceTypeOptInPreference pulumi.BoolMapOutput `pulumi:"resourceTypeOptInPreference"`
}
Provides an AWS Backup Region Settings resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRegionSettings(ctx, "test", &backup.RegionSettingsArgs{
ResourceTypeOptInPreference: pulumi.BoolMap{
"Aurora": pulumi.Bool(true),
"CloudFormation": pulumi.Bool(true),
"DocumentDB": pulumi.Bool(true),
"DSQL": pulumi.Bool(true),
"DynamoDB": pulumi.Bool(true),
"EBS": pulumi.Bool(true),
"EC2": pulumi.Bool(true),
"EFS": pulumi.Bool(true),
"FSx": pulumi.Bool(true),
"Neptune": pulumi.Bool(true),
"Redshift": pulumi.Bool(true),
"Redshift Serverless": pulumi.Bool(false),
"RDS": pulumi.Bool(false),
"S3": pulumi.Bool(false),
"SAP HANA on Amazon EC2": pulumi.Bool(false),
"Storage Gateway": pulumi.Bool(false),
"VirtualMachine": pulumi.Bool(false),
},
ResourceTypeManagementPreference: pulumi.BoolMap{
"CloudFormation": pulumi.Bool(true),
"DSQL": pulumi.Bool(true),
"DynamoDB": pulumi.Bool(false),
"EFS": pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Region Settings using the `region`. For example:
```sh $ pulumi import aws:backup/regionSettings:RegionSettings test us-west-2 ```
func GetRegionSettings ¶
func GetRegionSettings(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionSettingsState, opts ...pulumi.ResourceOption) (*RegionSettings, error)
GetRegionSettings gets an existing RegionSettings 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 NewRegionSettings ¶
func NewRegionSettings(ctx *pulumi.Context, name string, args *RegionSettingsArgs, opts ...pulumi.ResourceOption) (*RegionSettings, error)
NewRegionSettings registers a new resource with the given unique name, arguments, and options.
func (*RegionSettings) ElementType ¶
func (*RegionSettings) ElementType() reflect.Type
func (*RegionSettings) ToRegionSettingsOutput ¶
func (i *RegionSettings) ToRegionSettingsOutput() RegionSettingsOutput
func (*RegionSettings) ToRegionSettingsOutputWithContext ¶
func (i *RegionSettings) ToRegionSettingsOutputWithContext(ctx context.Context) RegionSettingsOutput
type RegionSettingsArgs ¶
type RegionSettingsArgs struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// A map of service names to their full management preferences for the Region. For more information, see the AWS Documentation on [what full management is](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management) and [which services support full management](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource).
ResourceTypeManagementPreference pulumi.BoolMapInput
// A map of service names to their opt-in preferences for the Region. See [AWS Documentation on which services support backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html).
ResourceTypeOptInPreference pulumi.BoolMapInput
}
The set of arguments for constructing a RegionSettings resource.
func (RegionSettingsArgs) ElementType ¶
func (RegionSettingsArgs) ElementType() reflect.Type
type RegionSettingsArray ¶
type RegionSettingsArray []RegionSettingsInput
func (RegionSettingsArray) ElementType ¶
func (RegionSettingsArray) ElementType() reflect.Type
func (RegionSettingsArray) ToRegionSettingsArrayOutput ¶
func (i RegionSettingsArray) ToRegionSettingsArrayOutput() RegionSettingsArrayOutput
func (RegionSettingsArray) ToRegionSettingsArrayOutputWithContext ¶
func (i RegionSettingsArray) ToRegionSettingsArrayOutputWithContext(ctx context.Context) RegionSettingsArrayOutput
type RegionSettingsArrayInput ¶
type RegionSettingsArrayInput interface {
pulumi.Input
ToRegionSettingsArrayOutput() RegionSettingsArrayOutput
ToRegionSettingsArrayOutputWithContext(context.Context) RegionSettingsArrayOutput
}
RegionSettingsArrayInput is an input type that accepts RegionSettingsArray and RegionSettingsArrayOutput values. You can construct a concrete instance of `RegionSettingsArrayInput` via:
RegionSettingsArray{ RegionSettingsArgs{...} }
type RegionSettingsArrayOutput ¶
type RegionSettingsArrayOutput struct{ *pulumi.OutputState }
func (RegionSettingsArrayOutput) ElementType ¶
func (RegionSettingsArrayOutput) ElementType() reflect.Type
func (RegionSettingsArrayOutput) Index ¶
func (o RegionSettingsArrayOutput) Index(i pulumi.IntInput) RegionSettingsOutput
func (RegionSettingsArrayOutput) ToRegionSettingsArrayOutput ¶
func (o RegionSettingsArrayOutput) ToRegionSettingsArrayOutput() RegionSettingsArrayOutput
func (RegionSettingsArrayOutput) ToRegionSettingsArrayOutputWithContext ¶
func (o RegionSettingsArrayOutput) ToRegionSettingsArrayOutputWithContext(ctx context.Context) RegionSettingsArrayOutput
type RegionSettingsInput ¶
type RegionSettingsInput interface {
pulumi.Input
ToRegionSettingsOutput() RegionSettingsOutput
ToRegionSettingsOutputWithContext(ctx context.Context) RegionSettingsOutput
}
type RegionSettingsMap ¶
type RegionSettingsMap map[string]RegionSettingsInput
func (RegionSettingsMap) ElementType ¶
func (RegionSettingsMap) ElementType() reflect.Type
func (RegionSettingsMap) ToRegionSettingsMapOutput ¶
func (i RegionSettingsMap) ToRegionSettingsMapOutput() RegionSettingsMapOutput
func (RegionSettingsMap) ToRegionSettingsMapOutputWithContext ¶
func (i RegionSettingsMap) ToRegionSettingsMapOutputWithContext(ctx context.Context) RegionSettingsMapOutput
type RegionSettingsMapInput ¶
type RegionSettingsMapInput interface {
pulumi.Input
ToRegionSettingsMapOutput() RegionSettingsMapOutput
ToRegionSettingsMapOutputWithContext(context.Context) RegionSettingsMapOutput
}
RegionSettingsMapInput is an input type that accepts RegionSettingsMap and RegionSettingsMapOutput values. You can construct a concrete instance of `RegionSettingsMapInput` via:
RegionSettingsMap{ "key": RegionSettingsArgs{...} }
type RegionSettingsMapOutput ¶
type RegionSettingsMapOutput struct{ *pulumi.OutputState }
func (RegionSettingsMapOutput) ElementType ¶
func (RegionSettingsMapOutput) ElementType() reflect.Type
func (RegionSettingsMapOutput) MapIndex ¶
func (o RegionSettingsMapOutput) MapIndex(k pulumi.StringInput) RegionSettingsOutput
func (RegionSettingsMapOutput) ToRegionSettingsMapOutput ¶
func (o RegionSettingsMapOutput) ToRegionSettingsMapOutput() RegionSettingsMapOutput
func (RegionSettingsMapOutput) ToRegionSettingsMapOutputWithContext ¶
func (o RegionSettingsMapOutput) ToRegionSettingsMapOutputWithContext(ctx context.Context) RegionSettingsMapOutput
type RegionSettingsOutput ¶
type RegionSettingsOutput struct{ *pulumi.OutputState }
func (RegionSettingsOutput) ElementType ¶
func (RegionSettingsOutput) ElementType() reflect.Type
func (RegionSettingsOutput) Region ¶
func (o RegionSettingsOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (RegionSettingsOutput) ResourceTypeManagementPreference ¶
func (o RegionSettingsOutput) ResourceTypeManagementPreference() pulumi.BoolMapOutput
A map of service names to their full management preferences for the Region. For more information, see the AWS Documentation on [what full management is](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management) and [which services support full management](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource).
func (RegionSettingsOutput) ResourceTypeOptInPreference ¶
func (o RegionSettingsOutput) ResourceTypeOptInPreference() pulumi.BoolMapOutput
A map of service names to their opt-in preferences for the Region. See [AWS Documentation on which services support backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html).
func (RegionSettingsOutput) ToRegionSettingsOutput ¶
func (o RegionSettingsOutput) ToRegionSettingsOutput() RegionSettingsOutput
func (RegionSettingsOutput) ToRegionSettingsOutputWithContext ¶
func (o RegionSettingsOutput) ToRegionSettingsOutputWithContext(ctx context.Context) RegionSettingsOutput
type RegionSettingsState ¶
type RegionSettingsState struct {
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// A map of service names to their full management preferences for the Region. For more information, see the AWS Documentation on [what full management is](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management) and [which services support full management](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource).
ResourceTypeManagementPreference pulumi.BoolMapInput
// A map of service names to their opt-in preferences for the Region. See [AWS Documentation on which services support backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html).
ResourceTypeOptInPreference pulumi.BoolMapInput
}
func (RegionSettingsState) ElementType ¶
func (RegionSettingsState) ElementType() reflect.Type
type ReportPlan ¶
type ReportPlan struct {
pulumi.CustomResourceState
// The ARN of the backup report plan.
Arn pulumi.StringOutput `pulumi:"arn"`
// The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime pulumi.StringOutput `pulumi:"creationTime"`
// The deployment status of a report plan. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`.
DeploymentStatus pulumi.StringOutput `pulumi:"deploymentStatus"`
// The description of the report plan with a maximum of 1,024 characters
Description pulumi.StringPtrOutput `pulumi:"description"`
// The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringOutput `pulumi:"name"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
ReportDeliveryChannel ReportPlanReportDeliveryChannelOutput `pulumi:"reportDeliveryChannel"`
// An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
ReportSetting ReportPlanReportSettingOutput `pulumi:"reportSetting"`
// Metadata that you can assign to help organize the report plans you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an AWS Backup Report Plan resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewReportPlan(ctx, "example", &backup.ReportPlanArgs{
Name: pulumi.String("example_name"),
Description: pulumi.String("example description"),
ReportDeliveryChannel: &backup.ReportPlanReportDeliveryChannelArgs{
Formats: pulumi.StringArray{
pulumi.String("CSV"),
pulumi.String("JSON"),
},
S3BucketName: pulumi.String("example-bucket-name"),
},
ReportSetting: &backup.ReportPlanReportSettingArgs{
ReportTemplate: pulumi.String("RESTORE_JOB_REPORT"),
},
Tags: pulumi.StringMap{
"Name": pulumi.String("Example Report Plan"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Report Plan using the `id` which corresponds to the name of the Backup Report Plan. For example:
```sh $ pulumi import aws:backup/reportPlan:ReportPlan test <id> ```
func GetReportPlan ¶
func GetReportPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReportPlanState, opts ...pulumi.ResourceOption) (*ReportPlan, error)
GetReportPlan gets an existing ReportPlan 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 NewReportPlan ¶
func NewReportPlan(ctx *pulumi.Context, name string, args *ReportPlanArgs, opts ...pulumi.ResourceOption) (*ReportPlan, error)
NewReportPlan registers a new resource with the given unique name, arguments, and options.
func (*ReportPlan) ElementType ¶
func (*ReportPlan) ElementType() reflect.Type
func (*ReportPlan) ToReportPlanOutput ¶
func (i *ReportPlan) ToReportPlanOutput() ReportPlanOutput
func (*ReportPlan) ToReportPlanOutputWithContext ¶
func (i *ReportPlan) ToReportPlanOutputWithContext(ctx context.Context) ReportPlanOutput
type ReportPlanArgs ¶
type ReportPlanArgs struct {
// The description of the report plan with a maximum of 1,024 characters
Description pulumi.StringPtrInput
// The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
ReportDeliveryChannel ReportPlanReportDeliveryChannelInput
// An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
ReportSetting ReportPlanReportSettingInput
// Metadata that you can assign to help organize the report plans you create. 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 ReportPlan resource.
func (ReportPlanArgs) ElementType ¶
func (ReportPlanArgs) ElementType() reflect.Type
type ReportPlanArray ¶
type ReportPlanArray []ReportPlanInput
func (ReportPlanArray) ElementType ¶
func (ReportPlanArray) ElementType() reflect.Type
func (ReportPlanArray) ToReportPlanArrayOutput ¶
func (i ReportPlanArray) ToReportPlanArrayOutput() ReportPlanArrayOutput
func (ReportPlanArray) ToReportPlanArrayOutputWithContext ¶
func (i ReportPlanArray) ToReportPlanArrayOutputWithContext(ctx context.Context) ReportPlanArrayOutput
type ReportPlanArrayInput ¶
type ReportPlanArrayInput interface {
pulumi.Input
ToReportPlanArrayOutput() ReportPlanArrayOutput
ToReportPlanArrayOutputWithContext(context.Context) ReportPlanArrayOutput
}
ReportPlanArrayInput is an input type that accepts ReportPlanArray and ReportPlanArrayOutput values. You can construct a concrete instance of `ReportPlanArrayInput` via:
ReportPlanArray{ ReportPlanArgs{...} }
type ReportPlanArrayOutput ¶
type ReportPlanArrayOutput struct{ *pulumi.OutputState }
func (ReportPlanArrayOutput) ElementType ¶
func (ReportPlanArrayOutput) ElementType() reflect.Type
func (ReportPlanArrayOutput) Index ¶
func (o ReportPlanArrayOutput) Index(i pulumi.IntInput) ReportPlanOutput
func (ReportPlanArrayOutput) ToReportPlanArrayOutput ¶
func (o ReportPlanArrayOutput) ToReportPlanArrayOutput() ReportPlanArrayOutput
func (ReportPlanArrayOutput) ToReportPlanArrayOutputWithContext ¶
func (o ReportPlanArrayOutput) ToReportPlanArrayOutputWithContext(ctx context.Context) ReportPlanArrayOutput
type ReportPlanInput ¶
type ReportPlanInput interface {
pulumi.Input
ToReportPlanOutput() ReportPlanOutput
ToReportPlanOutputWithContext(ctx context.Context) ReportPlanOutput
}
type ReportPlanMap ¶
type ReportPlanMap map[string]ReportPlanInput
func (ReportPlanMap) ElementType ¶
func (ReportPlanMap) ElementType() reflect.Type
func (ReportPlanMap) ToReportPlanMapOutput ¶
func (i ReportPlanMap) ToReportPlanMapOutput() ReportPlanMapOutput
func (ReportPlanMap) ToReportPlanMapOutputWithContext ¶
func (i ReportPlanMap) ToReportPlanMapOutputWithContext(ctx context.Context) ReportPlanMapOutput
type ReportPlanMapInput ¶
type ReportPlanMapInput interface {
pulumi.Input
ToReportPlanMapOutput() ReportPlanMapOutput
ToReportPlanMapOutputWithContext(context.Context) ReportPlanMapOutput
}
ReportPlanMapInput is an input type that accepts ReportPlanMap and ReportPlanMapOutput values. You can construct a concrete instance of `ReportPlanMapInput` via:
ReportPlanMap{ "key": ReportPlanArgs{...} }
type ReportPlanMapOutput ¶
type ReportPlanMapOutput struct{ *pulumi.OutputState }
func (ReportPlanMapOutput) ElementType ¶
func (ReportPlanMapOutput) ElementType() reflect.Type
func (ReportPlanMapOutput) MapIndex ¶
func (o ReportPlanMapOutput) MapIndex(k pulumi.StringInput) ReportPlanOutput
func (ReportPlanMapOutput) ToReportPlanMapOutput ¶
func (o ReportPlanMapOutput) ToReportPlanMapOutput() ReportPlanMapOutput
func (ReportPlanMapOutput) ToReportPlanMapOutputWithContext ¶
func (o ReportPlanMapOutput) ToReportPlanMapOutputWithContext(ctx context.Context) ReportPlanMapOutput
type ReportPlanOutput ¶
type ReportPlanOutput struct{ *pulumi.OutputState }
func (ReportPlanOutput) Arn ¶
func (o ReportPlanOutput) Arn() pulumi.StringOutput
The ARN of the backup report plan.
func (ReportPlanOutput) CreationTime ¶
func (o ReportPlanOutput) CreationTime() pulumi.StringOutput
The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
func (ReportPlanOutput) DeploymentStatus ¶
func (o ReportPlanOutput) DeploymentStatus() pulumi.StringOutput
The deployment status of a report plan. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`.
func (ReportPlanOutput) Description ¶
func (o ReportPlanOutput) Description() pulumi.StringPtrOutput
The description of the report plan with a maximum of 1,024 characters
func (ReportPlanOutput) ElementType ¶
func (ReportPlanOutput) ElementType() reflect.Type
func (ReportPlanOutput) Name ¶
func (o ReportPlanOutput) Name() pulumi.StringOutput
The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
func (ReportPlanOutput) Region ¶
func (o ReportPlanOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (ReportPlanOutput) ReportDeliveryChannel ¶
func (o ReportPlanOutput) ReportDeliveryChannel() ReportPlanReportDeliveryChannelOutput
An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
func (ReportPlanOutput) ReportSetting ¶
func (o ReportPlanOutput) ReportSetting() ReportPlanReportSettingOutput
An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
func (ReportPlanOutput) Tags ¶
func (o ReportPlanOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the report plans you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ReportPlanOutput) TagsAll ¶
func (o ReportPlanOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ReportPlanOutput) ToReportPlanOutput ¶
func (o ReportPlanOutput) ToReportPlanOutput() ReportPlanOutput
func (ReportPlanOutput) ToReportPlanOutputWithContext ¶
func (o ReportPlanOutput) ToReportPlanOutputWithContext(ctx context.Context) ReportPlanOutput
type ReportPlanReportDeliveryChannel ¶
type ReportPlanReportDeliveryChannel struct {
// A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.
Formats []string `pulumi:"formats"`
// The unique name of the S3 bucket that receives your reports.
S3BucketName string `pulumi:"s3BucketName"`
// The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
S3KeyPrefix *string `pulumi:"s3KeyPrefix"`
}
type ReportPlanReportDeliveryChannelArgs ¶
type ReportPlanReportDeliveryChannelArgs struct {
// A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.
Formats pulumi.StringArrayInput `pulumi:"formats"`
// The unique name of the S3 bucket that receives your reports.
S3BucketName pulumi.StringInput `pulumi:"s3BucketName"`
// The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"`
}
func (ReportPlanReportDeliveryChannelArgs) ElementType ¶
func (ReportPlanReportDeliveryChannelArgs) ElementType() reflect.Type
func (ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutput ¶
func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutput() ReportPlanReportDeliveryChannelOutput
func (ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutputWithContext ¶
func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelOutput
func (ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutput ¶
func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
func (ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutputWithContext ¶
func (i ReportPlanReportDeliveryChannelArgs) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
type ReportPlanReportDeliveryChannelInput ¶
type ReportPlanReportDeliveryChannelInput interface {
pulumi.Input
ToReportPlanReportDeliveryChannelOutput() ReportPlanReportDeliveryChannelOutput
ToReportPlanReportDeliveryChannelOutputWithContext(context.Context) ReportPlanReportDeliveryChannelOutput
}
ReportPlanReportDeliveryChannelInput is an input type that accepts ReportPlanReportDeliveryChannelArgs and ReportPlanReportDeliveryChannelOutput values. You can construct a concrete instance of `ReportPlanReportDeliveryChannelInput` via:
ReportPlanReportDeliveryChannelArgs{...}
type ReportPlanReportDeliveryChannelOutput ¶
type ReportPlanReportDeliveryChannelOutput struct{ *pulumi.OutputState }
func (ReportPlanReportDeliveryChannelOutput) ElementType ¶
func (ReportPlanReportDeliveryChannelOutput) ElementType() reflect.Type
func (ReportPlanReportDeliveryChannelOutput) Formats ¶
func (o ReportPlanReportDeliveryChannelOutput) Formats() pulumi.StringArrayOutput
A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.
func (ReportPlanReportDeliveryChannelOutput) S3BucketName ¶
func (o ReportPlanReportDeliveryChannelOutput) S3BucketName() pulumi.StringOutput
The unique name of the S3 bucket that receives your reports.
func (ReportPlanReportDeliveryChannelOutput) S3KeyPrefix ¶
func (o ReportPlanReportDeliveryChannelOutput) S3KeyPrefix() pulumi.StringPtrOutput
The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
func (ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutput ¶
func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutput() ReportPlanReportDeliveryChannelOutput
func (ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutputWithContext ¶
func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelOutput
func (ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutput ¶
func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
func (ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext ¶
func (o ReportPlanReportDeliveryChannelOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
type ReportPlanReportDeliveryChannelPtrInput ¶
type ReportPlanReportDeliveryChannelPtrInput interface {
pulumi.Input
ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
ToReportPlanReportDeliveryChannelPtrOutputWithContext(context.Context) ReportPlanReportDeliveryChannelPtrOutput
}
ReportPlanReportDeliveryChannelPtrInput is an input type that accepts ReportPlanReportDeliveryChannelArgs, ReportPlanReportDeliveryChannelPtr and ReportPlanReportDeliveryChannelPtrOutput values. You can construct a concrete instance of `ReportPlanReportDeliveryChannelPtrInput` via:
ReportPlanReportDeliveryChannelArgs{...}
or:
nil
func ReportPlanReportDeliveryChannelPtr ¶
func ReportPlanReportDeliveryChannelPtr(v *ReportPlanReportDeliveryChannelArgs) ReportPlanReportDeliveryChannelPtrInput
type ReportPlanReportDeliveryChannelPtrOutput ¶
type ReportPlanReportDeliveryChannelPtrOutput struct{ *pulumi.OutputState }
func (ReportPlanReportDeliveryChannelPtrOutput) ElementType ¶
func (ReportPlanReportDeliveryChannelPtrOutput) ElementType() reflect.Type
func (ReportPlanReportDeliveryChannelPtrOutput) Formats ¶
func (o ReportPlanReportDeliveryChannelPtrOutput) Formats() pulumi.StringArrayOutput
A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.
func (ReportPlanReportDeliveryChannelPtrOutput) S3BucketName ¶
func (o ReportPlanReportDeliveryChannelPtrOutput) S3BucketName() pulumi.StringPtrOutput
The unique name of the S3 bucket that receives your reports.
func (ReportPlanReportDeliveryChannelPtrOutput) S3KeyPrefix ¶
func (o ReportPlanReportDeliveryChannelPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
The prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
func (ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutput ¶
func (o ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutput() ReportPlanReportDeliveryChannelPtrOutput
func (ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext ¶
func (o ReportPlanReportDeliveryChannelPtrOutput) ToReportPlanReportDeliveryChannelPtrOutputWithContext(ctx context.Context) ReportPlanReportDeliveryChannelPtrOutput
type ReportPlanReportSetting ¶
type ReportPlanReportSetting struct {
// Specifies the list of accounts a report covers.
Accounts []string `pulumi:"accounts"`
// Specifies the Amazon Resource Names (ARNs) of the frameworks a report covers.
FrameworkArns []string `pulumi:"frameworkArns"`
// Specifies the number of frameworks a report covers.
NumberOfFrameworks *int `pulumi:"numberOfFrameworks"`
// Specifies the list of Organizational Units a report covers.
OrganizationUnits []string `pulumi:"organizationUnits"`
// Specifies the list of regions a report covers.
Regions []string `pulumi:"regions"`
// Identifies the report template for the report. Reports are built using a report template. The report templates are: `RESOURCE_COMPLIANCE_REPORT` | `CONTROL_COMPLIANCE_REPORT` | `BACKUP_JOB_REPORT` | `COPY_JOB_REPORT` | `RESTORE_JOB_REPORT`.
ReportTemplate string `pulumi:"reportTemplate"`
}
type ReportPlanReportSettingArgs ¶
type ReportPlanReportSettingArgs struct {
// Specifies the list of accounts a report covers.
Accounts pulumi.StringArrayInput `pulumi:"accounts"`
// Specifies the Amazon Resource Names (ARNs) of the frameworks a report covers.
FrameworkArns pulumi.StringArrayInput `pulumi:"frameworkArns"`
// Specifies the number of frameworks a report covers.
NumberOfFrameworks pulumi.IntPtrInput `pulumi:"numberOfFrameworks"`
// Specifies the list of Organizational Units a report covers.
OrganizationUnits pulumi.StringArrayInput `pulumi:"organizationUnits"`
// Specifies the list of regions a report covers.
Regions pulumi.StringArrayInput `pulumi:"regions"`
// Identifies the report template for the report. Reports are built using a report template. The report templates are: `RESOURCE_COMPLIANCE_REPORT` | `CONTROL_COMPLIANCE_REPORT` | `BACKUP_JOB_REPORT` | `COPY_JOB_REPORT` | `RESTORE_JOB_REPORT`.
ReportTemplate pulumi.StringInput `pulumi:"reportTemplate"`
}
func (ReportPlanReportSettingArgs) ElementType ¶
func (ReportPlanReportSettingArgs) ElementType() reflect.Type
func (ReportPlanReportSettingArgs) ToReportPlanReportSettingOutput ¶
func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingOutput() ReportPlanReportSettingOutput
func (ReportPlanReportSettingArgs) ToReportPlanReportSettingOutputWithContext ¶
func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingOutputWithContext(ctx context.Context) ReportPlanReportSettingOutput
func (ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutput ¶
func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
func (ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutputWithContext ¶
func (i ReportPlanReportSettingArgs) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
type ReportPlanReportSettingInput ¶
type ReportPlanReportSettingInput interface {
pulumi.Input
ToReportPlanReportSettingOutput() ReportPlanReportSettingOutput
ToReportPlanReportSettingOutputWithContext(context.Context) ReportPlanReportSettingOutput
}
ReportPlanReportSettingInput is an input type that accepts ReportPlanReportSettingArgs and ReportPlanReportSettingOutput values. You can construct a concrete instance of `ReportPlanReportSettingInput` via:
ReportPlanReportSettingArgs{...}
type ReportPlanReportSettingOutput ¶
type ReportPlanReportSettingOutput struct{ *pulumi.OutputState }
func (ReportPlanReportSettingOutput) Accounts ¶
func (o ReportPlanReportSettingOutput) Accounts() pulumi.StringArrayOutput
Specifies the list of accounts a report covers.
func (ReportPlanReportSettingOutput) ElementType ¶
func (ReportPlanReportSettingOutput) ElementType() reflect.Type
func (ReportPlanReportSettingOutput) FrameworkArns ¶
func (o ReportPlanReportSettingOutput) FrameworkArns() pulumi.StringArrayOutput
Specifies the Amazon Resource Names (ARNs) of the frameworks a report covers.
func (ReportPlanReportSettingOutput) NumberOfFrameworks ¶
func (o ReportPlanReportSettingOutput) NumberOfFrameworks() pulumi.IntPtrOutput
Specifies the number of frameworks a report covers.
func (ReportPlanReportSettingOutput) OrganizationUnits ¶
func (o ReportPlanReportSettingOutput) OrganizationUnits() pulumi.StringArrayOutput
Specifies the list of Organizational Units a report covers.
func (ReportPlanReportSettingOutput) Regions ¶
func (o ReportPlanReportSettingOutput) Regions() pulumi.StringArrayOutput
Specifies the list of regions a report covers.
func (ReportPlanReportSettingOutput) ReportTemplate ¶
func (o ReportPlanReportSettingOutput) ReportTemplate() pulumi.StringOutput
Identifies the report template for the report. Reports are built using a report template. The report templates are: `RESOURCE_COMPLIANCE_REPORT` | `CONTROL_COMPLIANCE_REPORT` | `BACKUP_JOB_REPORT` | `COPY_JOB_REPORT` | `RESTORE_JOB_REPORT`.
func (ReportPlanReportSettingOutput) ToReportPlanReportSettingOutput ¶
func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingOutput() ReportPlanReportSettingOutput
func (ReportPlanReportSettingOutput) ToReportPlanReportSettingOutputWithContext ¶
func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingOutputWithContext(ctx context.Context) ReportPlanReportSettingOutput
func (ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutput ¶
func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
func (ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutputWithContext ¶
func (o ReportPlanReportSettingOutput) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
type ReportPlanReportSettingPtrInput ¶
type ReportPlanReportSettingPtrInput interface {
pulumi.Input
ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
ToReportPlanReportSettingPtrOutputWithContext(context.Context) ReportPlanReportSettingPtrOutput
}
ReportPlanReportSettingPtrInput is an input type that accepts ReportPlanReportSettingArgs, ReportPlanReportSettingPtr and ReportPlanReportSettingPtrOutput values. You can construct a concrete instance of `ReportPlanReportSettingPtrInput` via:
ReportPlanReportSettingArgs{...}
or:
nil
func ReportPlanReportSettingPtr ¶
func ReportPlanReportSettingPtr(v *ReportPlanReportSettingArgs) ReportPlanReportSettingPtrInput
type ReportPlanReportSettingPtrOutput ¶
type ReportPlanReportSettingPtrOutput struct{ *pulumi.OutputState }
func (ReportPlanReportSettingPtrOutput) Accounts ¶
func (o ReportPlanReportSettingPtrOutput) Accounts() pulumi.StringArrayOutput
Specifies the list of accounts a report covers.
func (ReportPlanReportSettingPtrOutput) Elem ¶
func (o ReportPlanReportSettingPtrOutput) Elem() ReportPlanReportSettingOutput
func (ReportPlanReportSettingPtrOutput) ElementType ¶
func (ReportPlanReportSettingPtrOutput) ElementType() reflect.Type
func (ReportPlanReportSettingPtrOutput) FrameworkArns ¶
func (o ReportPlanReportSettingPtrOutput) FrameworkArns() pulumi.StringArrayOutput
Specifies the Amazon Resource Names (ARNs) of the frameworks a report covers.
func (ReportPlanReportSettingPtrOutput) NumberOfFrameworks ¶
func (o ReportPlanReportSettingPtrOutput) NumberOfFrameworks() pulumi.IntPtrOutput
Specifies the number of frameworks a report covers.
func (ReportPlanReportSettingPtrOutput) OrganizationUnits ¶
func (o ReportPlanReportSettingPtrOutput) OrganizationUnits() pulumi.StringArrayOutput
Specifies the list of Organizational Units a report covers.
func (ReportPlanReportSettingPtrOutput) Regions ¶
func (o ReportPlanReportSettingPtrOutput) Regions() pulumi.StringArrayOutput
Specifies the list of regions a report covers.
func (ReportPlanReportSettingPtrOutput) ReportTemplate ¶
func (o ReportPlanReportSettingPtrOutput) ReportTemplate() pulumi.StringPtrOutput
Identifies the report template for the report. Reports are built using a report template. The report templates are: `RESOURCE_COMPLIANCE_REPORT` | `CONTROL_COMPLIANCE_REPORT` | `BACKUP_JOB_REPORT` | `COPY_JOB_REPORT` | `RESTORE_JOB_REPORT`.
func (ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutput ¶
func (o ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutput() ReportPlanReportSettingPtrOutput
func (ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutputWithContext ¶
func (o ReportPlanReportSettingPtrOutput) ToReportPlanReportSettingPtrOutputWithContext(ctx context.Context) ReportPlanReportSettingPtrOutput
type ReportPlanState ¶
type ReportPlanState struct {
// The ARN of the backup report plan.
Arn pulumi.StringPtrInput
// The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
CreationTime pulumi.StringPtrInput
// The deployment status of a report plan. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` | `DELETE_IN_PROGRESS` | `COMPLETED`.
DeploymentStatus pulumi.StringPtrInput
// The description of the report plan with a maximum of 1,024 characters
Description pulumi.StringPtrInput
// The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
ReportDeliveryChannel ReportPlanReportDeliveryChannelPtrInput
// An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
ReportSetting ReportPlanReportSettingPtrInput
// Metadata that you can assign to help organize the report plans you create. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (ReportPlanState) ElementType ¶
func (ReportPlanState) ElementType() reflect.Type
type RestoreTestingPlan ¶
type RestoreTestingPlan struct {
pulumi.CustomResourceState
// ARN of the Restore Testing Plan.
Arn pulumi.StringOutput `pulumi:"arn"`
// The name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
Name pulumi.StringOutput `pulumi:"name"`
// Specifies the recovery point selection configuration. See RecoveryPointSelection section for more details.
RecoveryPointSelection RestoreTestingPlanRecoveryPointSelectionPtrOutput `pulumi:"recoveryPointSelection"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// The schedule expression for the restore testing plan.
ScheduleExpression pulumi.StringOutput `pulumi:"scheduleExpression"`
// The timezone for the schedule expression. If not provided, the state value will be used.
ScheduleExpressionTimezone pulumi.StringOutput `pulumi:"scheduleExpressionTimezone"`
// The number of hours in the start window for the restore testing plan. Must be between 1 and 168.
StartWindowHours pulumi.IntOutput `pulumi:"startWindowHours"`
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Resource for managing an AWS Backup Restore Testing Plan.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRestoreTestingPlan(ctx, "example", &backup.RestoreTestingPlanArgs{
Name: pulumi.String("example_restore_testing_plan"),
RecoveryPointSelection: &backup.RestoreTestingPlanRecoveryPointSelectionArgs{
Algorithm: pulumi.String("LATEST_WITHIN_WINDOW"),
IncludeVaults: pulumi.StringArray{
pulumi.String("*"),
},
RecoveryPointTypes: pulumi.StringArray{
pulumi.String("CONTINUOUS"),
},
},
ScheduleExpression: pulumi.String("cron(0 12 ? * * *)"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Restore Testing Plan using the `name`. For example:
```sh $ pulumi import aws:backup/restoreTestingPlan:RestoreTestingPlan example my_testing_plan ```
func GetRestoreTestingPlan ¶
func GetRestoreTestingPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestoreTestingPlanState, opts ...pulumi.ResourceOption) (*RestoreTestingPlan, error)
GetRestoreTestingPlan gets an existing RestoreTestingPlan 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 NewRestoreTestingPlan ¶
func NewRestoreTestingPlan(ctx *pulumi.Context, name string, args *RestoreTestingPlanArgs, opts ...pulumi.ResourceOption) (*RestoreTestingPlan, error)
NewRestoreTestingPlan registers a new resource with the given unique name, arguments, and options.
func (*RestoreTestingPlan) ElementType ¶
func (*RestoreTestingPlan) ElementType() reflect.Type
func (*RestoreTestingPlan) ToRestoreTestingPlanOutput ¶
func (i *RestoreTestingPlan) ToRestoreTestingPlanOutput() RestoreTestingPlanOutput
func (*RestoreTestingPlan) ToRestoreTestingPlanOutputWithContext ¶
func (i *RestoreTestingPlan) ToRestoreTestingPlanOutputWithContext(ctx context.Context) RestoreTestingPlanOutput
type RestoreTestingPlanArgs ¶
type RestoreTestingPlanArgs struct {
// The name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
Name pulumi.StringPtrInput
// Specifies the recovery point selection configuration. See RecoveryPointSelection section for more details.
RecoveryPointSelection RestoreTestingPlanRecoveryPointSelectionPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The schedule expression for the restore testing plan.
ScheduleExpression pulumi.StringInput
// The timezone for the schedule expression. If not provided, the state value will be used.
ScheduleExpressionTimezone pulumi.StringPtrInput
// The number of hours in the start window for the restore testing plan. Must be between 1 and 168.
StartWindowHours pulumi.IntPtrInput
Tags pulumi.StringMapInput
}
The set of arguments for constructing a RestoreTestingPlan resource.
func (RestoreTestingPlanArgs) ElementType ¶
func (RestoreTestingPlanArgs) ElementType() reflect.Type
type RestoreTestingPlanArray ¶
type RestoreTestingPlanArray []RestoreTestingPlanInput
func (RestoreTestingPlanArray) ElementType ¶
func (RestoreTestingPlanArray) ElementType() reflect.Type
func (RestoreTestingPlanArray) ToRestoreTestingPlanArrayOutput ¶
func (i RestoreTestingPlanArray) ToRestoreTestingPlanArrayOutput() RestoreTestingPlanArrayOutput
func (RestoreTestingPlanArray) ToRestoreTestingPlanArrayOutputWithContext ¶
func (i RestoreTestingPlanArray) ToRestoreTestingPlanArrayOutputWithContext(ctx context.Context) RestoreTestingPlanArrayOutput
type RestoreTestingPlanArrayInput ¶
type RestoreTestingPlanArrayInput interface {
pulumi.Input
ToRestoreTestingPlanArrayOutput() RestoreTestingPlanArrayOutput
ToRestoreTestingPlanArrayOutputWithContext(context.Context) RestoreTestingPlanArrayOutput
}
RestoreTestingPlanArrayInput is an input type that accepts RestoreTestingPlanArray and RestoreTestingPlanArrayOutput values. You can construct a concrete instance of `RestoreTestingPlanArrayInput` via:
RestoreTestingPlanArray{ RestoreTestingPlanArgs{...} }
type RestoreTestingPlanArrayOutput ¶
type RestoreTestingPlanArrayOutput struct{ *pulumi.OutputState }
func (RestoreTestingPlanArrayOutput) ElementType ¶
func (RestoreTestingPlanArrayOutput) ElementType() reflect.Type
func (RestoreTestingPlanArrayOutput) Index ¶
func (o RestoreTestingPlanArrayOutput) Index(i pulumi.IntInput) RestoreTestingPlanOutput
func (RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutput ¶
func (o RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutput() RestoreTestingPlanArrayOutput
func (RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutputWithContext ¶
func (o RestoreTestingPlanArrayOutput) ToRestoreTestingPlanArrayOutputWithContext(ctx context.Context) RestoreTestingPlanArrayOutput
type RestoreTestingPlanInput ¶
type RestoreTestingPlanInput interface {
pulumi.Input
ToRestoreTestingPlanOutput() RestoreTestingPlanOutput
ToRestoreTestingPlanOutputWithContext(ctx context.Context) RestoreTestingPlanOutput
}
type RestoreTestingPlanMap ¶
type RestoreTestingPlanMap map[string]RestoreTestingPlanInput
func (RestoreTestingPlanMap) ElementType ¶
func (RestoreTestingPlanMap) ElementType() reflect.Type
func (RestoreTestingPlanMap) ToRestoreTestingPlanMapOutput ¶
func (i RestoreTestingPlanMap) ToRestoreTestingPlanMapOutput() RestoreTestingPlanMapOutput
func (RestoreTestingPlanMap) ToRestoreTestingPlanMapOutputWithContext ¶
func (i RestoreTestingPlanMap) ToRestoreTestingPlanMapOutputWithContext(ctx context.Context) RestoreTestingPlanMapOutput
type RestoreTestingPlanMapInput ¶
type RestoreTestingPlanMapInput interface {
pulumi.Input
ToRestoreTestingPlanMapOutput() RestoreTestingPlanMapOutput
ToRestoreTestingPlanMapOutputWithContext(context.Context) RestoreTestingPlanMapOutput
}
RestoreTestingPlanMapInput is an input type that accepts RestoreTestingPlanMap and RestoreTestingPlanMapOutput values. You can construct a concrete instance of `RestoreTestingPlanMapInput` via:
RestoreTestingPlanMap{ "key": RestoreTestingPlanArgs{...} }
type RestoreTestingPlanMapOutput ¶
type RestoreTestingPlanMapOutput struct{ *pulumi.OutputState }
func (RestoreTestingPlanMapOutput) ElementType ¶
func (RestoreTestingPlanMapOutput) ElementType() reflect.Type
func (RestoreTestingPlanMapOutput) MapIndex ¶
func (o RestoreTestingPlanMapOutput) MapIndex(k pulumi.StringInput) RestoreTestingPlanOutput
func (RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutput ¶
func (o RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutput() RestoreTestingPlanMapOutput
func (RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutputWithContext ¶
func (o RestoreTestingPlanMapOutput) ToRestoreTestingPlanMapOutputWithContext(ctx context.Context) RestoreTestingPlanMapOutput
type RestoreTestingPlanOutput ¶
type RestoreTestingPlanOutput struct{ *pulumi.OutputState }
func (RestoreTestingPlanOutput) Arn ¶
func (o RestoreTestingPlanOutput) Arn() pulumi.StringOutput
ARN of the Restore Testing Plan.
func (RestoreTestingPlanOutput) ElementType ¶
func (RestoreTestingPlanOutput) ElementType() reflect.Type
func (RestoreTestingPlanOutput) Name ¶
func (o RestoreTestingPlanOutput) Name() pulumi.StringOutput
The name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
func (RestoreTestingPlanOutput) RecoveryPointSelection ¶
func (o RestoreTestingPlanOutput) RecoveryPointSelection() RestoreTestingPlanRecoveryPointSelectionPtrOutput
Specifies the recovery point selection configuration. See RecoveryPointSelection section for more details.
func (RestoreTestingPlanOutput) Region ¶
func (o RestoreTestingPlanOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (RestoreTestingPlanOutput) ScheduleExpression ¶
func (o RestoreTestingPlanOutput) ScheduleExpression() pulumi.StringOutput
The schedule expression for the restore testing plan.
func (RestoreTestingPlanOutput) ScheduleExpressionTimezone ¶
func (o RestoreTestingPlanOutput) ScheduleExpressionTimezone() pulumi.StringOutput
The timezone for the schedule expression. If not provided, the state value will be used.
func (RestoreTestingPlanOutput) StartWindowHours ¶
func (o RestoreTestingPlanOutput) StartWindowHours() pulumi.IntOutput
The number of hours in the start window for the restore testing plan. Must be between 1 and 168.
func (RestoreTestingPlanOutput) Tags ¶
func (o RestoreTestingPlanOutput) Tags() pulumi.StringMapOutput
func (RestoreTestingPlanOutput) TagsAll ¶
func (o RestoreTestingPlanOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (RestoreTestingPlanOutput) ToRestoreTestingPlanOutput ¶
func (o RestoreTestingPlanOutput) ToRestoreTestingPlanOutput() RestoreTestingPlanOutput
func (RestoreTestingPlanOutput) ToRestoreTestingPlanOutputWithContext ¶
func (o RestoreTestingPlanOutput) ToRestoreTestingPlanOutputWithContext(ctx context.Context) RestoreTestingPlanOutput
type RestoreTestingPlanRecoveryPointSelection ¶
type RestoreTestingPlanRecoveryPointSelection struct {
// Specifies the algorithm used for selecting recovery points. Valid values are "RANDOM_WITHIN_WINDOW" and "LATEST_WITHIN_WINDOW".
Algorithm string `pulumi:"algorithm"`
// Specifies the backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to exclude all backup vaults.
ExcludeVaults []string `pulumi:"excludeVaults"`
// Specifies the backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to include all backup vaults.
IncludeVaults []string `pulumi:"includeVaults"`
// Specifies the types of recovery points to include in the selection. Valid values are "CONTINUOUS" and "SNAPSHOT".
RecoveryPointTypes []string `pulumi:"recoveryPointTypes"`
// Specifies the number of days within which the recovery points should be selected. Must be a value between 1 and 365.
SelectionWindowDays *int `pulumi:"selectionWindowDays"`
}
type RestoreTestingPlanRecoveryPointSelectionArgs ¶
type RestoreTestingPlanRecoveryPointSelectionArgs struct {
// Specifies the algorithm used for selecting recovery points. Valid values are "RANDOM_WITHIN_WINDOW" and "LATEST_WITHIN_WINDOW".
Algorithm pulumi.StringInput `pulumi:"algorithm"`
// Specifies the backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to exclude all backup vaults.
ExcludeVaults pulumi.StringArrayInput `pulumi:"excludeVaults"`
// Specifies the backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to include all backup vaults.
IncludeVaults pulumi.StringArrayInput `pulumi:"includeVaults"`
// Specifies the types of recovery points to include in the selection. Valid values are "CONTINUOUS" and "SNAPSHOT".
RecoveryPointTypes pulumi.StringArrayInput `pulumi:"recoveryPointTypes"`
// Specifies the number of days within which the recovery points should be selected. Must be a value between 1 and 365.
SelectionWindowDays pulumi.IntPtrInput `pulumi:"selectionWindowDays"`
}
func (RestoreTestingPlanRecoveryPointSelectionArgs) ElementType ¶
func (RestoreTestingPlanRecoveryPointSelectionArgs) ElementType() reflect.Type
func (RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutput ¶
func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutput() RestoreTestingPlanRecoveryPointSelectionOutput
func (RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext ¶
func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionOutput
func (RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput ¶
func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
func (RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext ¶
func (i RestoreTestingPlanRecoveryPointSelectionArgs) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
type RestoreTestingPlanRecoveryPointSelectionInput ¶
type RestoreTestingPlanRecoveryPointSelectionInput interface {
pulumi.Input
ToRestoreTestingPlanRecoveryPointSelectionOutput() RestoreTestingPlanRecoveryPointSelectionOutput
ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext(context.Context) RestoreTestingPlanRecoveryPointSelectionOutput
}
RestoreTestingPlanRecoveryPointSelectionInput is an input type that accepts RestoreTestingPlanRecoveryPointSelectionArgs and RestoreTestingPlanRecoveryPointSelectionOutput values. You can construct a concrete instance of `RestoreTestingPlanRecoveryPointSelectionInput` via:
RestoreTestingPlanRecoveryPointSelectionArgs{...}
type RestoreTestingPlanRecoveryPointSelectionOutput ¶
type RestoreTestingPlanRecoveryPointSelectionOutput struct{ *pulumi.OutputState }
func (RestoreTestingPlanRecoveryPointSelectionOutput) Algorithm ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) Algorithm() pulumi.StringOutput
Specifies the algorithm used for selecting recovery points. Valid values are "RANDOM_WITHIN_WINDOW" and "LATEST_WITHIN_WINDOW".
func (RestoreTestingPlanRecoveryPointSelectionOutput) ElementType ¶
func (RestoreTestingPlanRecoveryPointSelectionOutput) ElementType() reflect.Type
func (RestoreTestingPlanRecoveryPointSelectionOutput) ExcludeVaults ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) ExcludeVaults() pulumi.StringArrayOutput
Specifies the backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to exclude all backup vaults.
func (RestoreTestingPlanRecoveryPointSelectionOutput) IncludeVaults ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) IncludeVaults() pulumi.StringArrayOutput
Specifies the backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to include all backup vaults.
func (RestoreTestingPlanRecoveryPointSelectionOutput) RecoveryPointTypes ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) RecoveryPointTypes() pulumi.StringArrayOutput
Specifies the types of recovery points to include in the selection. Valid values are "CONTINUOUS" and "SNAPSHOT".
func (RestoreTestingPlanRecoveryPointSelectionOutput) SelectionWindowDays ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) SelectionWindowDays() pulumi.IntPtrOutput
Specifies the number of days within which the recovery points should be selected. Must be a value between 1 and 365.
func (RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutput ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutput() RestoreTestingPlanRecoveryPointSelectionOutput
func (RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionOutput
func (RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
func (RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext ¶
func (o RestoreTestingPlanRecoveryPointSelectionOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
type RestoreTestingPlanRecoveryPointSelectionPtrInput ¶
type RestoreTestingPlanRecoveryPointSelectionPtrInput interface {
pulumi.Input
ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
}
RestoreTestingPlanRecoveryPointSelectionPtrInput is an input type that accepts RestoreTestingPlanRecoveryPointSelectionArgs, RestoreTestingPlanRecoveryPointSelectionPtr and RestoreTestingPlanRecoveryPointSelectionPtrOutput values. You can construct a concrete instance of `RestoreTestingPlanRecoveryPointSelectionPtrInput` via:
RestoreTestingPlanRecoveryPointSelectionArgs{...}
or:
nil
func RestoreTestingPlanRecoveryPointSelectionPtr ¶
func RestoreTestingPlanRecoveryPointSelectionPtr(v *RestoreTestingPlanRecoveryPointSelectionArgs) RestoreTestingPlanRecoveryPointSelectionPtrInput
type RestoreTestingPlanRecoveryPointSelectionPtrOutput ¶
type RestoreTestingPlanRecoveryPointSelectionPtrOutput struct{ *pulumi.OutputState }
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) Algorithm ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) Algorithm() pulumi.StringPtrOutput
Specifies the algorithm used for selecting recovery points. Valid values are "RANDOM_WITHIN_WINDOW" and "LATEST_WITHIN_WINDOW".
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ElementType ¶
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ElementType() reflect.Type
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ExcludeVaults ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ExcludeVaults() pulumi.StringArrayOutput
Specifies the backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to exclude all backup vaults.
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) IncludeVaults ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) IncludeVaults() pulumi.StringArrayOutput
Specifies the backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or "*" to include all backup vaults.
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) RecoveryPointTypes ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) RecoveryPointTypes() pulumi.StringArrayOutput
Specifies the types of recovery points to include in the selection. Valid values are "CONTINUOUS" and "SNAPSHOT".
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) SelectionWindowDays ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) SelectionWindowDays() pulumi.IntPtrOutput
Specifies the number of days within which the recovery points should be selected. Must be a value between 1 and 365.
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutput() RestoreTestingPlanRecoveryPointSelectionPtrOutput
func (RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext ¶
func (o RestoreTestingPlanRecoveryPointSelectionPtrOutput) ToRestoreTestingPlanRecoveryPointSelectionPtrOutputWithContext(ctx context.Context) RestoreTestingPlanRecoveryPointSelectionPtrOutput
type RestoreTestingPlanState ¶
type RestoreTestingPlanState struct {
// ARN of the Restore Testing Plan.
Arn pulumi.StringPtrInput
// The name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
Name pulumi.StringPtrInput
// Specifies the recovery point selection configuration. See RecoveryPointSelection section for more details.
RecoveryPointSelection RestoreTestingPlanRecoveryPointSelectionPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The schedule expression for the restore testing plan.
ScheduleExpression pulumi.StringPtrInput
// The timezone for the schedule expression. If not provided, the state value will be used.
ScheduleExpressionTimezone pulumi.StringPtrInput
// The number of hours in the start window for the restore testing plan. Must be between 1 and 168.
StartWindowHours pulumi.IntPtrInput
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (RestoreTestingPlanState) ElementType ¶
func (RestoreTestingPlanState) ElementType() reflect.Type
type RestoreTestingSelection ¶
type RestoreTestingSelection struct {
pulumi.CustomResourceState
// The ARN of the IAM role.
IamRoleArn pulumi.StringOutput `pulumi:"iamRoleArn"`
// The name of the backup restore testing selection.
Name pulumi.StringOutput `pulumi:"name"`
// The ARNs for the protected resources.
ProtectedResourceArns pulumi.StringArrayOutput `pulumi:"protectedResourceArns"`
// The conditions for the protected resource.
ProtectedResourceConditions RestoreTestingSelectionProtectedResourceConditionsPtrOutput `pulumi:"protectedResourceConditions"`
// The type of the protected resource.
ProtectedResourceType pulumi.StringOutput `pulumi:"protectedResourceType"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// Override certain restore metadata keys. See the complete list of [restore testing inferred metadata](https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html) .
RestoreMetadataOverrides pulumi.StringMapOutput `pulumi:"restoreMetadataOverrides"`
// The name of the restore testing plan.
RestoreTestingPlanName pulumi.StringOutput `pulumi:"restoreTestingPlanName"`
// The amount of hours available to run a validation script on the data. Valid range is `1` to `168`.
ValidationWindowHours pulumi.IntOutput `pulumi:"validationWindowHours"`
}
Resource for managing an AWS Backup Restore Testing Selection.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ProtectedResourceArns: pulumi.StringArray{
pulumi.String("*"),
},
})
if err != nil {
return err
}
return nil
})
}
```
### Advanced Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ProtectedResourceConditions: &backup.RestoreTestingSelectionProtectedResourceConditionsArgs{
StringEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{
Key: pulumi.String("aws:ResourceTag/backup"),
Value: pulumi.String("true"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup Restore Testing Selection using `name:restore_testing_plan_name`. For example:
```sh $ pulumi import aws:backup/restoreTestingSelection:RestoreTestingSelection example restore_testing_selection_12345678:restore_testing_plan_12345678 ```
func GetRestoreTestingSelection ¶
func GetRestoreTestingSelection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestoreTestingSelectionState, opts ...pulumi.ResourceOption) (*RestoreTestingSelection, error)
GetRestoreTestingSelection gets an existing RestoreTestingSelection 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 NewRestoreTestingSelection ¶
func NewRestoreTestingSelection(ctx *pulumi.Context, name string, args *RestoreTestingSelectionArgs, opts ...pulumi.ResourceOption) (*RestoreTestingSelection, error)
NewRestoreTestingSelection registers a new resource with the given unique name, arguments, and options.
func (*RestoreTestingSelection) ElementType ¶
func (*RestoreTestingSelection) ElementType() reflect.Type
func (*RestoreTestingSelection) ToRestoreTestingSelectionOutput ¶
func (i *RestoreTestingSelection) ToRestoreTestingSelectionOutput() RestoreTestingSelectionOutput
func (*RestoreTestingSelection) ToRestoreTestingSelectionOutputWithContext ¶
func (i *RestoreTestingSelection) ToRestoreTestingSelectionOutputWithContext(ctx context.Context) RestoreTestingSelectionOutput
type RestoreTestingSelectionArgs ¶
type RestoreTestingSelectionArgs struct {
// The ARN of the IAM role.
IamRoleArn pulumi.StringInput
// The name of the backup restore testing selection.
Name pulumi.StringPtrInput
// The ARNs for the protected resources.
ProtectedResourceArns pulumi.StringArrayInput
// The conditions for the protected resource.
ProtectedResourceConditions RestoreTestingSelectionProtectedResourceConditionsPtrInput
// The type of the protected resource.
ProtectedResourceType pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Override certain restore metadata keys. See the complete list of [restore testing inferred metadata](https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html) .
RestoreMetadataOverrides pulumi.StringMapInput
// The name of the restore testing plan.
RestoreTestingPlanName pulumi.StringInput
// The amount of hours available to run a validation script on the data. Valid range is `1` to `168`.
ValidationWindowHours pulumi.IntPtrInput
}
The set of arguments for constructing a RestoreTestingSelection resource.
func (RestoreTestingSelectionArgs) ElementType ¶
func (RestoreTestingSelectionArgs) ElementType() reflect.Type
type RestoreTestingSelectionArray ¶
type RestoreTestingSelectionArray []RestoreTestingSelectionInput
func (RestoreTestingSelectionArray) ElementType ¶
func (RestoreTestingSelectionArray) ElementType() reflect.Type
func (RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutput ¶
func (i RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutput() RestoreTestingSelectionArrayOutput
func (RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutputWithContext ¶
func (i RestoreTestingSelectionArray) ToRestoreTestingSelectionArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionArrayOutput
type RestoreTestingSelectionArrayInput ¶
type RestoreTestingSelectionArrayInput interface {
pulumi.Input
ToRestoreTestingSelectionArrayOutput() RestoreTestingSelectionArrayOutput
ToRestoreTestingSelectionArrayOutputWithContext(context.Context) RestoreTestingSelectionArrayOutput
}
RestoreTestingSelectionArrayInput is an input type that accepts RestoreTestingSelectionArray and RestoreTestingSelectionArrayOutput values. You can construct a concrete instance of `RestoreTestingSelectionArrayInput` via:
RestoreTestingSelectionArray{ RestoreTestingSelectionArgs{...} }
type RestoreTestingSelectionArrayOutput ¶
type RestoreTestingSelectionArrayOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionArrayOutput) ElementType ¶
func (RestoreTestingSelectionArrayOutput) ElementType() reflect.Type
func (RestoreTestingSelectionArrayOutput) Index ¶
func (o RestoreTestingSelectionArrayOutput) Index(i pulumi.IntInput) RestoreTestingSelectionOutput
func (RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutput ¶
func (o RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutput() RestoreTestingSelectionArrayOutput
func (RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutputWithContext ¶
func (o RestoreTestingSelectionArrayOutput) ToRestoreTestingSelectionArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionArrayOutput
type RestoreTestingSelectionInput ¶
type RestoreTestingSelectionInput interface {
pulumi.Input
ToRestoreTestingSelectionOutput() RestoreTestingSelectionOutput
ToRestoreTestingSelectionOutputWithContext(ctx context.Context) RestoreTestingSelectionOutput
}
type RestoreTestingSelectionMap ¶
type RestoreTestingSelectionMap map[string]RestoreTestingSelectionInput
func (RestoreTestingSelectionMap) ElementType ¶
func (RestoreTestingSelectionMap) ElementType() reflect.Type
func (RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutput ¶
func (i RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutput() RestoreTestingSelectionMapOutput
func (RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutputWithContext ¶
func (i RestoreTestingSelectionMap) ToRestoreTestingSelectionMapOutputWithContext(ctx context.Context) RestoreTestingSelectionMapOutput
type RestoreTestingSelectionMapInput ¶
type RestoreTestingSelectionMapInput interface {
pulumi.Input
ToRestoreTestingSelectionMapOutput() RestoreTestingSelectionMapOutput
ToRestoreTestingSelectionMapOutputWithContext(context.Context) RestoreTestingSelectionMapOutput
}
RestoreTestingSelectionMapInput is an input type that accepts RestoreTestingSelectionMap and RestoreTestingSelectionMapOutput values. You can construct a concrete instance of `RestoreTestingSelectionMapInput` via:
RestoreTestingSelectionMap{ "key": RestoreTestingSelectionArgs{...} }
type RestoreTestingSelectionMapOutput ¶
type RestoreTestingSelectionMapOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionMapOutput) ElementType ¶
func (RestoreTestingSelectionMapOutput) ElementType() reflect.Type
func (RestoreTestingSelectionMapOutput) MapIndex ¶
func (o RestoreTestingSelectionMapOutput) MapIndex(k pulumi.StringInput) RestoreTestingSelectionOutput
func (RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutput ¶
func (o RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutput() RestoreTestingSelectionMapOutput
func (RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutputWithContext ¶
func (o RestoreTestingSelectionMapOutput) ToRestoreTestingSelectionMapOutputWithContext(ctx context.Context) RestoreTestingSelectionMapOutput
type RestoreTestingSelectionOutput ¶
type RestoreTestingSelectionOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionOutput) ElementType ¶
func (RestoreTestingSelectionOutput) ElementType() reflect.Type
func (RestoreTestingSelectionOutput) IamRoleArn ¶
func (o RestoreTestingSelectionOutput) IamRoleArn() pulumi.StringOutput
The ARN of the IAM role.
func (RestoreTestingSelectionOutput) Name ¶
func (o RestoreTestingSelectionOutput) Name() pulumi.StringOutput
The name of the backup restore testing selection.
func (RestoreTestingSelectionOutput) ProtectedResourceArns ¶
func (o RestoreTestingSelectionOutput) ProtectedResourceArns() pulumi.StringArrayOutput
The ARNs for the protected resources.
func (RestoreTestingSelectionOutput) ProtectedResourceConditions ¶
func (o RestoreTestingSelectionOutput) ProtectedResourceConditions() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
The conditions for the protected resource.
func (RestoreTestingSelectionOutput) ProtectedResourceType ¶
func (o RestoreTestingSelectionOutput) ProtectedResourceType() pulumi.StringOutput
The type of the protected resource.
func (RestoreTestingSelectionOutput) Region ¶
func (o RestoreTestingSelectionOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (RestoreTestingSelectionOutput) RestoreMetadataOverrides ¶
func (o RestoreTestingSelectionOutput) RestoreMetadataOverrides() pulumi.StringMapOutput
Override certain restore metadata keys. See the complete list of [restore testing inferred metadata](https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html) .
func (RestoreTestingSelectionOutput) RestoreTestingPlanName ¶
func (o RestoreTestingSelectionOutput) RestoreTestingPlanName() pulumi.StringOutput
The name of the restore testing plan.
func (RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutput ¶
func (o RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutput() RestoreTestingSelectionOutput
func (RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutputWithContext ¶
func (o RestoreTestingSelectionOutput) ToRestoreTestingSelectionOutputWithContext(ctx context.Context) RestoreTestingSelectionOutput
func (RestoreTestingSelectionOutput) ValidationWindowHours ¶
func (o RestoreTestingSelectionOutput) ValidationWindowHours() pulumi.IntOutput
The amount of hours available to run a validation script on the data. Valid range is `1` to `168`.
type RestoreTestingSelectionProtectedResourceConditions ¶
type RestoreTestingSelectionProtectedResourceConditions struct {
// The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
StringEquals []RestoreTestingSelectionProtectedResourceConditionsStringEqual `pulumi:"stringEquals"`
// The list of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See the structure for details
StringNotEquals []RestoreTestingSelectionProtectedResourceConditionsStringNotEqual `pulumi:"stringNotEquals"`
}
type RestoreTestingSelectionProtectedResourceConditionsArgs ¶
type RestoreTestingSelectionProtectedResourceConditionsArgs struct {
// The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
StringEquals RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput `pulumi:"stringEquals"`
// The list of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See the structure for details
StringNotEquals RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput `pulumi:"stringNotEquals"`
}
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutput() RestoreTestingSelectionProtectedResourceConditionsOutput
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsOutput
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
func (RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsArgs) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
type RestoreTestingSelectionProtectedResourceConditionsInput ¶
type RestoreTestingSelectionProtectedResourceConditionsInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsOutput() RestoreTestingSelectionProtectedResourceConditionsOutput
ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsOutput
}
RestoreTestingSelectionProtectedResourceConditionsInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsArgs and RestoreTestingSelectionProtectedResourceConditionsOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsInput` via:
RestoreTestingSelectionProtectedResourceConditionsArgs{...}
type RestoreTestingSelectionProtectedResourceConditionsOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsOutput) StringEquals ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) StringEquals() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
func (RestoreTestingSelectionProtectedResourceConditionsOutput) StringNotEquals ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) StringNotEquals() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
The list of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See the structure for details
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutput() RestoreTestingSelectionProtectedResourceConditionsOutput
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsOutput
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
func (RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
type RestoreTestingSelectionProtectedResourceConditionsPtrInput ¶
type RestoreTestingSelectionProtectedResourceConditionsPtrInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
}
RestoreTestingSelectionProtectedResourceConditionsPtrInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsArgs, RestoreTestingSelectionProtectedResourceConditionsPtr and RestoreTestingSelectionProtectedResourceConditionsPtrOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsPtrInput` via:
RestoreTestingSelectionProtectedResourceConditionsArgs{...}
or:
nil
func RestoreTestingSelectionProtectedResourceConditionsPtr ¶
func RestoreTestingSelectionProtectedResourceConditionsPtr(v *RestoreTestingSelectionProtectedResourceConditionsArgs) RestoreTestingSelectionProtectedResourceConditionsPtrInput
type RestoreTestingSelectionProtectedResourceConditionsPtrOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsPtrOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringEquals ¶
func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringEquals() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringNotEquals ¶
func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) StringNotEquals() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
The list of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See the structure for details
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutput() RestoreTestingSelectionProtectedResourceConditionsPtrOutput
func (RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsPtrOutput) ToRestoreTestingSelectionProtectedResourceConditionsPtrOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsPtrOutput
type RestoreTestingSelectionProtectedResourceConditionsStringEqual ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqual struct {
// The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
Key string `pulumi:"key"`
// The value of the Tag. Maximum length of 256.
Value string `pulumi:"value"`
}
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs struct {
// The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
Key pulumi.StringInput `pulumi:"key"`
// The value of the Tag. Maximum length of 256.
Value pulumi.StringInput `pulumi:"value"`
}
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArray ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArray []RestoreTestingSelectionProtectedResourceConditionsStringEqualInput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
}
RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsStringEqualArray and RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayInput` via:
RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{ RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{...} }
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualArrayOutput
type RestoreTestingSelectionProtectedResourceConditionsStringEqualInput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
}
RestoreTestingSelectionProtectedResourceConditionsStringEqualInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs and RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsStringEqualInput` via:
RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{...}
type RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Key ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Key() pulumi.StringOutput
The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Value ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringEqualOutput) Value() pulumi.StringOutput
The value of the Tag. Maximum length of 256.
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqual ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqual struct {
// The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
Key string `pulumi:"key"`
// The value of the Tag. Maximum length of 256.
Value string `pulumi:"value"`
}
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs struct {
// The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
Key pulumi.StringInput `pulumi:"key"`
// The value of the Tag. Maximum length of 256.
Value pulumi.StringInput `pulumi:"value"`
}
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray []RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext ¶
func (i RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
}
RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray and RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayInput` via:
RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray{ RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs{...} }
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArrayOutput
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput interface {
pulumi.Input
ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext(context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
}
RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput is an input type that accepts RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs and RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput values. You can construct a concrete instance of `RestoreTestingSelectionProtectedResourceConditionsStringNotEqualInput` via:
RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs{...}
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput ¶
type RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput struct{ *pulumi.OutputState }
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ElementType ¶
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ElementType() reflect.Type
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Key ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Key() pulumi.StringOutput
The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters: `+ - = . _ : /`.
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput() RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) ToRestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutputWithContext(ctx context.Context) RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput
func (RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Value ¶
func (o RestoreTestingSelectionProtectedResourceConditionsStringNotEqualOutput) Value() pulumi.StringOutput
The value of the Tag. Maximum length of 256.
type RestoreTestingSelectionState ¶
type RestoreTestingSelectionState struct {
// The ARN of the IAM role.
IamRoleArn pulumi.StringPtrInput
// The name of the backup restore testing selection.
Name pulumi.StringPtrInput
// The ARNs for the protected resources.
ProtectedResourceArns pulumi.StringArrayInput
// The conditions for the protected resource.
ProtectedResourceConditions RestoreTestingSelectionProtectedResourceConditionsPtrInput
// The type of the protected resource.
ProtectedResourceType pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Override certain restore metadata keys. See the complete list of [restore testing inferred metadata](https://docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html) .
RestoreMetadataOverrides pulumi.StringMapInput
// The name of the restore testing plan.
RestoreTestingPlanName pulumi.StringPtrInput
// The amount of hours available to run a validation script on the data. Valid range is `1` to `168`.
ValidationWindowHours pulumi.IntPtrInput
}
func (RestoreTestingSelectionState) ElementType ¶
func (RestoreTestingSelectionState) ElementType() reflect.Type
type Selection ¶
type Selection struct {
pulumi.CustomResourceState
// Condition-based filters used to specify sets of resources for a backup plan. See below for details.
Conditions SelectionConditionArrayOutput `pulumi:"conditions"`
// The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
IamRoleArn pulumi.StringOutput `pulumi:"iamRoleArn"`
// The display name of a resource selection document.
Name pulumi.StringOutput `pulumi:"name"`
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to exclude from a backup plan.
NotResources pulumi.StringArrayOutput `pulumi:"notResources"`
// The backup plan ID to be associated with the selection of resources.
PlanId pulumi.StringOutput `pulumi:"planId"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.
Resources pulumi.StringArrayOutput `pulumi:"resources"`
// Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
SelectionTags SelectionSelectionTagArrayOutput `pulumi:"selectionTags"`
}
Manages selection conditions for AWS Backup plan resources.
## Example Usage
### IAM Role
> For more information about creating and managing IAM Roles for backups and restores, see the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/iam-service-roles.html).
The below example creates an IAM role with the default managed IAM Policy for allowing AWS Backup to create backups.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
{
Effect: pulumi.StringRef("Allow"),
Principals: []iam.GetPolicyDocumentStatementPrincipal{
{
Type: "Service",
Identifiers: []string{
"backup.amazonaws.com",
},
},
},
Actions: []string{
"sts:AssumeRole",
},
},
},
}, nil)
if err != nil {
return err
}
example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
Name: pulumi.String("example"),
AssumeRolePolicy: pulumi.String(assumeRole.Json),
})
if err != nil {
return err
}
_, err = iam.NewRolePolicyAttachment(ctx, "example", &iam.RolePolicyAttachmentArgs{
PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSBackupServiceRolePolicyForBackup"),
Role: example.Name,
})
if err != nil {
return err
}
_, err = backup.NewSelection(ctx, "example", &backup.SelectionArgs{
IamRoleArn: example.Arn,
})
if err != nil {
return err
}
return nil
})
}
```
### Selecting Backups By Tag
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewSelection(ctx, "example", &backup.SelectionArgs{
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("my_example_backup_selection"),
PlanId: pulumi.Any(exampleAwsBackupPlan.Id),
SelectionTags: backup.SelectionSelectionTagArray{
&backup.SelectionSelectionTagArgs{
Type: pulumi.String("STRINGEQUALS"),
Key: pulumi.String("foo"),
Value: pulumi.String("bar"),
},
},
})
if err != nil {
return err
}
return nil
})
}
```
### Selecting Backups By Conditions
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewSelection(ctx, "example", &backup.SelectionArgs{
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("my_example_backup_selection"),
PlanId: pulumi.Any(exampleAwsBackupPlan.Id),
Resources: pulumi.StringArray{
pulumi.String("*"),
},
Conditions: backup.SelectionConditionArray{
&backup.SelectionConditionArgs{
StringEquals: backup.SelectionConditionStringEqualArray{
&backup.SelectionConditionStringEqualArgs{
Key: pulumi.String("aws:ResourceTag/Component"),
Value: pulumi.String("rds"),
},
},
StringLikes: backup.SelectionConditionStringLikeArray{
&backup.SelectionConditionStringLikeArgs{
Key: pulumi.String("aws:ResourceTag/Application"),
Value: pulumi.String("app*"),
},
},
StringNotEquals: backup.SelectionConditionStringNotEqualArray{
&backup.SelectionConditionStringNotEqualArgs{
Key: pulumi.String("aws:ResourceTag/Backup"),
Value: pulumi.String("false"),
},
},
StringNotLikes: backup.SelectionConditionStringNotLikeArray{
&backup.SelectionConditionStringNotLikeArgs{
Key: pulumi.String("aws:ResourceTag/Environment"),
Value: pulumi.String("test*"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
### Selecting Backups By Resource
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewSelection(ctx, "example", &backup.SelectionArgs{
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("my_example_backup_selection"),
PlanId: pulumi.Any(exampleAwsBackupPlan.Id),
Resources: pulumi.StringArray{
exampleAwsDbInstance.Arn,
exampleAwsEbsVolume.Arn,
exampleAwsEfsFileSystem.Arn,
},
})
if err != nil {
return err
}
return nil
})
}
```
### Selecting Backups By Not Resource
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewSelection(ctx, "example", &backup.SelectionArgs{
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("my_example_backup_selection"),
PlanId: pulumi.Any(exampleAwsBackupPlan.Id),
NotResources: pulumi.StringArray{
exampleAwsDbInstance.Arn,
exampleAwsEbsVolume.Arn,
exampleAwsEfsFileSystem.Arn,
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup selection using the role plan_id and id separated by `|`. For example:
```sh $ pulumi import aws:backup/selection:Selection example plan-id|selection-id ```
func GetSelection ¶
func GetSelection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SelectionState, opts ...pulumi.ResourceOption) (*Selection, error)
GetSelection gets an existing Selection 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 NewSelection ¶
func NewSelection(ctx *pulumi.Context, name string, args *SelectionArgs, opts ...pulumi.ResourceOption) (*Selection, error)
NewSelection registers a new resource with the given unique name, arguments, and options.
func (*Selection) ElementType ¶
func (*Selection) ToSelectionOutput ¶
func (i *Selection) ToSelectionOutput() SelectionOutput
func (*Selection) ToSelectionOutputWithContext ¶
func (i *Selection) ToSelectionOutputWithContext(ctx context.Context) SelectionOutput
type SelectionArgs ¶
type SelectionArgs struct {
// Condition-based filters used to specify sets of resources for a backup plan. See below for details.
Conditions SelectionConditionArrayInput
// The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
IamRoleArn pulumi.StringInput
// The display name of a resource selection document.
Name pulumi.StringPtrInput
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to exclude from a backup plan.
NotResources pulumi.StringArrayInput
// The backup plan ID to be associated with the selection of resources.
PlanId pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.
Resources pulumi.StringArrayInput
// Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
SelectionTags SelectionSelectionTagArrayInput
}
The set of arguments for constructing a Selection resource.
func (SelectionArgs) ElementType ¶
func (SelectionArgs) ElementType() reflect.Type
type SelectionArray ¶
type SelectionArray []SelectionInput
func (SelectionArray) ElementType ¶
func (SelectionArray) ElementType() reflect.Type
func (SelectionArray) ToSelectionArrayOutput ¶
func (i SelectionArray) ToSelectionArrayOutput() SelectionArrayOutput
func (SelectionArray) ToSelectionArrayOutputWithContext ¶
func (i SelectionArray) ToSelectionArrayOutputWithContext(ctx context.Context) SelectionArrayOutput
type SelectionArrayInput ¶
type SelectionArrayInput interface {
pulumi.Input
ToSelectionArrayOutput() SelectionArrayOutput
ToSelectionArrayOutputWithContext(context.Context) SelectionArrayOutput
}
SelectionArrayInput is an input type that accepts SelectionArray and SelectionArrayOutput values. You can construct a concrete instance of `SelectionArrayInput` via:
SelectionArray{ SelectionArgs{...} }
type SelectionArrayOutput ¶
type SelectionArrayOutput struct{ *pulumi.OutputState }
func (SelectionArrayOutput) ElementType ¶
func (SelectionArrayOutput) ElementType() reflect.Type
func (SelectionArrayOutput) Index ¶
func (o SelectionArrayOutput) Index(i pulumi.IntInput) SelectionOutput
func (SelectionArrayOutput) ToSelectionArrayOutput ¶
func (o SelectionArrayOutput) ToSelectionArrayOutput() SelectionArrayOutput
func (SelectionArrayOutput) ToSelectionArrayOutputWithContext ¶
func (o SelectionArrayOutput) ToSelectionArrayOutputWithContext(ctx context.Context) SelectionArrayOutput
type SelectionCondition ¶
type SelectionCondition struct {
// Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching". See below for details.
StringEquals []SelectionConditionStringEqual `pulumi:"stringEquals"`
// Filters the values of your tagged resources for matching tag values with the use of a wildcard character (`*`) anywhere in the string. For example, `prod*` or `*rod*` matches the tag value `production`. See below for details.
StringLikes []SelectionConditionStringLike `pulumi:"stringLikes"`
// Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching". See below for details.
StringNotEquals []SelectionConditionStringNotEqual `pulumi:"stringNotEquals"`
// Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (`*`) anywhere in the string. See below for details.
StringNotLikes []SelectionConditionStringNotLike `pulumi:"stringNotLikes"`
}
type SelectionConditionArgs ¶
type SelectionConditionArgs struct {
// Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching". See below for details.
StringEquals SelectionConditionStringEqualArrayInput `pulumi:"stringEquals"`
// Filters the values of your tagged resources for matching tag values with the use of a wildcard character (`*`) anywhere in the string. For example, `prod*` or `*rod*` matches the tag value `production`. See below for details.
StringLikes SelectionConditionStringLikeArrayInput `pulumi:"stringLikes"`
// Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching". See below for details.
StringNotEquals SelectionConditionStringNotEqualArrayInput `pulumi:"stringNotEquals"`
// Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (`*`) anywhere in the string. See below for details.
StringNotLikes SelectionConditionStringNotLikeArrayInput `pulumi:"stringNotLikes"`
}
func (SelectionConditionArgs) ElementType ¶
func (SelectionConditionArgs) ElementType() reflect.Type
func (SelectionConditionArgs) ToSelectionConditionOutput ¶
func (i SelectionConditionArgs) ToSelectionConditionOutput() SelectionConditionOutput
func (SelectionConditionArgs) ToSelectionConditionOutputWithContext ¶
func (i SelectionConditionArgs) ToSelectionConditionOutputWithContext(ctx context.Context) SelectionConditionOutput
type SelectionConditionArray ¶
type SelectionConditionArray []SelectionConditionInput
func (SelectionConditionArray) ElementType ¶
func (SelectionConditionArray) ElementType() reflect.Type
func (SelectionConditionArray) ToSelectionConditionArrayOutput ¶
func (i SelectionConditionArray) ToSelectionConditionArrayOutput() SelectionConditionArrayOutput
func (SelectionConditionArray) ToSelectionConditionArrayOutputWithContext ¶
func (i SelectionConditionArray) ToSelectionConditionArrayOutputWithContext(ctx context.Context) SelectionConditionArrayOutput
type SelectionConditionArrayInput ¶
type SelectionConditionArrayInput interface {
pulumi.Input
ToSelectionConditionArrayOutput() SelectionConditionArrayOutput
ToSelectionConditionArrayOutputWithContext(context.Context) SelectionConditionArrayOutput
}
SelectionConditionArrayInput is an input type that accepts SelectionConditionArray and SelectionConditionArrayOutput values. You can construct a concrete instance of `SelectionConditionArrayInput` via:
SelectionConditionArray{ SelectionConditionArgs{...} }
type SelectionConditionArrayOutput ¶
type SelectionConditionArrayOutput struct{ *pulumi.OutputState }
func (SelectionConditionArrayOutput) ElementType ¶
func (SelectionConditionArrayOutput) ElementType() reflect.Type
func (SelectionConditionArrayOutput) Index ¶
func (o SelectionConditionArrayOutput) Index(i pulumi.IntInput) SelectionConditionOutput
func (SelectionConditionArrayOutput) ToSelectionConditionArrayOutput ¶
func (o SelectionConditionArrayOutput) ToSelectionConditionArrayOutput() SelectionConditionArrayOutput
func (SelectionConditionArrayOutput) ToSelectionConditionArrayOutputWithContext ¶
func (o SelectionConditionArrayOutput) ToSelectionConditionArrayOutputWithContext(ctx context.Context) SelectionConditionArrayOutput
type SelectionConditionInput ¶
type SelectionConditionInput interface {
pulumi.Input
ToSelectionConditionOutput() SelectionConditionOutput
ToSelectionConditionOutputWithContext(context.Context) SelectionConditionOutput
}
SelectionConditionInput is an input type that accepts SelectionConditionArgs and SelectionConditionOutput values. You can construct a concrete instance of `SelectionConditionInput` via:
SelectionConditionArgs{...}
type SelectionConditionOutput ¶
type SelectionConditionOutput struct{ *pulumi.OutputState }
func (SelectionConditionOutput) ElementType ¶
func (SelectionConditionOutput) ElementType() reflect.Type
func (SelectionConditionOutput) StringEquals ¶
func (o SelectionConditionOutput) StringEquals() SelectionConditionStringEqualArrayOutput
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching". See below for details.
func (SelectionConditionOutput) StringLikes ¶
func (o SelectionConditionOutput) StringLikes() SelectionConditionStringLikeArrayOutput
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (`*`) anywhere in the string. For example, `prod*` or `*rod*` matches the tag value `production`. See below for details.
func (SelectionConditionOutput) StringNotEquals ¶
func (o SelectionConditionOutput) StringNotEquals() SelectionConditionStringNotEqualArrayOutput
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching". See below for details.
func (SelectionConditionOutput) StringNotLikes ¶
func (o SelectionConditionOutput) StringNotLikes() SelectionConditionStringNotLikeArrayOutput
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (`*`) anywhere in the string. See below for details.
func (SelectionConditionOutput) ToSelectionConditionOutput ¶
func (o SelectionConditionOutput) ToSelectionConditionOutput() SelectionConditionOutput
func (SelectionConditionOutput) ToSelectionConditionOutputWithContext ¶
func (o SelectionConditionOutput) ToSelectionConditionOutputWithContext(ctx context.Context) SelectionConditionOutput
type SelectionConditionStringEqualArgs ¶
type SelectionConditionStringEqualArgs struct {
// Key for the filter.
Key pulumi.StringInput `pulumi:"key"`
// Value for the filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (SelectionConditionStringEqualArgs) ElementType ¶
func (SelectionConditionStringEqualArgs) ElementType() reflect.Type
func (SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutput ¶
func (i SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutput() SelectionConditionStringEqualOutput
func (SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutputWithContext ¶
func (i SelectionConditionStringEqualArgs) ToSelectionConditionStringEqualOutputWithContext(ctx context.Context) SelectionConditionStringEqualOutput
type SelectionConditionStringEqualArray ¶
type SelectionConditionStringEqualArray []SelectionConditionStringEqualInput
func (SelectionConditionStringEqualArray) ElementType ¶
func (SelectionConditionStringEqualArray) ElementType() reflect.Type
func (SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutput ¶
func (i SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutput() SelectionConditionStringEqualArrayOutput
func (SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutputWithContext ¶
func (i SelectionConditionStringEqualArray) ToSelectionConditionStringEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringEqualArrayOutput
type SelectionConditionStringEqualArrayInput ¶
type SelectionConditionStringEqualArrayInput interface {
pulumi.Input
ToSelectionConditionStringEqualArrayOutput() SelectionConditionStringEqualArrayOutput
ToSelectionConditionStringEqualArrayOutputWithContext(context.Context) SelectionConditionStringEqualArrayOutput
}
SelectionConditionStringEqualArrayInput is an input type that accepts SelectionConditionStringEqualArray and SelectionConditionStringEqualArrayOutput values. You can construct a concrete instance of `SelectionConditionStringEqualArrayInput` via:
SelectionConditionStringEqualArray{ SelectionConditionStringEqualArgs{...} }
type SelectionConditionStringEqualArrayOutput ¶
type SelectionConditionStringEqualArrayOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringEqualArrayOutput) ElementType ¶
func (SelectionConditionStringEqualArrayOutput) ElementType() reflect.Type
func (SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutput ¶
func (o SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutput() SelectionConditionStringEqualArrayOutput
func (SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutputWithContext ¶
func (o SelectionConditionStringEqualArrayOutput) ToSelectionConditionStringEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringEqualArrayOutput
type SelectionConditionStringEqualInput ¶
type SelectionConditionStringEqualInput interface {
pulumi.Input
ToSelectionConditionStringEqualOutput() SelectionConditionStringEqualOutput
ToSelectionConditionStringEqualOutputWithContext(context.Context) SelectionConditionStringEqualOutput
}
SelectionConditionStringEqualInput is an input type that accepts SelectionConditionStringEqualArgs and SelectionConditionStringEqualOutput values. You can construct a concrete instance of `SelectionConditionStringEqualInput` via:
SelectionConditionStringEqualArgs{...}
type SelectionConditionStringEqualOutput ¶
type SelectionConditionStringEqualOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringEqualOutput) ElementType ¶
func (SelectionConditionStringEqualOutput) ElementType() reflect.Type
func (SelectionConditionStringEqualOutput) Key ¶
func (o SelectionConditionStringEqualOutput) Key() pulumi.StringOutput
Key for the filter.
func (SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutput ¶
func (o SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutput() SelectionConditionStringEqualOutput
func (SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutputWithContext ¶
func (o SelectionConditionStringEqualOutput) ToSelectionConditionStringEqualOutputWithContext(ctx context.Context) SelectionConditionStringEqualOutput
func (SelectionConditionStringEqualOutput) Value ¶
func (o SelectionConditionStringEqualOutput) Value() pulumi.StringOutput
Value for the filter.
type SelectionConditionStringLikeArgs ¶
type SelectionConditionStringLikeArgs struct {
// Key for the filter.
Key pulumi.StringInput `pulumi:"key"`
// Value for the filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (SelectionConditionStringLikeArgs) ElementType ¶
func (SelectionConditionStringLikeArgs) ElementType() reflect.Type
func (SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutput ¶
func (i SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutput() SelectionConditionStringLikeOutput
func (SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutputWithContext ¶
func (i SelectionConditionStringLikeArgs) ToSelectionConditionStringLikeOutputWithContext(ctx context.Context) SelectionConditionStringLikeOutput
type SelectionConditionStringLikeArray ¶
type SelectionConditionStringLikeArray []SelectionConditionStringLikeInput
func (SelectionConditionStringLikeArray) ElementType ¶
func (SelectionConditionStringLikeArray) ElementType() reflect.Type
func (SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutput ¶
func (i SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutput() SelectionConditionStringLikeArrayOutput
func (SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutputWithContext ¶
func (i SelectionConditionStringLikeArray) ToSelectionConditionStringLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringLikeArrayOutput
type SelectionConditionStringLikeArrayInput ¶
type SelectionConditionStringLikeArrayInput interface {
pulumi.Input
ToSelectionConditionStringLikeArrayOutput() SelectionConditionStringLikeArrayOutput
ToSelectionConditionStringLikeArrayOutputWithContext(context.Context) SelectionConditionStringLikeArrayOutput
}
SelectionConditionStringLikeArrayInput is an input type that accepts SelectionConditionStringLikeArray and SelectionConditionStringLikeArrayOutput values. You can construct a concrete instance of `SelectionConditionStringLikeArrayInput` via:
SelectionConditionStringLikeArray{ SelectionConditionStringLikeArgs{...} }
type SelectionConditionStringLikeArrayOutput ¶
type SelectionConditionStringLikeArrayOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringLikeArrayOutput) ElementType ¶
func (SelectionConditionStringLikeArrayOutput) ElementType() reflect.Type
func (SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutput ¶
func (o SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutput() SelectionConditionStringLikeArrayOutput
func (SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutputWithContext ¶
func (o SelectionConditionStringLikeArrayOutput) ToSelectionConditionStringLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringLikeArrayOutput
type SelectionConditionStringLikeInput ¶
type SelectionConditionStringLikeInput interface {
pulumi.Input
ToSelectionConditionStringLikeOutput() SelectionConditionStringLikeOutput
ToSelectionConditionStringLikeOutputWithContext(context.Context) SelectionConditionStringLikeOutput
}
SelectionConditionStringLikeInput is an input type that accepts SelectionConditionStringLikeArgs and SelectionConditionStringLikeOutput values. You can construct a concrete instance of `SelectionConditionStringLikeInput` via:
SelectionConditionStringLikeArgs{...}
type SelectionConditionStringLikeOutput ¶
type SelectionConditionStringLikeOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringLikeOutput) ElementType ¶
func (SelectionConditionStringLikeOutput) ElementType() reflect.Type
func (SelectionConditionStringLikeOutput) Key ¶
func (o SelectionConditionStringLikeOutput) Key() pulumi.StringOutput
Key for the filter.
func (SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutput ¶
func (o SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutput() SelectionConditionStringLikeOutput
func (SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutputWithContext ¶
func (o SelectionConditionStringLikeOutput) ToSelectionConditionStringLikeOutputWithContext(ctx context.Context) SelectionConditionStringLikeOutput
func (SelectionConditionStringLikeOutput) Value ¶
func (o SelectionConditionStringLikeOutput) Value() pulumi.StringOutput
Value for the filter.
type SelectionConditionStringNotEqualArgs ¶
type SelectionConditionStringNotEqualArgs struct {
// Key for the filter.
Key pulumi.StringInput `pulumi:"key"`
// Value for the filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (SelectionConditionStringNotEqualArgs) ElementType ¶
func (SelectionConditionStringNotEqualArgs) ElementType() reflect.Type
func (SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutput ¶
func (i SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutput() SelectionConditionStringNotEqualOutput
func (SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutputWithContext ¶
func (i SelectionConditionStringNotEqualArgs) ToSelectionConditionStringNotEqualOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualOutput
type SelectionConditionStringNotEqualArray ¶
type SelectionConditionStringNotEqualArray []SelectionConditionStringNotEqualInput
func (SelectionConditionStringNotEqualArray) ElementType ¶
func (SelectionConditionStringNotEqualArray) ElementType() reflect.Type
func (SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutput ¶
func (i SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutput() SelectionConditionStringNotEqualArrayOutput
func (SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutputWithContext ¶
func (i SelectionConditionStringNotEqualArray) ToSelectionConditionStringNotEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualArrayOutput
type SelectionConditionStringNotEqualArrayInput ¶
type SelectionConditionStringNotEqualArrayInput interface {
pulumi.Input
ToSelectionConditionStringNotEqualArrayOutput() SelectionConditionStringNotEqualArrayOutput
ToSelectionConditionStringNotEqualArrayOutputWithContext(context.Context) SelectionConditionStringNotEqualArrayOutput
}
SelectionConditionStringNotEqualArrayInput is an input type that accepts SelectionConditionStringNotEqualArray and SelectionConditionStringNotEqualArrayOutput values. You can construct a concrete instance of `SelectionConditionStringNotEqualArrayInput` via:
SelectionConditionStringNotEqualArray{ SelectionConditionStringNotEqualArgs{...} }
type SelectionConditionStringNotEqualArrayOutput ¶
type SelectionConditionStringNotEqualArrayOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringNotEqualArrayOutput) ElementType ¶
func (SelectionConditionStringNotEqualArrayOutput) ElementType() reflect.Type
func (SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutput ¶
func (o SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutput() SelectionConditionStringNotEqualArrayOutput
func (SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutputWithContext ¶
func (o SelectionConditionStringNotEqualArrayOutput) ToSelectionConditionStringNotEqualArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualArrayOutput
type SelectionConditionStringNotEqualInput ¶
type SelectionConditionStringNotEqualInput interface {
pulumi.Input
ToSelectionConditionStringNotEqualOutput() SelectionConditionStringNotEqualOutput
ToSelectionConditionStringNotEqualOutputWithContext(context.Context) SelectionConditionStringNotEqualOutput
}
SelectionConditionStringNotEqualInput is an input type that accepts SelectionConditionStringNotEqualArgs and SelectionConditionStringNotEqualOutput values. You can construct a concrete instance of `SelectionConditionStringNotEqualInput` via:
SelectionConditionStringNotEqualArgs{...}
type SelectionConditionStringNotEqualOutput ¶
type SelectionConditionStringNotEqualOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringNotEqualOutput) ElementType ¶
func (SelectionConditionStringNotEqualOutput) ElementType() reflect.Type
func (SelectionConditionStringNotEqualOutput) Key ¶
func (o SelectionConditionStringNotEqualOutput) Key() pulumi.StringOutput
Key for the filter.
func (SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutput ¶
func (o SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutput() SelectionConditionStringNotEqualOutput
func (SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutputWithContext ¶
func (o SelectionConditionStringNotEqualOutput) ToSelectionConditionStringNotEqualOutputWithContext(ctx context.Context) SelectionConditionStringNotEqualOutput
func (SelectionConditionStringNotEqualOutput) Value ¶
func (o SelectionConditionStringNotEqualOutput) Value() pulumi.StringOutput
Value for the filter.
type SelectionConditionStringNotLikeArgs ¶
type SelectionConditionStringNotLikeArgs struct {
// Key for the filter.
Key pulumi.StringInput `pulumi:"key"`
// Value for the filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (SelectionConditionStringNotLikeArgs) ElementType ¶
func (SelectionConditionStringNotLikeArgs) ElementType() reflect.Type
func (SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutput ¶
func (i SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutput() SelectionConditionStringNotLikeOutput
func (SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutputWithContext ¶
func (i SelectionConditionStringNotLikeArgs) ToSelectionConditionStringNotLikeOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeOutput
type SelectionConditionStringNotLikeArray ¶
type SelectionConditionStringNotLikeArray []SelectionConditionStringNotLikeInput
func (SelectionConditionStringNotLikeArray) ElementType ¶
func (SelectionConditionStringNotLikeArray) ElementType() reflect.Type
func (SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutput ¶
func (i SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutput() SelectionConditionStringNotLikeArrayOutput
func (SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutputWithContext ¶
func (i SelectionConditionStringNotLikeArray) ToSelectionConditionStringNotLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeArrayOutput
type SelectionConditionStringNotLikeArrayInput ¶
type SelectionConditionStringNotLikeArrayInput interface {
pulumi.Input
ToSelectionConditionStringNotLikeArrayOutput() SelectionConditionStringNotLikeArrayOutput
ToSelectionConditionStringNotLikeArrayOutputWithContext(context.Context) SelectionConditionStringNotLikeArrayOutput
}
SelectionConditionStringNotLikeArrayInput is an input type that accepts SelectionConditionStringNotLikeArray and SelectionConditionStringNotLikeArrayOutput values. You can construct a concrete instance of `SelectionConditionStringNotLikeArrayInput` via:
SelectionConditionStringNotLikeArray{ SelectionConditionStringNotLikeArgs{...} }
type SelectionConditionStringNotLikeArrayOutput ¶
type SelectionConditionStringNotLikeArrayOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringNotLikeArrayOutput) ElementType ¶
func (SelectionConditionStringNotLikeArrayOutput) ElementType() reflect.Type
func (SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutput ¶
func (o SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutput() SelectionConditionStringNotLikeArrayOutput
func (SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutputWithContext ¶
func (o SelectionConditionStringNotLikeArrayOutput) ToSelectionConditionStringNotLikeArrayOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeArrayOutput
type SelectionConditionStringNotLikeInput ¶
type SelectionConditionStringNotLikeInput interface {
pulumi.Input
ToSelectionConditionStringNotLikeOutput() SelectionConditionStringNotLikeOutput
ToSelectionConditionStringNotLikeOutputWithContext(context.Context) SelectionConditionStringNotLikeOutput
}
SelectionConditionStringNotLikeInput is an input type that accepts SelectionConditionStringNotLikeArgs and SelectionConditionStringNotLikeOutput values. You can construct a concrete instance of `SelectionConditionStringNotLikeInput` via:
SelectionConditionStringNotLikeArgs{...}
type SelectionConditionStringNotLikeOutput ¶
type SelectionConditionStringNotLikeOutput struct{ *pulumi.OutputState }
func (SelectionConditionStringNotLikeOutput) ElementType ¶
func (SelectionConditionStringNotLikeOutput) ElementType() reflect.Type
func (SelectionConditionStringNotLikeOutput) Key ¶
func (o SelectionConditionStringNotLikeOutput) Key() pulumi.StringOutput
Key for the filter.
func (SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutput ¶
func (o SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutput() SelectionConditionStringNotLikeOutput
func (SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutputWithContext ¶
func (o SelectionConditionStringNotLikeOutput) ToSelectionConditionStringNotLikeOutputWithContext(ctx context.Context) SelectionConditionStringNotLikeOutput
func (SelectionConditionStringNotLikeOutput) Value ¶
func (o SelectionConditionStringNotLikeOutput) Value() pulumi.StringOutput
Value for the filter.
type SelectionInput ¶
type SelectionInput interface {
pulumi.Input
ToSelectionOutput() SelectionOutput
ToSelectionOutputWithContext(ctx context.Context) SelectionOutput
}
type SelectionMap ¶
type SelectionMap map[string]SelectionInput
func (SelectionMap) ElementType ¶
func (SelectionMap) ElementType() reflect.Type
func (SelectionMap) ToSelectionMapOutput ¶
func (i SelectionMap) ToSelectionMapOutput() SelectionMapOutput
func (SelectionMap) ToSelectionMapOutputWithContext ¶
func (i SelectionMap) ToSelectionMapOutputWithContext(ctx context.Context) SelectionMapOutput
type SelectionMapInput ¶
type SelectionMapInput interface {
pulumi.Input
ToSelectionMapOutput() SelectionMapOutput
ToSelectionMapOutputWithContext(context.Context) SelectionMapOutput
}
SelectionMapInput is an input type that accepts SelectionMap and SelectionMapOutput values. You can construct a concrete instance of `SelectionMapInput` via:
SelectionMap{ "key": SelectionArgs{...} }
type SelectionMapOutput ¶
type SelectionMapOutput struct{ *pulumi.OutputState }
func (SelectionMapOutput) ElementType ¶
func (SelectionMapOutput) ElementType() reflect.Type
func (SelectionMapOutput) MapIndex ¶
func (o SelectionMapOutput) MapIndex(k pulumi.StringInput) SelectionOutput
func (SelectionMapOutput) ToSelectionMapOutput ¶
func (o SelectionMapOutput) ToSelectionMapOutput() SelectionMapOutput
func (SelectionMapOutput) ToSelectionMapOutputWithContext ¶
func (o SelectionMapOutput) ToSelectionMapOutputWithContext(ctx context.Context) SelectionMapOutput
type SelectionOutput ¶
type SelectionOutput struct{ *pulumi.OutputState }
func (SelectionOutput) Conditions ¶
func (o SelectionOutput) Conditions() SelectionConditionArrayOutput
Condition-based filters used to specify sets of resources for a backup plan. See below for details.
func (SelectionOutput) ElementType ¶
func (SelectionOutput) ElementType() reflect.Type
func (SelectionOutput) IamRoleArn ¶
func (o SelectionOutput) IamRoleArn() pulumi.StringOutput
The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
func (SelectionOutput) Name ¶
func (o SelectionOutput) Name() pulumi.StringOutput
The display name of a resource selection document.
func (SelectionOutput) NotResources ¶
func (o SelectionOutput) NotResources() pulumi.StringArrayOutput
An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to exclude from a backup plan.
func (SelectionOutput) PlanId ¶
func (o SelectionOutput) PlanId() pulumi.StringOutput
The backup plan ID to be associated with the selection of resources.
func (SelectionOutput) Region ¶
func (o SelectionOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (SelectionOutput) Resources ¶
func (o SelectionOutput) Resources() pulumi.StringArrayOutput
An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.
func (SelectionOutput) SelectionTags ¶
func (o SelectionOutput) SelectionTags() SelectionSelectionTagArrayOutput
Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
func (SelectionOutput) ToSelectionOutput ¶
func (o SelectionOutput) ToSelectionOutput() SelectionOutput
func (SelectionOutput) ToSelectionOutputWithContext ¶
func (o SelectionOutput) ToSelectionOutputWithContext(ctx context.Context) SelectionOutput
type SelectionSelectionTag ¶
type SelectionSelectionTagArgs ¶
type SelectionSelectionTagArgs struct {
// Key for the filter.
Key pulumi.StringInput `pulumi:"key"`
// An operation, such as `STRINGEQUALS`, that is applied to the key-value pair used to filter resources in a selection.
Type pulumi.StringInput `pulumi:"type"`
// Value for the filter.
Value pulumi.StringInput `pulumi:"value"`
}
func (SelectionSelectionTagArgs) ElementType ¶
func (SelectionSelectionTagArgs) ElementType() reflect.Type
func (SelectionSelectionTagArgs) ToSelectionSelectionTagOutput ¶
func (i SelectionSelectionTagArgs) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
func (SelectionSelectionTagArgs) ToSelectionSelectionTagOutputWithContext ¶
func (i SelectionSelectionTagArgs) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
type SelectionSelectionTagArray ¶
type SelectionSelectionTagArray []SelectionSelectionTagInput
func (SelectionSelectionTagArray) ElementType ¶
func (SelectionSelectionTagArray) ElementType() reflect.Type
func (SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput ¶
func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
func (SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext ¶
func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
type SelectionSelectionTagArrayInput ¶
type SelectionSelectionTagArrayInput interface {
pulumi.Input
ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
ToSelectionSelectionTagArrayOutputWithContext(context.Context) SelectionSelectionTagArrayOutput
}
SelectionSelectionTagArrayInput is an input type that accepts SelectionSelectionTagArray and SelectionSelectionTagArrayOutput values. You can construct a concrete instance of `SelectionSelectionTagArrayInput` via:
SelectionSelectionTagArray{ SelectionSelectionTagArgs{...} }
type SelectionSelectionTagArrayOutput ¶
type SelectionSelectionTagArrayOutput struct{ *pulumi.OutputState }
func (SelectionSelectionTagArrayOutput) ElementType ¶
func (SelectionSelectionTagArrayOutput) ElementType() reflect.Type
func (SelectionSelectionTagArrayOutput) Index ¶
func (o SelectionSelectionTagArrayOutput) Index(i pulumi.IntInput) SelectionSelectionTagOutput
func (SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput ¶
func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
func (SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext ¶
func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
type SelectionSelectionTagInput ¶
type SelectionSelectionTagInput interface {
pulumi.Input
ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
ToSelectionSelectionTagOutputWithContext(context.Context) SelectionSelectionTagOutput
}
SelectionSelectionTagInput is an input type that accepts SelectionSelectionTagArgs and SelectionSelectionTagOutput values. You can construct a concrete instance of `SelectionSelectionTagInput` via:
SelectionSelectionTagArgs{...}
type SelectionSelectionTagOutput ¶
type SelectionSelectionTagOutput struct{ *pulumi.OutputState }
func (SelectionSelectionTagOutput) ElementType ¶
func (SelectionSelectionTagOutput) ElementType() reflect.Type
func (SelectionSelectionTagOutput) Key ¶
func (o SelectionSelectionTagOutput) Key() pulumi.StringOutput
Key for the filter.
func (SelectionSelectionTagOutput) ToSelectionSelectionTagOutput ¶
func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
func (SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext ¶
func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
func (SelectionSelectionTagOutput) Type ¶
func (o SelectionSelectionTagOutput) Type() pulumi.StringOutput
An operation, such as `STRINGEQUALS`, that is applied to the key-value pair used to filter resources in a selection.
func (SelectionSelectionTagOutput) Value ¶
func (o SelectionSelectionTagOutput) Value() pulumi.StringOutput
Value for the filter.
type SelectionState ¶
type SelectionState struct {
// Condition-based filters used to specify sets of resources for a backup plan. See below for details.
Conditions SelectionConditionArrayInput
// The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
IamRoleArn pulumi.StringPtrInput
// The display name of a resource selection document.
Name pulumi.StringPtrInput
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to exclude from a backup plan.
NotResources pulumi.StringArrayInput
// The backup plan ID to be associated with the selection of resources.
PlanId pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.
Resources pulumi.StringArrayInput
// Tag-based conditions used to specify a set of resources to assign to a backup plan. See below for details.
SelectionTags SelectionSelectionTagArrayInput
}
func (SelectionState) ElementType ¶
func (SelectionState) ElementType() reflect.Type
type Vault ¶
type Vault struct {
pulumi.CustomResourceState
// The ARN of the vault.
Arn pulumi.StringOutput `pulumi:"arn"`
// A boolean that indicates that all recovery points stored in the vault are deleted so that the vault can be destroyed without error.
ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
// The server-side encryption key that is used to protect your backups.
KmsKeyArn pulumi.StringOutput `pulumi:"kmsKeyArn"`
// Name of the backup vault to create.
Name pulumi.StringOutput `pulumi:"name"`
// The number of recovery points that are stored in a backup vault.
RecoveryPoints pulumi.IntOutput `pulumi:"recoveryPoints"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// Metadata that you can assign to help organize the resources that you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Provides an AWS Backup vault resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewVault(ctx, "example", &backup.VaultArgs{
Name: pulumi.String("example_backup_vault"),
KmsKeyArn: pulumi.Any(exampleAwsKmsKey.Arn),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup vault using the `name`. For example:
```sh $ pulumi import aws:backup/vault:Vault test-vault TestVault ```
func GetVault ¶
func GetVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VaultState, opts ...pulumi.ResourceOption) (*Vault, error)
GetVault gets an existing Vault 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 NewVault ¶
func NewVault(ctx *pulumi.Context, name string, args *VaultArgs, opts ...pulumi.ResourceOption) (*Vault, error)
NewVault registers a new resource with the given unique name, arguments, and options.
func (*Vault) ElementType ¶
func (*Vault) ToVaultOutput ¶
func (i *Vault) ToVaultOutput() VaultOutput
func (*Vault) ToVaultOutputWithContext ¶
func (i *Vault) ToVaultOutputWithContext(ctx context.Context) VaultOutput
type VaultArgs ¶
type VaultArgs struct {
// A boolean that indicates that all recovery points stored in the vault are deleted so that the vault can be destroyed without error.
ForceDestroy pulumi.BoolPtrInput
// The server-side encryption key that is used to protect your backups.
KmsKeyArn pulumi.StringPtrInput
// Name of the backup vault to create.
Name pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Metadata that you can assign to help organize the resources that you create. .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 Vault resource.
func (VaultArgs) ElementType ¶
type VaultArray ¶
type VaultArray []VaultInput
func (VaultArray) ElementType ¶
func (VaultArray) ElementType() reflect.Type
func (VaultArray) ToVaultArrayOutput ¶
func (i VaultArray) ToVaultArrayOutput() VaultArrayOutput
func (VaultArray) ToVaultArrayOutputWithContext ¶
func (i VaultArray) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput
type VaultArrayInput ¶
type VaultArrayInput interface {
pulumi.Input
ToVaultArrayOutput() VaultArrayOutput
ToVaultArrayOutputWithContext(context.Context) VaultArrayOutput
}
VaultArrayInput is an input type that accepts VaultArray and VaultArrayOutput values. You can construct a concrete instance of `VaultArrayInput` via:
VaultArray{ VaultArgs{...} }
type VaultArrayOutput ¶
type VaultArrayOutput struct{ *pulumi.OutputState }
func (VaultArrayOutput) ElementType ¶
func (VaultArrayOutput) ElementType() reflect.Type
func (VaultArrayOutput) Index ¶
func (o VaultArrayOutput) Index(i pulumi.IntInput) VaultOutput
func (VaultArrayOutput) ToVaultArrayOutput ¶
func (o VaultArrayOutput) ToVaultArrayOutput() VaultArrayOutput
func (VaultArrayOutput) ToVaultArrayOutputWithContext ¶
func (o VaultArrayOutput) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput
type VaultInput ¶
type VaultInput interface {
pulumi.Input
ToVaultOutput() VaultOutput
ToVaultOutputWithContext(ctx context.Context) VaultOutput
}
type VaultLockConfiguration ¶
type VaultLockConfiguration struct {
pulumi.CustomResourceState
// The ARN of the vault.
BackupVaultArn pulumi.StringOutput `pulumi:"backupVaultArn"`
// Name of the backup vault to add a lock configuration for.
BackupVaultName pulumi.StringOutput `pulumi:"backupVaultName"`
// The number of days before the lock date. If omitted creates a vault lock in `governance` mode, otherwise it will create a vault lock in `compliance` mode.
ChangeableForDays pulumi.IntPtrOutput `pulumi:"changeableForDays"`
// The maximum retention period that the vault retains its recovery points.
MaxRetentionDays pulumi.IntPtrOutput `pulumi:"maxRetentionDays"`
// The minimum retention period that the vault retains its recovery points.
MinRetentionDays pulumi.IntPtrOutput `pulumi:"minRetentionDays"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
}
Provides an AWS Backup vault lock configuration resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewVaultLockConfiguration(ctx, "test", &backup.VaultLockConfigurationArgs{
BackupVaultName: pulumi.String("example_backup_vault"),
ChangeableForDays: pulumi.Int(3),
MaxRetentionDays: pulumi.Int(1200),
MinRetentionDays: pulumi.Int(7),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup vault lock configuration using the `name`. For example:
```sh $ pulumi import aws:backup/vaultLockConfiguration:VaultLockConfiguration test TestVault ```
func GetVaultLockConfiguration ¶
func GetVaultLockConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VaultLockConfigurationState, opts ...pulumi.ResourceOption) (*VaultLockConfiguration, error)
GetVaultLockConfiguration gets an existing VaultLockConfiguration 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 NewVaultLockConfiguration ¶
func NewVaultLockConfiguration(ctx *pulumi.Context, name string, args *VaultLockConfigurationArgs, opts ...pulumi.ResourceOption) (*VaultLockConfiguration, error)
NewVaultLockConfiguration registers a new resource with the given unique name, arguments, and options.
func (*VaultLockConfiguration) ElementType ¶
func (*VaultLockConfiguration) ElementType() reflect.Type
func (*VaultLockConfiguration) ToVaultLockConfigurationOutput ¶
func (i *VaultLockConfiguration) ToVaultLockConfigurationOutput() VaultLockConfigurationOutput
func (*VaultLockConfiguration) ToVaultLockConfigurationOutputWithContext ¶
func (i *VaultLockConfiguration) ToVaultLockConfigurationOutputWithContext(ctx context.Context) VaultLockConfigurationOutput
type VaultLockConfigurationArgs ¶
type VaultLockConfigurationArgs struct {
// Name of the backup vault to add a lock configuration for.
BackupVaultName pulumi.StringInput
// The number of days before the lock date. If omitted creates a vault lock in `governance` mode, otherwise it will create a vault lock in `compliance` mode.
ChangeableForDays pulumi.IntPtrInput
// The maximum retention period that the vault retains its recovery points.
MaxRetentionDays pulumi.IntPtrInput
// The minimum retention period that the vault retains its recovery points.
MinRetentionDays pulumi.IntPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
}
The set of arguments for constructing a VaultLockConfiguration resource.
func (VaultLockConfigurationArgs) ElementType ¶
func (VaultLockConfigurationArgs) ElementType() reflect.Type
type VaultLockConfigurationArray ¶
type VaultLockConfigurationArray []VaultLockConfigurationInput
func (VaultLockConfigurationArray) ElementType ¶
func (VaultLockConfigurationArray) ElementType() reflect.Type
func (VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutput ¶
func (i VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutput() VaultLockConfigurationArrayOutput
func (VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutputWithContext ¶
func (i VaultLockConfigurationArray) ToVaultLockConfigurationArrayOutputWithContext(ctx context.Context) VaultLockConfigurationArrayOutput
type VaultLockConfigurationArrayInput ¶
type VaultLockConfigurationArrayInput interface {
pulumi.Input
ToVaultLockConfigurationArrayOutput() VaultLockConfigurationArrayOutput
ToVaultLockConfigurationArrayOutputWithContext(context.Context) VaultLockConfigurationArrayOutput
}
VaultLockConfigurationArrayInput is an input type that accepts VaultLockConfigurationArray and VaultLockConfigurationArrayOutput values. You can construct a concrete instance of `VaultLockConfigurationArrayInput` via:
VaultLockConfigurationArray{ VaultLockConfigurationArgs{...} }
type VaultLockConfigurationArrayOutput ¶
type VaultLockConfigurationArrayOutput struct{ *pulumi.OutputState }
func (VaultLockConfigurationArrayOutput) ElementType ¶
func (VaultLockConfigurationArrayOutput) ElementType() reflect.Type
func (VaultLockConfigurationArrayOutput) Index ¶
func (o VaultLockConfigurationArrayOutput) Index(i pulumi.IntInput) VaultLockConfigurationOutput
func (VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutput ¶
func (o VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutput() VaultLockConfigurationArrayOutput
func (VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutputWithContext ¶
func (o VaultLockConfigurationArrayOutput) ToVaultLockConfigurationArrayOutputWithContext(ctx context.Context) VaultLockConfigurationArrayOutput
type VaultLockConfigurationInput ¶
type VaultLockConfigurationInput interface {
pulumi.Input
ToVaultLockConfigurationOutput() VaultLockConfigurationOutput
ToVaultLockConfigurationOutputWithContext(ctx context.Context) VaultLockConfigurationOutput
}
type VaultLockConfigurationMap ¶
type VaultLockConfigurationMap map[string]VaultLockConfigurationInput
func (VaultLockConfigurationMap) ElementType ¶
func (VaultLockConfigurationMap) ElementType() reflect.Type
func (VaultLockConfigurationMap) ToVaultLockConfigurationMapOutput ¶
func (i VaultLockConfigurationMap) ToVaultLockConfigurationMapOutput() VaultLockConfigurationMapOutput
func (VaultLockConfigurationMap) ToVaultLockConfigurationMapOutputWithContext ¶
func (i VaultLockConfigurationMap) ToVaultLockConfigurationMapOutputWithContext(ctx context.Context) VaultLockConfigurationMapOutput
type VaultLockConfigurationMapInput ¶
type VaultLockConfigurationMapInput interface {
pulumi.Input
ToVaultLockConfigurationMapOutput() VaultLockConfigurationMapOutput
ToVaultLockConfigurationMapOutputWithContext(context.Context) VaultLockConfigurationMapOutput
}
VaultLockConfigurationMapInput is an input type that accepts VaultLockConfigurationMap and VaultLockConfigurationMapOutput values. You can construct a concrete instance of `VaultLockConfigurationMapInput` via:
VaultLockConfigurationMap{ "key": VaultLockConfigurationArgs{...} }
type VaultLockConfigurationMapOutput ¶
type VaultLockConfigurationMapOutput struct{ *pulumi.OutputState }
func (VaultLockConfigurationMapOutput) ElementType ¶
func (VaultLockConfigurationMapOutput) ElementType() reflect.Type
func (VaultLockConfigurationMapOutput) MapIndex ¶
func (o VaultLockConfigurationMapOutput) MapIndex(k pulumi.StringInput) VaultLockConfigurationOutput
func (VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutput ¶
func (o VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutput() VaultLockConfigurationMapOutput
func (VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutputWithContext ¶
func (o VaultLockConfigurationMapOutput) ToVaultLockConfigurationMapOutputWithContext(ctx context.Context) VaultLockConfigurationMapOutput
type VaultLockConfigurationOutput ¶
type VaultLockConfigurationOutput struct{ *pulumi.OutputState }
func (VaultLockConfigurationOutput) BackupVaultArn ¶
func (o VaultLockConfigurationOutput) BackupVaultArn() pulumi.StringOutput
The ARN of the vault.
func (VaultLockConfigurationOutput) BackupVaultName ¶
func (o VaultLockConfigurationOutput) BackupVaultName() pulumi.StringOutput
Name of the backup vault to add a lock configuration for.
func (VaultLockConfigurationOutput) ChangeableForDays ¶
func (o VaultLockConfigurationOutput) ChangeableForDays() pulumi.IntPtrOutput
The number of days before the lock date. If omitted creates a vault lock in `governance` mode, otherwise it will create a vault lock in `compliance` mode.
func (VaultLockConfigurationOutput) ElementType ¶
func (VaultLockConfigurationOutput) ElementType() reflect.Type
func (VaultLockConfigurationOutput) MaxRetentionDays ¶
func (o VaultLockConfigurationOutput) MaxRetentionDays() pulumi.IntPtrOutput
The maximum retention period that the vault retains its recovery points.
func (VaultLockConfigurationOutput) MinRetentionDays ¶
func (o VaultLockConfigurationOutput) MinRetentionDays() pulumi.IntPtrOutput
The minimum retention period that the vault retains its recovery points.
func (VaultLockConfigurationOutput) Region ¶
func (o VaultLockConfigurationOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (VaultLockConfigurationOutput) ToVaultLockConfigurationOutput ¶
func (o VaultLockConfigurationOutput) ToVaultLockConfigurationOutput() VaultLockConfigurationOutput
func (VaultLockConfigurationOutput) ToVaultLockConfigurationOutputWithContext ¶
func (o VaultLockConfigurationOutput) ToVaultLockConfigurationOutputWithContext(ctx context.Context) VaultLockConfigurationOutput
type VaultLockConfigurationState ¶
type VaultLockConfigurationState struct {
// The ARN of the vault.
BackupVaultArn pulumi.StringPtrInput
// Name of the backup vault to add a lock configuration for.
BackupVaultName pulumi.StringPtrInput
// The number of days before the lock date. If omitted creates a vault lock in `governance` mode, otherwise it will create a vault lock in `compliance` mode.
ChangeableForDays pulumi.IntPtrInput
// The maximum retention period that the vault retains its recovery points.
MaxRetentionDays pulumi.IntPtrInput
// The minimum retention period that the vault retains its recovery points.
MinRetentionDays pulumi.IntPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
}
func (VaultLockConfigurationState) ElementType ¶
func (VaultLockConfigurationState) ElementType() reflect.Type
type VaultMap ¶
type VaultMap map[string]VaultInput
func (VaultMap) ElementType ¶
func (VaultMap) ToVaultMapOutput ¶
func (i VaultMap) ToVaultMapOutput() VaultMapOutput
func (VaultMap) ToVaultMapOutputWithContext ¶
func (i VaultMap) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput
type VaultMapInput ¶
type VaultMapInput interface {
pulumi.Input
ToVaultMapOutput() VaultMapOutput
ToVaultMapOutputWithContext(context.Context) VaultMapOutput
}
VaultMapInput is an input type that accepts VaultMap and VaultMapOutput values. You can construct a concrete instance of `VaultMapInput` via:
VaultMap{ "key": VaultArgs{...} }
type VaultMapOutput ¶
type VaultMapOutput struct{ *pulumi.OutputState }
func (VaultMapOutput) ElementType ¶
func (VaultMapOutput) ElementType() reflect.Type
func (VaultMapOutput) MapIndex ¶
func (o VaultMapOutput) MapIndex(k pulumi.StringInput) VaultOutput
func (VaultMapOutput) ToVaultMapOutput ¶
func (o VaultMapOutput) ToVaultMapOutput() VaultMapOutput
func (VaultMapOutput) ToVaultMapOutputWithContext ¶
func (o VaultMapOutput) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput
type VaultNotifications ¶
type VaultNotifications struct {
pulumi.CustomResourceState
// The ARN of the vault.
BackupVaultArn pulumi.StringOutput `pulumi:"backupVaultArn"`
// An array of events that indicate the status of jobs to back up resources to the backup vault.
BackupVaultEvents pulumi.StringArrayOutput `pulumi:"backupVaultEvents"`
// Name of the backup vault to add notifications for.
BackupVaultName pulumi.StringOutput `pulumi:"backupVaultName"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events
SnsTopicArn pulumi.StringOutput `pulumi:"snsTopicArn"`
}
Provides an AWS Backup vault notifications resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testTopic, err := sns.NewTopic(ctx, "test", &sns.TopicArgs{
Name: pulumi.String("backup-vault-events"),
})
if err != nil {
return err
}
test := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
PolicyId: pulumi.String("__default_policy_ID"),
Statements: iam.GetPolicyDocumentStatementArray{
&iam.GetPolicyDocumentStatementArgs{
Actions: pulumi.StringArray{
pulumi.String("SNS:Publish"),
},
Effect: pulumi.String("Allow"),
Principals: iam.GetPolicyDocumentStatementPrincipalArray{
&iam.GetPolicyDocumentStatementPrincipalArgs{
Type: pulumi.String("Service"),
Identifiers: pulumi.StringArray{
pulumi.String("backup.amazonaws.com"),
},
},
},
Resources: pulumi.StringArray{
testTopic.Arn,
},
Sid: pulumi.String("__default_statement_ID"),
},
},
}, nil)
_, err = sns.NewTopicPolicy(ctx, "test", &sns.TopicPolicyArgs{
Arn: testTopic.Arn,
Policy: pulumi.String(test.ApplyT(func(test iam.GetPolicyDocumentResult) (*string, error) {
return &test.Json, nil
}).(pulumi.StringPtrOutput)),
})
if err != nil {
return err
}
_, err = backup.NewVaultNotifications(ctx, "test", &backup.VaultNotificationsArgs{
BackupVaultName: pulumi.String("example_backup_vault"),
SnsTopicArn: testTopic.Arn,
BackupVaultEvents: pulumi.StringArray{
pulumi.String("BACKUP_JOB_STARTED"),
pulumi.String("RESTORE_JOB_COMPLETED"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import Backup vault notifications using the `name`. For example:
```sh $ pulumi import aws:backup/vaultNotifications:VaultNotifications test TestVault ```
func GetVaultNotifications ¶
func GetVaultNotifications(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VaultNotificationsState, opts ...pulumi.ResourceOption) (*VaultNotifications, error)
GetVaultNotifications gets an existing VaultNotifications 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 NewVaultNotifications ¶
func NewVaultNotifications(ctx *pulumi.Context, name string, args *VaultNotificationsArgs, opts ...pulumi.ResourceOption) (*VaultNotifications, error)
NewVaultNotifications registers a new resource with the given unique name, arguments, and options.
func (*VaultNotifications) ElementType ¶
func (*VaultNotifications) ElementType() reflect.Type
func (*VaultNotifications) ToVaultNotificationsOutput ¶
func (i *VaultNotifications) ToVaultNotificationsOutput() VaultNotificationsOutput
func (*VaultNotifications) ToVaultNotificationsOutputWithContext ¶
func (i *VaultNotifications) ToVaultNotificationsOutputWithContext(ctx context.Context) VaultNotificationsOutput
type VaultNotificationsArgs ¶
type VaultNotificationsArgs struct {
// An array of events that indicate the status of jobs to back up resources to the backup vault.
BackupVaultEvents pulumi.StringArrayInput
// Name of the backup vault to add notifications for.
BackupVaultName pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events
SnsTopicArn pulumi.StringInput
}
The set of arguments for constructing a VaultNotifications resource.
func (VaultNotificationsArgs) ElementType ¶
func (VaultNotificationsArgs) ElementType() reflect.Type
type VaultNotificationsArray ¶
type VaultNotificationsArray []VaultNotificationsInput
func (VaultNotificationsArray) ElementType ¶
func (VaultNotificationsArray) ElementType() reflect.Type
func (VaultNotificationsArray) ToVaultNotificationsArrayOutput ¶
func (i VaultNotificationsArray) ToVaultNotificationsArrayOutput() VaultNotificationsArrayOutput
func (VaultNotificationsArray) ToVaultNotificationsArrayOutputWithContext ¶
func (i VaultNotificationsArray) ToVaultNotificationsArrayOutputWithContext(ctx context.Context) VaultNotificationsArrayOutput
type VaultNotificationsArrayInput ¶
type VaultNotificationsArrayInput interface {
pulumi.Input
ToVaultNotificationsArrayOutput() VaultNotificationsArrayOutput
ToVaultNotificationsArrayOutputWithContext(context.Context) VaultNotificationsArrayOutput
}
VaultNotificationsArrayInput is an input type that accepts VaultNotificationsArray and VaultNotificationsArrayOutput values. You can construct a concrete instance of `VaultNotificationsArrayInput` via:
VaultNotificationsArray{ VaultNotificationsArgs{...} }
type VaultNotificationsArrayOutput ¶
type VaultNotificationsArrayOutput struct{ *pulumi.OutputState }
func (VaultNotificationsArrayOutput) ElementType ¶
func (VaultNotificationsArrayOutput) ElementType() reflect.Type
func (VaultNotificationsArrayOutput) Index ¶
func (o VaultNotificationsArrayOutput) Index(i pulumi.IntInput) VaultNotificationsOutput
func (VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutput ¶
func (o VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutput() VaultNotificationsArrayOutput
func (VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutputWithContext ¶
func (o VaultNotificationsArrayOutput) ToVaultNotificationsArrayOutputWithContext(ctx context.Context) VaultNotificationsArrayOutput
type VaultNotificationsInput ¶
type VaultNotificationsInput interface {
pulumi.Input
ToVaultNotificationsOutput() VaultNotificationsOutput
ToVaultNotificationsOutputWithContext(ctx context.Context) VaultNotificationsOutput
}
type VaultNotificationsMap ¶
type VaultNotificationsMap map[string]VaultNotificationsInput
func (VaultNotificationsMap) ElementType ¶
func (VaultNotificationsMap) ElementType() reflect.Type
func (VaultNotificationsMap) ToVaultNotificationsMapOutput ¶
func (i VaultNotificationsMap) ToVaultNotificationsMapOutput() VaultNotificationsMapOutput
func (VaultNotificationsMap) ToVaultNotificationsMapOutputWithContext ¶
func (i VaultNotificationsMap) ToVaultNotificationsMapOutputWithContext(ctx context.Context) VaultNotificationsMapOutput
type VaultNotificationsMapInput ¶
type VaultNotificationsMapInput interface {
pulumi.Input
ToVaultNotificationsMapOutput() VaultNotificationsMapOutput
ToVaultNotificationsMapOutputWithContext(context.Context) VaultNotificationsMapOutput
}
VaultNotificationsMapInput is an input type that accepts VaultNotificationsMap and VaultNotificationsMapOutput values. You can construct a concrete instance of `VaultNotificationsMapInput` via:
VaultNotificationsMap{ "key": VaultNotificationsArgs{...} }
type VaultNotificationsMapOutput ¶
type VaultNotificationsMapOutput struct{ *pulumi.OutputState }
func (VaultNotificationsMapOutput) ElementType ¶
func (VaultNotificationsMapOutput) ElementType() reflect.Type
func (VaultNotificationsMapOutput) MapIndex ¶
func (o VaultNotificationsMapOutput) MapIndex(k pulumi.StringInput) VaultNotificationsOutput
func (VaultNotificationsMapOutput) ToVaultNotificationsMapOutput ¶
func (o VaultNotificationsMapOutput) ToVaultNotificationsMapOutput() VaultNotificationsMapOutput
func (VaultNotificationsMapOutput) ToVaultNotificationsMapOutputWithContext ¶
func (o VaultNotificationsMapOutput) ToVaultNotificationsMapOutputWithContext(ctx context.Context) VaultNotificationsMapOutput
type VaultNotificationsOutput ¶
type VaultNotificationsOutput struct{ *pulumi.OutputState }
func (VaultNotificationsOutput) BackupVaultArn ¶
func (o VaultNotificationsOutput) BackupVaultArn() pulumi.StringOutput
The ARN of the vault.
func (VaultNotificationsOutput) BackupVaultEvents ¶
func (o VaultNotificationsOutput) BackupVaultEvents() pulumi.StringArrayOutput
An array of events that indicate the status of jobs to back up resources to the backup vault.
func (VaultNotificationsOutput) BackupVaultName ¶
func (o VaultNotificationsOutput) BackupVaultName() pulumi.StringOutput
Name of the backup vault to add notifications for.
func (VaultNotificationsOutput) ElementType ¶
func (VaultNotificationsOutput) ElementType() reflect.Type
func (VaultNotificationsOutput) Region ¶
func (o VaultNotificationsOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (VaultNotificationsOutput) SnsTopicArn ¶
func (o VaultNotificationsOutput) SnsTopicArn() pulumi.StringOutput
The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events
func (VaultNotificationsOutput) ToVaultNotificationsOutput ¶
func (o VaultNotificationsOutput) ToVaultNotificationsOutput() VaultNotificationsOutput
func (VaultNotificationsOutput) ToVaultNotificationsOutputWithContext ¶
func (o VaultNotificationsOutput) ToVaultNotificationsOutputWithContext(ctx context.Context) VaultNotificationsOutput
type VaultNotificationsState ¶
type VaultNotificationsState struct {
// The ARN of the vault.
BackupVaultArn pulumi.StringPtrInput
// An array of events that indicate the status of jobs to back up resources to the backup vault.
BackupVaultEvents pulumi.StringArrayInput
// Name of the backup vault to add notifications for.
BackupVaultName pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events
SnsTopicArn pulumi.StringPtrInput
}
func (VaultNotificationsState) ElementType ¶
func (VaultNotificationsState) ElementType() reflect.Type
type VaultOutput ¶
type VaultOutput struct{ *pulumi.OutputState }
func (VaultOutput) ElementType ¶
func (VaultOutput) ElementType() reflect.Type
func (VaultOutput) ForceDestroy ¶
func (o VaultOutput) ForceDestroy() pulumi.BoolPtrOutput
A boolean that indicates that all recovery points stored in the vault are deleted so that the vault can be destroyed without error.
func (VaultOutput) KmsKeyArn ¶
func (o VaultOutput) KmsKeyArn() pulumi.StringOutput
The server-side encryption key that is used to protect your backups.
func (VaultOutput) Name ¶
func (o VaultOutput) Name() pulumi.StringOutput
Name of the backup vault to create.
func (VaultOutput) RecoveryPoints ¶
func (o VaultOutput) RecoveryPoints() pulumi.IntOutput
The number of recovery points that are stored in a backup vault.
func (VaultOutput) Region ¶
func (o VaultOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (VaultOutput) Tags ¶
func (o VaultOutput) Tags() pulumi.StringMapOutput
Metadata that you can assign to help organize the resources that you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (VaultOutput) TagsAll ¶
func (o VaultOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (VaultOutput) ToVaultOutput ¶
func (o VaultOutput) ToVaultOutput() VaultOutput
func (VaultOutput) ToVaultOutputWithContext ¶
func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput
type VaultPolicy ¶
type VaultPolicy struct {
pulumi.CustomResourceState
// The ARN of the vault.
BackupVaultArn pulumi.StringOutput `pulumi:"backupVaultArn"`
// Name of the backup vault to add policy for.
BackupVaultName pulumi.StringOutput `pulumi:"backupVaultName"`
// The backup vault access policy document in JSON format.
Policy pulumi.StringOutput `pulumi:"policy"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
}
Provides an AWS Backup vault policy resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws" "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup" "github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{ }, nil); if err != nil { return err } exampleVault, err := backup.NewVault(ctx, "example", &backup.VaultArgs{ Name: pulumi.String("example"), }) if err != nil { return err } example := exampleVault.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { return iam.GetPolicyDocumentResult(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef(pulumi.String(pulumi.StringRef("Allow"))), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: interface{}{ current.AccountId, }, }, }, Actions: []string{ "backup:DescribeBackupVault", "backup:DeleteBackupVault", "backup:PutBackupVaultAccessPolicy", "backup:DeleteBackupVaultAccessPolicy", "backup:GetBackupVaultAccessPolicy", "backup:StartBackupJob", "backup:GetBackupVaultNotifications", "backup:PutBackupVaultNotifications", }, Resources: []string{ arn, }, }, }, }, nil)), nil }).(iam.GetPolicyDocumentResultOutput) _, err = backup.NewVaultPolicy(ctx, "example", &backup.VaultPolicyArgs{ BackupVaultName: exampleVault.Name, Policy: pulumi.String(example.Json), }) if err != nil { return err } return nil }) } ```
## Import
Using `pulumi import`, import Backup vault policy using the `name`. For example:
```sh $ pulumi import aws:backup/vaultPolicy:VaultPolicy test TestVault ```
func GetVaultPolicy ¶
func GetVaultPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VaultPolicyState, opts ...pulumi.ResourceOption) (*VaultPolicy, error)
GetVaultPolicy gets an existing VaultPolicy 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 NewVaultPolicy ¶
func NewVaultPolicy(ctx *pulumi.Context, name string, args *VaultPolicyArgs, opts ...pulumi.ResourceOption) (*VaultPolicy, error)
NewVaultPolicy registers a new resource with the given unique name, arguments, and options.
func (*VaultPolicy) ElementType ¶
func (*VaultPolicy) ElementType() reflect.Type
func (*VaultPolicy) ToVaultPolicyOutput ¶
func (i *VaultPolicy) ToVaultPolicyOutput() VaultPolicyOutput
func (*VaultPolicy) ToVaultPolicyOutputWithContext ¶
func (i *VaultPolicy) ToVaultPolicyOutputWithContext(ctx context.Context) VaultPolicyOutput
type VaultPolicyArgs ¶
type VaultPolicyArgs struct {
// Name of the backup vault to add policy for.
BackupVaultName pulumi.StringInput
// The backup vault access policy document in JSON format.
Policy pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
}
The set of arguments for constructing a VaultPolicy resource.
func (VaultPolicyArgs) ElementType ¶
func (VaultPolicyArgs) ElementType() reflect.Type
type VaultPolicyArray ¶
type VaultPolicyArray []VaultPolicyInput
func (VaultPolicyArray) ElementType ¶
func (VaultPolicyArray) ElementType() reflect.Type
func (VaultPolicyArray) ToVaultPolicyArrayOutput ¶
func (i VaultPolicyArray) ToVaultPolicyArrayOutput() VaultPolicyArrayOutput
func (VaultPolicyArray) ToVaultPolicyArrayOutputWithContext ¶
func (i VaultPolicyArray) ToVaultPolicyArrayOutputWithContext(ctx context.Context) VaultPolicyArrayOutput
type VaultPolicyArrayInput ¶
type VaultPolicyArrayInput interface {
pulumi.Input
ToVaultPolicyArrayOutput() VaultPolicyArrayOutput
ToVaultPolicyArrayOutputWithContext(context.Context) VaultPolicyArrayOutput
}
VaultPolicyArrayInput is an input type that accepts VaultPolicyArray and VaultPolicyArrayOutput values. You can construct a concrete instance of `VaultPolicyArrayInput` via:
VaultPolicyArray{ VaultPolicyArgs{...} }
type VaultPolicyArrayOutput ¶
type VaultPolicyArrayOutput struct{ *pulumi.OutputState }
func (VaultPolicyArrayOutput) ElementType ¶
func (VaultPolicyArrayOutput) ElementType() reflect.Type
func (VaultPolicyArrayOutput) Index ¶
func (o VaultPolicyArrayOutput) Index(i pulumi.IntInput) VaultPolicyOutput
func (VaultPolicyArrayOutput) ToVaultPolicyArrayOutput ¶
func (o VaultPolicyArrayOutput) ToVaultPolicyArrayOutput() VaultPolicyArrayOutput
func (VaultPolicyArrayOutput) ToVaultPolicyArrayOutputWithContext ¶
func (o VaultPolicyArrayOutput) ToVaultPolicyArrayOutputWithContext(ctx context.Context) VaultPolicyArrayOutput
type VaultPolicyInput ¶
type VaultPolicyInput interface {
pulumi.Input
ToVaultPolicyOutput() VaultPolicyOutput
ToVaultPolicyOutputWithContext(ctx context.Context) VaultPolicyOutput
}
type VaultPolicyMap ¶
type VaultPolicyMap map[string]VaultPolicyInput
func (VaultPolicyMap) ElementType ¶
func (VaultPolicyMap) ElementType() reflect.Type
func (VaultPolicyMap) ToVaultPolicyMapOutput ¶
func (i VaultPolicyMap) ToVaultPolicyMapOutput() VaultPolicyMapOutput
func (VaultPolicyMap) ToVaultPolicyMapOutputWithContext ¶
func (i VaultPolicyMap) ToVaultPolicyMapOutputWithContext(ctx context.Context) VaultPolicyMapOutput
type VaultPolicyMapInput ¶
type VaultPolicyMapInput interface {
pulumi.Input
ToVaultPolicyMapOutput() VaultPolicyMapOutput
ToVaultPolicyMapOutputWithContext(context.Context) VaultPolicyMapOutput
}
VaultPolicyMapInput is an input type that accepts VaultPolicyMap and VaultPolicyMapOutput values. You can construct a concrete instance of `VaultPolicyMapInput` via:
VaultPolicyMap{ "key": VaultPolicyArgs{...} }
type VaultPolicyMapOutput ¶
type VaultPolicyMapOutput struct{ *pulumi.OutputState }
func (VaultPolicyMapOutput) ElementType ¶
func (VaultPolicyMapOutput) ElementType() reflect.Type
func (VaultPolicyMapOutput) MapIndex ¶
func (o VaultPolicyMapOutput) MapIndex(k pulumi.StringInput) VaultPolicyOutput
func (VaultPolicyMapOutput) ToVaultPolicyMapOutput ¶
func (o VaultPolicyMapOutput) ToVaultPolicyMapOutput() VaultPolicyMapOutput
func (VaultPolicyMapOutput) ToVaultPolicyMapOutputWithContext ¶
func (o VaultPolicyMapOutput) ToVaultPolicyMapOutputWithContext(ctx context.Context) VaultPolicyMapOutput
type VaultPolicyOutput ¶
type VaultPolicyOutput struct{ *pulumi.OutputState }
func (VaultPolicyOutput) BackupVaultArn ¶
func (o VaultPolicyOutput) BackupVaultArn() pulumi.StringOutput
The ARN of the vault.
func (VaultPolicyOutput) BackupVaultName ¶
func (o VaultPolicyOutput) BackupVaultName() pulumi.StringOutput
Name of the backup vault to add policy for.
func (VaultPolicyOutput) ElementType ¶
func (VaultPolicyOutput) ElementType() reflect.Type
func (VaultPolicyOutput) Policy ¶
func (o VaultPolicyOutput) Policy() pulumi.StringOutput
The backup vault access policy document in JSON format.
func (VaultPolicyOutput) Region ¶
func (o VaultPolicyOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (VaultPolicyOutput) ToVaultPolicyOutput ¶
func (o VaultPolicyOutput) ToVaultPolicyOutput() VaultPolicyOutput
func (VaultPolicyOutput) ToVaultPolicyOutputWithContext ¶
func (o VaultPolicyOutput) ToVaultPolicyOutputWithContext(ctx context.Context) VaultPolicyOutput
type VaultPolicyState ¶
type VaultPolicyState struct {
// The ARN of the vault.
BackupVaultArn pulumi.StringPtrInput
// Name of the backup vault to add policy for.
BackupVaultName pulumi.StringPtrInput
// The backup vault access policy document in JSON format.
Policy pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
}
func (VaultPolicyState) ElementType ¶
func (VaultPolicyState) ElementType() reflect.Type
type VaultState ¶
type VaultState struct {
// The ARN of the vault.
Arn pulumi.StringPtrInput
// A boolean that indicates that all recovery points stored in the vault are deleted so that the vault can be destroyed without error.
ForceDestroy pulumi.BoolPtrInput
// The server-side encryption key that is used to protect your backups.
KmsKeyArn pulumi.StringPtrInput
// Name of the backup vault to create.
Name pulumi.StringPtrInput
// The number of recovery points that are stored in a backup vault.
RecoveryPoints pulumi.IntPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Metadata that you can assign to help organize the resources that you create. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (VaultState) ElementType ¶
func (VaultState) ElementType() reflect.Type
Source Files
¶
- framework.go
- getFramework.go
- getPlan.go
- getReportPlan.go
- getSelection.go
- getVault.go
- globalSettings.go
- init.go
- logicallyAirGappedVault.go
- plan.go
- pulumiTypes.go
- regionSettings.go
- reportPlan.go
- restoreTestingPlan.go
- restoreTestingSelection.go
- selection.go
- vault.go
- vaultLockConfiguration.go
- vaultNotifications.go
- vaultPolicy.go