@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [: PolicyGroup;
/**
* Returns true if the given object is an instance of PolicyGroup. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is PolicyGroup;
/**
* List of accounts that belong to this policy group.
*/
readonly accounts: pulumi.Output<string[] | undefined>;
/**
* The entity type for the policy group. Valid values are 'stacks' or 'accounts'. Defaults to 'stacks'.
*/
readonly entityType: pulumi.Output<string>;
/**
* The mode for the policy group. Valid values are 'audit' (reports violations) or 'preventative' (blocks operations). Defaults to 'audit'.
*/
readonly mode: pulumi.Output<string>;
/**
* The name of the policy group.
*/
readonly name: pulumi.Output<string>;
/**
* The name of the Pulumi organization the policy group belongs to.
*/
readonly organizationName: pulumi.Output<string>;
/**
* List of policy packs applied to this policy group.
*/
readonly policyPacks: pulumi.Output<outputs.PolicyGroupPolicyPackReference[] | undefined>;
/**
* List of stack references that belong to this policy group.
*/
readonly stacks: pulumi.Output<outputs.PolicyGroupStackReference[] | undefined>;
/**
* Create a PolicyGroup resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: PolicyGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a PolicyGroup resource.
*/
export interface PolicyGroupArgs {
/**
* List of accounts that belong to this policy group.
*/
accounts?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* The entity type for the policy group. Valid values are 'stacks' or 'accounts'. Defaults to 'stacks'.
*/
entityType?: pulumi.Input<string | undefined>;
/**
* The mode for the policy group. Valid values are 'audit' (reports violations) or 'preventative' (blocks operations). Defaults to 'audit'.
*/
mode?: pulumi.Input<string | undefined>;
/**
* The name of the policy group.
*/
name: pulumi.Input<string>;
/**
* The name of the Pulumi organization the policy group belongs to.
*/
organizationName: pulumi.Input<string>;
/**
* List of policy packs applied to this policy group.
*/
policyPacks?: pulumi.Input<pulumi.Input<inputs.PolicyGroupPolicyPackReferenceInputArgs>[] | undefined>;
/**
* List of stack references that belong to this policy group.
*/
stacks?: pulumi.Input<pulumi.Input<inputs.PolicyGroupStackReferenceArgs>[] | undefined>;
}
//# sourceMappingURL=policyGroup.d.ts.map