AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.ram.getPermission
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ram:getPermission
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
getPermission Result
The following output properties are available:
- Arn string
- Is
Resource boolType Default - Set to true to use this as the default permission.
- Permission
Type string - List<Pulumi.
Aws Native. Outputs. Tag> - Version string
- Version of the permission.
- Arn string
- Is
Resource boolType Default - Set to true to use this as the default permission.
- Permission
Type string - Tag
- Version string
- Version of the permission.
- arn String
- is
Resource BooleanType Default - Set to true to use this as the default permission.
- permission
Type String - List<Tag>
- version String
- Version of the permission.
- arn string
- is
Resource booleanType Default - Set to true to use this as the default permission.
- permission
Type string - Tag[]
- version string
- Version of the permission.
- arn str
- is_
resource_ booltype_ default - Set to true to use this as the default permission.
- permission_
type str - Sequence[root_Tag]
- version str
- Version of the permission.
- arn String
- is
Resource BooleanType Default - Set to true to use this as the default permission.
- permission
Type String - List<Property Map>
- version String
- Version of the permission.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi