We recommend new projects start with resources from the AWS provider.
aws-native.cloudformation.getResourceDefaultVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The default version of a resource that has been registered in the CloudFormation Registry.
Using getResourceDefaultVersion
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 getResourceDefaultVersion(args: GetResourceDefaultVersionArgs, opts?: InvokeOptions): Promise<GetResourceDefaultVersionResult>
function getResourceDefaultVersionOutput(args: GetResourceDefaultVersionOutputArgs, opts?: InvokeOptions): Output<GetResourceDefaultVersionResult>
def get_resource_default_version(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceDefaultVersionResult
def get_resource_default_version_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceDefaultVersionResult]
func LookupResourceDefaultVersion(ctx *Context, args *LookupResourceDefaultVersionArgs, opts ...InvokeOption) (*LookupResourceDefaultVersionResult, error)
func LookupResourceDefaultVersionOutput(ctx *Context, args *LookupResourceDefaultVersionOutputArgs, opts ...InvokeOption) LookupResourceDefaultVersionResultOutput
> Note: This function is named LookupResourceDefaultVersion
in the Go SDK.
public static class GetResourceDefaultVersion
{
public static Task<GetResourceDefaultVersionResult> InvokeAsync(GetResourceDefaultVersionArgs args, InvokeOptions? opts = null)
public static Output<GetResourceDefaultVersionResult> Invoke(GetResourceDefaultVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourceDefaultVersionResult> getResourceDefaultVersion(GetResourceDefaultVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudformation:getResourceDefaultVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- Arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- arn String
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- arn str
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- arn String
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
getResourceDefaultVersion Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- Type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- Type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- Version
Id string - The ID of an existing version of the resource to set as the default.
- Arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- Type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- Type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- Version
Id string - The ID of an existing version of the resource to set as the default.
- arn String
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- type
Name String The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version StringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id String - The ID of an existing version of the resource to set as the default.
- arn string
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- type
Name string The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version stringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id string - The ID of an existing version of the resource to set as the default.
- arn str
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- type_
name str The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type_
version_ strarn - The Amazon Resource Name (ARN) of the type version.
- version_
id str - The ID of an existing version of the resource to set as the default.
- arn String
- The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion
- type
Name String The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
- type
Version StringArn - The Amazon Resource Name (ARN) of the type version.
- version
Id String - The ID of an existing version of the resource to set as the default.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.