This provider is currently in preview.
pulumiservice.StackTag
Explore with Pulumi AI
This provider is currently in preview.
Stacks have associated metadata in the form of tags. Each tag consists of a name and value.
Create StackTag Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StackTag(name: string, args: StackTagArgs, opts?: CustomResourceOptions);
@overload
def StackTag(resource_name: str,
args: StackTagArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StackTag(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
organization: Optional[str] = None,
project: Optional[str] = None,
stack: Optional[str] = None,
value: Optional[str] = None)
func NewStackTag(ctx *Context, name string, args StackTagArgs, opts ...ResourceOption) (*StackTag, error)
public StackTag(string name, StackTagArgs args, CustomResourceOptions? opts = null)
public StackTag(String name, StackTagArgs args)
public StackTag(String name, StackTagArgs args, CustomResourceOptions options)
type: pulumiservice:StackTag
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StackTagArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. StackTagArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StackTagArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StackTagArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. StackTagArgs - 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 stackTagResource = new PulumiService.StackTag("stackTagResource", new()
{
Name = "string",
Organization = "string",
Project = "string",
Stack = "string",
Value = "string",
});
example, err := pulumiservice.NewStackTag(ctx, "stackTagResource", &pulumiservice.StackTagArgs{
Name: pulumi.String("string"),
Organization: pulumi.String("string"),
Project: pulumi.String("string"),
Stack: pulumi.String("string"),
Value: pulumi.String("string"),
})
var stackTagResource = new StackTag("stackTagResource", StackTagArgs.builder()
.name("string")
.organization("string")
.project("string")
.stack("string")
.value("string")
.build());
stack_tag_resource = pulumiservice.StackTag("stackTagResource",
name="string",
organization="string",
project="string",
stack="string",
value="string")
const stackTagResource = new pulumiservice.StackTag("stackTagResource", {
name: "string",
organization: "string",
project: "string",
stack: "string",
value: "string",
});
type: pulumiservice:StackTag
properties:
name: string
organization: string
project: string
stack: string
value: string
StackTag 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 StackTag resource accepts the following input properties:
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- Organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- Project
This property is required. Changes to this property will trigger replacement.
- Project name.
- Stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- Value
This property is required. string - Value of the tag. The 'value' part of the key=value pair
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- Organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- Project
This property is required. Changes to this property will trigger replacement.
- Project name.
- Stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- Value
This property is required. string - Value of the tag. The 'value' part of the key=value pair
- name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- value
This property is required. String - Value of the tag. The 'value' part of the key=value pair
- name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- value
This property is required. string - Value of the tag. The 'value' part of the key=value pair
- name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- value
This property is required. str - Value of the tag. The 'value' part of the key=value pair
- name
This property is required. Changes to this property will trigger replacement.
- Name of the tag. The 'key' part of the key=value pair
- organization
This property is required. Changes to this property will trigger replacement.
- Organization name.
- project
This property is required. Changes to this property will trigger replacement.
- Project name.
- stack
This property is required. Changes to this property will trigger replacement.
- Stack name.
- value
This property is required. String - Value of the tag. The 'value' part of the key=value pair
Outputs
All input properties are implicitly available as output properties. Additionally, the StackTag 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 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.