Viewing docs for AWS v7.51.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Viewing docs for AWS v7.51.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Data source for managing an AWS Verified Permissions Policy Store.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.verifiedpermissions.getPolicyStore({
id: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.verifiedpermissions.get_policy_store(id="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/verifiedpermissions"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := verifiedpermissions.LookupPolicyStore(ctx, &verifiedpermissions.LookupPolicyStoreArgs{
Id: "example",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.VerifiedPermissions.GetPolicyStore.Invoke(new()
{
Id = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.verifiedpermissions.VerifiedpermissionsFunctions;
import com.pulumi.aws.verifiedpermissions.inputs.GetPolicyStoreArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = VerifiedpermissionsFunctions.getPolicyStore(GetPolicyStoreArgs.builder()
.id("example")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:verifiedpermissions:getPolicyStore
arguments:
id: example
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_verifiedpermissions_getpolicystore" "example" {
id = "example"
}
Using getPolicyStore
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 getPolicyStore(args: GetPolicyStoreArgs, opts?: InvokeOptions): Promise<GetPolicyStoreResult>
function getPolicyStoreOutput(args: GetPolicyStoreOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyStoreResult>def get_policy_store(id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyStoreResult
def get_policy_store_output(id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyStoreResult]func LookupPolicyStore(ctx *Context, args *LookupPolicyStoreArgs, opts ...InvokeOption) (*LookupPolicyStoreResult, error)
func LookupPolicyStoreOutput(ctx *Context, args *LookupPolicyStoreOutputArgs, opts ...InvokeOption) LookupPolicyStoreResultOutput> Note: This function is named LookupPolicyStore in the Go SDK.
public static class GetPolicyStore
{
public static Task<GetPolicyStoreResult> InvokeAsync(GetPolicyStoreArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyStoreResult> Invoke(GetPolicyStoreInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyStoreResult> Invoke(GetPolicyStoreInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPolicyStoreResult> getPolicyStore(GetPolicyStoreArgs args, InvokeOptions options)
public static Output<GetPolicyStoreResult> getPolicyStore(GetPolicyStoreArgs args, InvokeOptions options)
public static Output<GetPolicyStoreResult> getPolicyStore(GetPolicyStoreArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:verifiedpermissions/getPolicyStore:getPolicyStore
arguments:
# arguments dictionarydata "aws_verifiedpermissions_get_policy_store" "name" {
# arguments
}The following arguments are supported:
getPolicyStore Result
The following output properties are available:
- Arn string
- ARN of the Policy Store.
- Created
Date string - Date the Policy Store was created.
- Deletion
Protection string - Whether the policy store can be deleted.
- Description string
- Description of the Policy Store.
- Id string
- Last
Updated stringDate - Date the Policy Store was last updated.
- Region string
- Dictionary<string, string>
- Map of key-value pairs associated with the policy store.
- Validation
Settings List<GetPolicy Store Validation Setting> - Validation settings for the policy store. See Validation Settings below.
- Arn string
- ARN of the Policy Store.
- Created
Date string - Date the Policy Store was created.
- Deletion
Protection string - Whether the policy store can be deleted.
- Description string
- Description of the Policy Store.
- Id string
- Last
Updated stringDate - Date the Policy Store was last updated.
- Region string
- map[string]string
- Map of key-value pairs associated with the policy store.
- Validation
Settings []GetPolicy Store Validation Setting - Validation settings for the policy store. See Validation Settings below.
- arn string
- ARN of the Policy Store.
- created_
date string - Date the Policy Store was created.
- deletion_
protection string - Whether the policy store can be deleted.
- description string
- Description of the Policy Store.
- id string
- last_
updated_ stringdate - Date the Policy Store was last updated.
- region string
- map(string)
- Map of key-value pairs associated with the policy store.
- validation_
settings list(object) - Validation settings for the policy store. See Validation Settings below.
- arn String
- ARN of the Policy Store.
- created
Date String - Date the Policy Store was created.
- deletion
Protection String - Whether the policy store can be deleted.
- description String
- Description of the Policy Store.
- id String
- last
Updated StringDate - Date the Policy Store was last updated.
- region String
- Map<String,String>
- Map of key-value pairs associated with the policy store.
- validation
Settings List<GetPolicy Store Validation Setting> - Validation settings for the policy store. See Validation Settings below.
- arn string
- ARN of the Policy Store.
- created
Date string - Date the Policy Store was created.
- deletion
Protection string - Whether the policy store can be deleted.
- description string
- Description of the Policy Store.
- id string
- last
Updated stringDate - Date the Policy Store was last updated.
- region string
- {[key: string]: string}
- Map of key-value pairs associated with the policy store.
- validation
Settings GetPolicy Store Validation Setting[] - Validation settings for the policy store. See Validation Settings below.
- arn str
- ARN of the Policy Store.
- created_
date str - Date the Policy Store was created.
- deletion_
protection str - Whether the policy store can be deleted.
- description str
- Description of the Policy Store.
- id str
- last_
updated_ strdate - Date the Policy Store was last updated.
- region str
- Mapping[str, str]
- Map of key-value pairs associated with the policy store.
- validation_
settings Sequence[GetPolicy Store Validation Setting] - Validation settings for the policy store. See Validation Settings below.
- arn String
- ARN of the Policy Store.
- created
Date String - Date the Policy Store was created.
- deletion
Protection String - Whether the policy store can be deleted.
- description String
- Description of the Policy Store.
- id String
- last
Updated StringDate - Date the Policy Store was last updated.
- region String
- Map<String>
- Map of key-value pairs associated with the policy store.
- validation
Settings List<Property Map> - Validation settings for the policy store. See Validation Settings below.
Supporting Types
GetPolicyStoreValidationSetting
- Mode string
- Mode for the validation settings.
- Mode string
- Mode for the validation settings.
- mode string
- Mode for the validation settings.
- mode String
- Mode for the validation settings.
- mode string
- Mode for the validation settings.
- mode str
- Mode for the validation settings.
- mode String
- Mode for the validation settings.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.51.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi