1. Packages
  2. AWS Native
  3. API Docs
  4. licensemanager
  5. Grant

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.licensemanager.Grant

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    An example resource schema demonstrating some basic constructs and validation rules.

    Create Grant Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Grant(name: string, args?: GrantArgs, opts?: CustomResourceOptions);
    @overload
    def Grant(resource_name: str,
              args: Optional[GrantArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Grant(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              allowed_operations: Optional[Sequence[str]] = None,
              grant_name: Optional[str] = None,
              home_region: Optional[str] = None,
              license_arn: Optional[str] = None,
              principals: Optional[Sequence[str]] = None,
              status: Optional[str] = None)
    func NewGrant(ctx *Context, name string, args *GrantArgs, opts ...ResourceOption) (*Grant, error)
    public Grant(string name, GrantArgs? args = null, CustomResourceOptions? opts = null)
    public Grant(String name, GrantArgs args)
    public Grant(String name, GrantArgs args, CustomResourceOptions options)
    
    type: aws-native:licensemanager:Grant
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GrantArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GrantArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GrantArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GrantArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GrantArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const grantResource = new aws_native.licensemanager.Grant("grantResource", {
        allowedOperations: ["string"],
        grantName: "string",
        homeRegion: "string",
        licenseArn: "string",
        principals: ["string"],
        status: "string",
    });
    
    Coming soon!
    

    Grant Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Grant resource accepts the following input properties:

    AllowedOperations List<string>
    GrantName string
    Name for the created Grant.
    HomeRegion string
    Home region for the created grant.
    LicenseArn string
    License Arn for the grant.
    Principals List<string>
    Status string
    AllowedOperations []string
    GrantName string
    Name for the created Grant.
    HomeRegion string
    Home region for the created grant.
    LicenseArn string
    License Arn for the grant.
    Principals []string
    Status string
    allowedOperations List<String>
    grantName String
    Name for the created Grant.
    homeRegion String
    Home region for the created grant.
    licenseArn String
    License Arn for the grant.
    principals List<String>
    status String
    allowedOperations string[]
    grantName string
    Name for the created Grant.
    homeRegion string
    Home region for the created grant.
    licenseArn string
    License Arn for the grant.
    principals string[]
    status string
    allowed_operations Sequence[str]
    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.
    principals Sequence[str]
    status str
    allowedOperations List<String>
    grantName String
    Name for the created Grant.
    homeRegion String
    Home region for the created grant.
    licenseArn String
    License Arn for the grant.
    principals List<String>
    status String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Grant resource produces the following output properties:

    GrantArn string
    Arn of the grant.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    The version of the grant.
    GrantArn string
    Arn of the grant.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    The version of the grant.
    grantArn String
    Arn of the grant.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    The version of the grant.
    grantArn string
    Arn of the grant.
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    The version of the grant.
    grant_arn str
    Arn of the grant.
    id str
    The provider-assigned unique ID for this managed resource.
    version str
    The version of the grant.
    grantArn String
    Arn of the grant.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    The version of the grant.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi