pulumiservice.StackTag
Explore with Pulumi AI
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 string
- The unique name of the resource.
- args StackTagArgs
- 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 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 string
- The unique name of the resource.
- args StackTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StackTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 string
- Name of the tag. The 'key' part of the key=value pair
- Organization string
- Organization name.
- Project string
- Project name.
- Stack string
- Stack name.
- Value string
- Value of the tag. The 'value' part of the key=value pair
- Name string
- Name of the tag. The 'key' part of the key=value pair
- Organization string
- Organization name.
- Project string
- Project name.
- Stack string
- Stack name.
- Value string
- Value of the tag. The 'value' part of the key=value pair
- name String
- Name of the tag. The 'key' part of the key=value pair
- organization String
- Organization name.
- project String
- Project name.
- stack String
- Stack name.
- value String
- Value of the tag. The 'value' part of the key=value pair
- name string
- Name of the tag. The 'key' part of the key=value pair
- organization string
- Organization name.
- project string
- Project name.
- stack string
- Stack name.
- value string
- Value of the tag. The 'value' part of the key=value pair
- name str
- Name of the tag. The 'key' part of the key=value pair
- organization str
- Organization name.
- project str
- Project name.
- stack str
- Stack name.
- value str
- Value of the tag. The 'value' part of the key=value pair
- name String
- Name of the tag. The 'key' part of the key=value pair
- organization String
- Organization name.
- project String
- Project name.
- stack String
- Stack name.
- value 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