We recommend new projects start with resources from the AWS provider.
aws-native.licensemanager.Grant
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
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.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Grant resource accepts the following input properties:
- Allowed
Operations List<string> - Allowed operations for 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.
- Principals List<string>
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- Status string
- Granted license status.
- Allowed
Operations []string - Allowed operations for 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.
- Principals []string
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- Status string
- Granted license status.
- allowed
Operations List<String> - Allowed operations for 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.
- principals List<String>
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- status String
- Granted license status.
- allowed
Operations string[] - Allowed operations for 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.
- principals string[]
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- status string
- Granted license status.
- allowed_
operations Sequence[str] - Allowed operations for 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.
- principals Sequence[str]
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- status str
- Granted license status.
- allowed
Operations List<String> - Allowed operations for 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.
- principals List<String>
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):
An AWS account, which includes only the account specified.
An organizational unit (OU), which includes all accounts in the OU.
An organization, which will include all accounts across your organization.
- status String
- Granted license status.
Outputs
All input properties are implicitly available as output properties. Additionally, the Grant resource produces the following output properties:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.