AwsOrganizationsPolicyCapabilityArgs

interface AwsOrganizationsPolicyCapabilityArgs extends Omit<aws.organizations.PolicyArgs, 'content'> { content: AwsOrganizationsPolicyDocumentTemplate; description?: Input<string | undefined>; name?: Input<string | undefined>; skipDestroy?: Input<boolean | undefined>; tags?: Input<{ [key: string]: Input<string> } | undefined>; type?: Input<string | undefined>; }

Policy capability arguments.

Hierarchy

  • PolicyArgs, "content">
  • AwsOrganizationsPolicyCapabilityArgs

Properties

content: AwsOrganizationsPolicyDocumentTemplate

JSON file/template input for the policy content.

description: Input<string | undefined>

Inherited from description

A description to assign to the policy.

name: Input<string | undefined>

Inherited from name

The friendly name to assign to the policy.

skipDestroy: Input<boolean | undefined>

Inherited from skipDestroy

If set to true, destroy will not delete the policy and instead just remove the resource from state. This can be useful in situations where the policies (and the associated attachment) must be preserved to meet the AWS minimum requirement of 1 attached policy.

tags: Input<{ [key: string]: Input<string> } | undefined>

Inherited from tags

Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

type: Input<string | undefined>

Inherited from type

The type of policy to create. Valid values are AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, BEDROCK_POLICY, CHATBOT_POLICY, DECLARATIVE_POLICY_EC2, INSPECTOR_POLICY, RESOURCE_CONTROL_POLICY (RCP), S3_POLICY, SECURITYHUB_POLICY, SERVICE_CONTROL_POLICY (SCP), TAG_POLICY, and UPGRADE_ROLLOUT_POLICY. Defaults to SERVICE_CONTROL_POLICY.