This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi
This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi
Manages a single membership edge through UpdatePolicyGroup (addStack / removeStack).
Create PolicyGroupStackAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGroupStackAttachment(name: string, args: PolicyGroupStackAttachmentArgs, opts?: CustomResourceOptions);@overload
def PolicyGroupStackAttachment(resource_name: str,
args: PolicyGroupStackAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGroupStackAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
org_name: Optional[str] = None,
policy_group: Optional[str] = None,
routing_project: Optional[str] = None)func NewPolicyGroupStackAttachment(ctx *Context, name string, args PolicyGroupStackAttachmentArgs, opts ...ResourceOption) (*PolicyGroupStackAttachment, error)public PolicyGroupStackAttachment(string name, PolicyGroupStackAttachmentArgs args, CustomResourceOptions? opts = null)
public PolicyGroupStackAttachment(String name, PolicyGroupStackAttachmentArgs args)
public PolicyGroupStackAttachment(String name, PolicyGroupStackAttachmentArgs args, CustomResourceOptions options)
type: pulumiservice:api:PolicyGroupStackAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_policygroupstackattachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyGroupStackAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyGroupStackAttachmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyGroupStackAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGroupStackAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGroupStackAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var policyGroupStackAttachmentResource = new PulumiService.Api.PolicyGroupStackAttachment("policyGroupStackAttachmentResource", new()
{
Name = "string",
OrgName = "string",
PolicyGroup = "string",
RoutingProject = "string",
});
example, err := api.NewPolicyGroupStackAttachment(ctx, "policyGroupStackAttachmentResource", &api.PolicyGroupStackAttachmentArgs{
Name: pulumi.String("string"),
OrgName: pulumi.String("string"),
PolicyGroup: pulumi.String("string"),
RoutingProject: pulumi.String("string"),
})
resource "pulumiservice_api_policygroupstackattachment" "policyGroupStackAttachmentResource" {
name = "string"
org_name = "string"
policy_group = "string"
routing_project = "string"
}
var policyGroupStackAttachmentResource = new PolicyGroupStackAttachment("policyGroupStackAttachmentResource", PolicyGroupStackAttachmentArgs.builder()
.name("string")
.orgName("string")
.policyGroup("string")
.routingProject("string")
.build());
policy_group_stack_attachment_resource = pulumiservice.api.PolicyGroupStackAttachment("policyGroupStackAttachmentResource",
name="string",
org_name="string",
policy_group="string",
routing_project="string")
const policyGroupStackAttachmentResource = new pulumiservice.api.PolicyGroupStackAttachment("policyGroupStackAttachmentResource", {
name: "string",
orgName: "string",
policyGroup: "string",
routingProject: "string",
});
type: pulumiservice:api:PolicyGroupStackAttachment
properties:
name: string
orgName: string
policyGroup: string
routingProject: string
PolicyGroupStackAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyGroupStackAttachment resource accepts the following input properties:
- Name string
- The name
- Org
Name string - The organization name
- Policy
Group string - The policy group name
- Routing
Project string - The routing project
- Name string
- The name
- Org
Name string - The organization name
- Policy
Group string - The policy group name
- Routing
Project string - The routing project
- name string
- The name
- org_
name string - The organization name
- policy_
group string - The policy group name
- routing_
project string - The routing project
- name String
- The name
- org
Name String - The organization name
- policy
Group String - The policy group name
- routing
Project String - The routing project
- name string
- The name
- org
Name string - The organization name
- policy
Group string - The policy group name
- routing
Project string - The routing project
- name str
- The name
- org_
name str - The organization name
- policy_
group str - The policy group name
- routing_
project str - The routing project
- name String
- The name
- org
Name String - The organization name
- policy
Group String - The policy group name
- routing
Project String - The routing project
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyGroupStackAttachment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi