AWS Native is in preview. AWS Classic is fully supported.
aws-native.licensemanager.Grant
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
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:
- Allowed
Operations List<string> - 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>
- Status string
- Allowed
Operations []string - 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
- Status string
- allowed
Operations List<String> - 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>
- status String
- allowed
Operations string[] - 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[]
- 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
- allowed
Operations List<String> - 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>
- status String
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
AWS Native is in preview. AWS Classic is fully supported.