Schema

class Schema : KotlinCustomResource

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.verifiedpermissions.Schema;
import com.pulumi.aws.verifiedpermissions.SchemaArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
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) {
var example = new Schema("example", SchemaArgs.builder()
.policyStoreId(exampleAwsVerifiedpermissionsPolicyStore.policyStoreId())
.definition(SchemaDefinitionArgs.builder()
.value(serializeJson(
jsonObject(
jsonProperty("Namespace", jsonObject(
jsonProperty("entityTypes", jsonObject(
)),
jsonProperty("actions", jsonObject(
))
))
)))
.build())
.build());
}
}
resources:
example:
type: aws:verifiedpermissions:Schema
properties:
policyStoreId: ${exampleAwsVerifiedpermissionsPolicyStore.policyStoreId}
definition:
- value:
fn::toJSON:
Namespace:
entityTypes: {}
actions: {}

Import

Using pulumi import, import Verified Permissions Policy Store Schema using the policy_store_id. For example: console % pulumi import aws_verifiedpermissions_schema.example DxQg2j8xvXJQ1tQCYNWj9T

Properties

Link copied to clipboard

The definition of the schema.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val namespaces: Output<List<String>>

(Optional) Identifies the namespaces of the entities referenced by this schema.

Link copied to clipboard
val policyStoreId: Output<String>

The ID of the Policy Store.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>