1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. eventschemas
  5. getRegistryPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.eventschemas.getRegistryPolicy

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::EventSchemas::RegistryPolicy

Using getRegistryPolicy

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 getRegistryPolicy(args: GetRegistryPolicyArgs, opts?: InvokeOptions): Promise<GetRegistryPolicyResult>
function getRegistryPolicyOutput(args: GetRegistryPolicyOutputArgs, opts?: InvokeOptions): Output<GetRegistryPolicyResult>
Copy
def get_registry_policy(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetRegistryPolicyResult
def get_registry_policy_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetRegistryPolicyResult]
Copy
func LookupRegistryPolicy(ctx *Context, args *LookupRegistryPolicyArgs, opts ...InvokeOption) (*LookupRegistryPolicyResult, error)
func LookupRegistryPolicyOutput(ctx *Context, args *LookupRegistryPolicyOutputArgs, opts ...InvokeOption) LookupRegistryPolicyResultOutput
Copy

> Note: This function is named LookupRegistryPolicy in the Go SDK.

public static class GetRegistryPolicy 
{
    public static Task<GetRegistryPolicyResult> InvokeAsync(GetRegistryPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetRegistryPolicyResult> Invoke(GetRegistryPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRegistryPolicyResult> getRegistryPolicy(GetRegistryPolicyArgs args, InvokeOptions options)
public static Output<GetRegistryPolicyResult> getRegistryPolicy(GetRegistryPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:eventschemas:getRegistryPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The ID of the policy.
Id This property is required. string
The ID of the policy.
id This property is required. String
The ID of the policy.
id This property is required. string
The ID of the policy.
id This property is required. str
The ID of the policy.
id This property is required. String
The ID of the policy.

getRegistryPolicy Result

The following output properties are available:

Id string
The ID of the policy.
Policy object

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

RegistryName string
The name of the registry.
RevisionId string
The revision ID of the policy.
Id string
The ID of the policy.
Policy interface{}

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

RegistryName string
The name of the registry.
RevisionId string
The revision ID of the policy.
id String
The ID of the policy.
policy Object

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

registryName String
The name of the registry.
revisionId String
The revision ID of the policy.
id string
The ID of the policy.
policy any

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

registryName string
The name of the registry.
revisionId string
The revision ID of the policy.
id str
The ID of the policy.
policy Any

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

registry_name str
The name of the registry.
revision_id str
The revision ID of the policy.
id String
The ID of the policy.
policy Any

A resource-based policy.

Search the CloudFormation User Guide for AWS::EventSchemas::RegistryPolicy for more information about the expected schema for this property.

registryName String
The name of the registry.
revisionId String
The revision ID of the policy.

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.27.0 published on Monday, Apr 14, 2025 by Pulumi