We recommend new projects start with resources from the AWS provider.
aws-native.ram.Permission
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
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> - Specifies a list of one or more tag key and value pairs to attach to the permission.
- 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 - Specifies a list of one or more tag key and value pairs to attach to the permission.
- 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>
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- 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[]
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- 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] - Specifies a list of one or more tag key and value pairs to attach to the permission.
- 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>
- Specifies a list of one or more tag key and value pairs to attach to the permission.
Outputs
All input properties are implicitly available as output properties. Additionally, the Permission resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- Version string
- Version of the permission.
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- Version string
- Version of the permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- version String
- Version of the permission.
- arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- version string
- Version of the permission.
- arn str
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- version str
- Version of the permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
- 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 - The type of managed permission. This can be one of the following values:
- AWS_MANAGED_PERMISSION – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
- CUSTOMER_MANAGED_PERMISSION – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
- version String
- Version of the permission.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.