We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.ram.getPermission
Start a Neo task
Explain and create an aws-native.ram.getPermission resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource type definition for AWS::RAM::Permission
Using getPermission
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPermission(args: GetPermissionArgs, opts?: InvokeOptions): Promise<GetPermissionResult>
function getPermissionOutput(args: GetPermissionOutputArgs, opts?: InvokeOptions): Output<GetPermissionResult>def get_permission(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPermissionResult
def get_permission_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPermissionResult]func LookupPermission(ctx *Context, args *LookupPermissionArgs, opts ...InvokeOption) (*LookupPermissionResult, error)
func LookupPermissionOutput(ctx *Context, args *LookupPermissionOutputArgs, opts ...InvokeOption) LookupPermissionResultOutput> Note: This function is named LookupPermission in the Go SDK.
public static class GetPermission
{
public static Task<GetPermissionResult> InvokeAsync(GetPermissionArgs args, InvokeOptions? opts = null)
public static Output<GetPermissionResult> Invoke(GetPermissionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPermissionResult> getPermission(GetPermissionArgs args, InvokeOptions options)
public static Output<GetPermissionResult> getPermission(GetPermissionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ram:getPermission
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
- arn string
- The Amazon Resource Name (ARN) of the new permission.
- arn str
- The Amazon Resource Name (ARN) of the new permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
getPermission Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Specifies a list of one or more tag key and value pairs to attach to the permission.
- Version string
- Version of the permission.
- Arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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.
- Tag
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- Version string
- Version of the permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
- 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.
- List<Tag>
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- version String
- Version of the permission.
- arn string
- The Amazon Resource Name (ARN) of the new permission.
- 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.
- Tag[]
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- version string
- Version of the permission.
- arn str
- The Amazon Resource Name (ARN) of the new permission.
- 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.
- Sequence[root_Tag]
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- version str
- Version of the permission.
- arn String
- The Amazon Resource Name (ARN) of the new permission.
- 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.
- List<Property Map>
- Specifies a list of one or more tag key and value pairs to attach to the permission.
- version String
- Version of the permission.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
