AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudformation.getResourceVersion
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
A resource that has been registered in the CloudFormation Registry.
Using getResourceVersion
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getResourceVersion(args: GetResourceVersionArgs, opts?: InvokeOptions): Promise<GetResourceVersionResult>
function getResourceVersionOutput(args: GetResourceVersionOutputArgs, opts?: InvokeOptions): Output<GetResourceVersionResult>
def get_resource_version(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceVersionResult
def get_resource_version_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceVersionResult]
func LookupResourceVersion(ctx *Context, args *LookupResourceVersionArgs, opts ...InvokeOption) (*LookupResourceVersionResult, error)
func LookupResourceVersionOutput(ctx *Context, args *LookupResourceVersionOutputArgs, opts ...InvokeOption) LookupResourceVersionResultOutput
> Note: This function is named LookupResourceVersion
in the Go SDK.
public static class GetResourceVersion
{
public static Task<GetResourceVersionResult> InvokeAsync(GetResourceVersionArgs args, InvokeOptions? opts = null)
public static Output<GetResourceVersionResult> Invoke(GetResourceVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourceVersionResult> getResourceVersion(GetResourceVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudformation:getResourceVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- Arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- arn String
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- arn str
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- arn String
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
getResourceVersion Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- Is
Default boolVersion - Indicates if this type version is the current default version
- Provisioning
Type Pulumi.Aws Native. Cloud Formation. Resource Version Provisioning Type - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- Type
Arn string - The Amazon Resource Name (ARN) of the type without the versionID.
- Version
Id string - The ID of the version of the type represented by this resource instance.
- Visibility
Pulumi.
Aws Native. Cloud Formation. Resource Version Visibility The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
- Arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- Is
Default boolVersion - Indicates if this type version is the current default version
- Provisioning
Type ResourceVersion Provisioning Type - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- Type
Arn string - The Amazon Resource Name (ARN) of the type without the versionID.
- Version
Id string - The ID of the version of the type represented by this resource instance.
- Visibility
Resource
Version Visibility The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
- arn String
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- is
Default BooleanVersion - Indicates if this type version is the current default version
- provisioning
Type ResourceVersion Provisioning Type - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- type
Arn String - The Amazon Resource Name (ARN) of the type without the versionID.
- version
Id String - The ID of the version of the type represented by this resource instance.
- visibility
Resource
Version Visibility The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
- arn string
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- is
Default booleanVersion - Indicates if this type version is the current default version
- provisioning
Type ResourceVersion Provisioning Type - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- type
Arn string - The Amazon Resource Name (ARN) of the type without the versionID.
- version
Id string - The ID of the version of the type represented by this resource instance.
- visibility
Resource
Version Visibility The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
- arn str
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- is_
default_ boolversion - Indicates if this type version is the current default version
- provisioning_
type ResourceVersion Provisioning Type - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- type_
arn str - The Amazon Resource Name (ARN) of the type without the versionID.
- version_
id str - The ID of the version of the type represented by this resource instance.
- visibility
Resource
Version Visibility The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
- arn String
- The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource
- is
Default BooleanVersion - Indicates if this type version is the current default version
- provisioning
Type "NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE" - The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
- type
Arn String - The Amazon Resource Name (ARN) of the type without the versionID.
- version
Id String - The ID of the version of the type represented by this resource instance.
- visibility "PUBLIC" | "PRIVATE"
The scope at which the type is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE.
PUBLIC: The type is publically visible and usable within any Amazon account.
Supporting Types
ResourceVersionProvisioningType
ResourceVersionVisibility
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.