AWS Native is in preview. AWS Classic is fully supported.
aws-native.ram.Permission
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource type definition for AWS::RAM::Permission
Create Permission Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Permission(name: string, args: PermissionArgs, opts?: CustomResourceOptions);
@overload
def Permission(resource_name: str,
args: PermissionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Permission(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_template: Optional[Any] = None,
resource_type: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewPermission(ctx *Context, name string, args PermissionArgs, opts ...ResourceOption) (*Permission, error)
public Permission(string name, PermissionArgs args, CustomResourceOptions? opts = null)
public Permission(String name, PermissionArgs args)
public Permission(String name, PermissionArgs args, CustomResourceOptions options)
type: aws-native:ram:Permission
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 PermissionArgs
- 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 PermissionArgs
- 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 PermissionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PermissionArgs
- 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 examplepermissionResourceResourceFromRam = new aws_native.ram.Permission("examplepermissionResourceResourceFromRam", {
policyTemplate: "any",
resourceType: "string",
name: "string",
tags: [{
key: "string",
value: "string",
}],
});
Coming soon!
Permission 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 Permission resource accepts the following input properties:
- Policy
Template object Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- Resource
Type string - The resource type this permission can be used with.
- Name string
- The name of the permission.
- List<Pulumi.
Aws Native. Inputs. Tag>
- Policy
Template interface{} Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- Resource
Type string - The resource type this permission can be used with.
- Name string
- The name of the permission.
- Tag
Args
- policy
Template Object Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- resource
Type String - The resource type this permission can be used with.
- name String
- The name of the permission.
- List<Tag>
- policy
Template any Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- resource
Type string - The resource type this permission can be used with.
- name string
- The name of the permission.
- Tag[]
- policy_
template Any Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- resource_
type str - The resource type this permission can be used with.
- name str
- The name of the permission.
- Sequence[Tag
Args]
- policy
Template Any Policy template for the permission.
Search the CloudFormation User Guide for
AWS::RAM::Permission
for more information about the expected schema for this property.- resource
Type String - The resource type this permission can be used with.
- name String
- The name of the permission.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Permission resource produces the following output properties:
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Resource boolType Default - Set to true to use this as the default permission.
- Permission
Type string - Version string
- Version of the permission.
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Resource boolType Default - Set to true to use this as the default permission.
- Permission
Type string - Version string
- Version of the permission.
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- is
Resource BooleanType Default - Set to true to use this as the default permission.
- permission
Type String - version String
- Version of the permission.
- arn string
- id string
- The provider-assigned unique ID for this managed resource.
- is
Resource booleanType Default - Set to true to use this as the default permission.
- permission
Type string - version string
- Version of the permission.
- arn str
- id str
- The provider-assigned unique ID for this managed resource.
- is_
resource_ booltype_ default - Set to true to use this as the default permission.
- permission_
type str - version str
- Version of the permission.
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- is
Resource BooleanType Default - Set to true to use this as the default permission.
- permission
Type String - version String
- Version of the permission.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.