Alias

class Alias : ConvertibleToJava<Alias>

Alias is a description of prior name used for a resource. It can be processed in the context of resource creation to determine what the full aliased URN would be.

The presence of a property indicates if its value should be used. If absent (i.e. "null"), then the value is not used.

Note: because of the above, there needs to be special handling to indicate that the previous "parent" of a KotlinResource was "null". Specifically, pass in: Alias.noParent

See also

Functions

Link copied to clipboard
open override fun toJava(): Alias

Properties

Link copied to clipboard
val name: Output<String?>?

The previous name of the resource. If empty, the current name of the resource is used.

Link copied to clipboard

Used to indicate the resource previously had no parent. If false this property is ignored.

Link copied to clipboard

The previous parent of the resource. If null, the current parent of the resource is used.

Link copied to clipboard
val parentUrn: Output<String?>?

The previous parent of the resource. If null, the current parent of the resource is used.

Link copied to clipboard
val project: Output<String?>?

The previous project of the resource. If null, defaults to the value of Pulumi.IDeployment.ProjectName.

Link copied to clipboard
val stack: Output<String?>?

The previous stack of the resource. If null, defaults to the value of Pulumi.IDeployment.StackName.

Link copied to clipboard
val type: Output<String?>?

The previous type of the resource. If empty, the current type of the resource is used.

Link copied to clipboard
val urn: String?

The previous urn to alias to. If this is provided, no other properties in this type should be provided.