Interface PolicyResourceOptions

PolicyResourceOptions is the bag of settings that control a resource's behavior.

interface PolicyResourceOptions {
    additionalSecretOutputs: string[];
    aliases: string[];
    customTimeouts: PolicyCustomTimeouts;
    deleteBeforeReplace?: boolean;
    ignoreChanges: string[];
    protect: boolean;
}

Properties

additionalSecretOutputs: string[]

Outputs that should always be treated as secrets.

aliases: string[]

Additional URNs that should be aliased to this resource.

customTimeouts: PolicyCustomTimeouts

Custom timeouts for resource create, update, and delete operations.

deleteBeforeReplace?: boolean

When set to true, indicates that this resource should be deleted before its replacement is created when replacement is necessary.

ignoreChanges: string[]

Ignore changes to any of the specified properties.

protect: boolean

When set to true, protect ensures this resource cannot be deleted.

Generated using TypeDoc