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.verifiedpermissions.getPolicy
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
Definition of AWS::VerifiedPermissions::Policy Resource Type
Using getPolicy
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 getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>
def get_policy(policy_id: Optional[str] = None,
policy_store_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(policy_id: Optional[pulumi.Input[str]] = None,
policy_store_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]
func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput
> Note: This function is named LookupPolicy
in the Go SDK.
public static class GetPolicy
{
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:verifiedpermissions:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Policy
Id string - Policy
Store stringId
- Policy
Id string - Policy
Store stringId
- policy
Id String - policy
Store StringId
- policy
Id string - policy
Store stringId
- policy_
id str - policy_
store_ strid
- policy
Id String - policy
Store StringId
getPolicy Result
The following output properties are available:
Supporting Types
PolicyDefinition0Properties
PolicyDefinition1Properties
PolicyEntityIdentifier
- Entity
Id string - Entity
Type string
- Entity
Id string - Entity
Type string
- entity
Id String - entity
Type String
- entity
Id string - entity
Type string
- entity_
id str - entity_
type str
- entity
Id String - entity
Type String
PolicyStaticPolicyDefinition
- Statement string
- Description string
- Statement string
- Description string
- statement String
- description String
- statement string
- description string
- statement str
- description str
- statement String
- description String
PolicyTemplateLinkedPolicyDefinition
PolicyType
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