aws-native logo
AWS Native v0.53.0, Mar 14 23

aws-native.licensemanager.getGrant

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:

GrantArn string

Arn of the grant.

GrantArn string

Arn of the grant.

grantArn String

Arn of the grant.

grantArn string

Arn of the grant.

grant_arn str

Arn of the grant.

grantArn String

Arn of the grant.

getGrant Result

The following output properties are available:

GrantArn string

Arn of the grant.

GrantName string

Name for the created Grant.

HomeRegion string

Home region for the created grant.

LicenseArn string

License Arn for the grant.

Status string
Version string

The version of the grant.

GrantArn string

Arn of the grant.

GrantName string

Name for the created Grant.

HomeRegion string

Home region for the created grant.

LicenseArn string

License Arn for the grant.

Status string
Version string

The version of the grant.

grantArn String

Arn of the grant.

grantName String

Name for the created Grant.

homeRegion String

Home region for the created grant.

licenseArn String

License Arn for the grant.

status String
version String

The version of the grant.

grantArn string

Arn of the grant.

grantName string

Name for the created Grant.

homeRegion string

Home region for the created grant.

licenseArn string

License Arn for the grant.

status string
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.

status str
version str

The version of the grant.

grantArn String

Arn of the grant.

grantName String

Name for the created Grant.

homeRegion String

Home region for the created grant.

licenseArn String

License Arn for the grant.

status String
version String

The version of the grant.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0