We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.licensemanager.getGrant
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
An example resource schema demonstrating some basic constructs and validation rules.
Using getGrant
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 getGrant(args: GetGrantArgs, opts?: InvokeOptions): Promise<GetGrantResult>
function getGrantOutput(args: GetGrantOutputArgs, opts?: InvokeOptions): Output<GetGrantResult>
def get_grant(grant_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGrantResult
def get_grant_output(grant_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGrantResult]
func LookupGrant(ctx *Context, args *LookupGrantArgs, opts ...InvokeOption) (*LookupGrantResult, error)
func LookupGrantOutput(ctx *Context, args *LookupGrantOutputArgs, opts ...InvokeOption) LookupGrantResultOutput
> Note: This function is named LookupGrant
in the Go SDK.
public static class GetGrant
{
public static Task<GetGrantResult> InvokeAsync(GetGrantArgs args, InvokeOptions? opts = null)
public static Output<GetGrantResult> Invoke(GetGrantInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGrantResult> getGrant(GetGrantArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:licensemanager:getGrant
arguments:
# arguments dictionary
The following arguments are supported:
- Grant
Arn string - Arn of the grant.
- Grant
Arn string - Arn of the grant.
- grant
Arn String - Arn of the grant.
- grant
Arn string - Arn of the grant.
- grant_
arn str - Arn of the grant.
- grant
Arn String - Arn of the grant.
getGrant Result
The following output properties are available:
- Grant
Arn string - Arn of the grant.
- Grant
Name string - Name for the created Grant.
- Home
Region string - Home region for the created grant.
- License
Arn string - License Arn for the grant.
- Version string
- The version of the grant.
- Grant
Arn string - Arn of the grant.
- Grant
Name string - Name for the created Grant.
- Home
Region string - Home region for the created grant.
- License
Arn string - License Arn for the grant.
- Version string
- The version of the grant.
- grant
Arn String - Arn of the grant.
- grant
Name String - Name for the created Grant.
- home
Region String - Home region for the created grant.
- license
Arn String - License Arn for the grant.
- version String
- The version of the grant.
- grant
Arn string - Arn of the grant.
- grant
Name string - Name for the created Grant.
- home
Region string - Home region for the created grant.
- license
Arn string - License Arn for the grant.
- version string
- The version of the grant.
- grant_
arn str - Arn of the grant.
- grant_
name str - Name for the created Grant.
- home_
region str - Home region for the created grant.
- license_
arn str - License Arn for the grant.
- version str
- The version of the grant.
- grant
Arn String - Arn of the grant.
- grant
Name String - Name for the created Grant.
- home
Region String - Home region for the created grant.
- license
Arn String - License Arn for the grant.
- version String
- The version of the grant.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi