@pulumi/aws 6.18.1 → 6.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessanalyzer/analyzer.d.ts +3 -3
- package/alb/getTargetGroup.d.ts +4 -1
- package/alb/getTargetGroup.js +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/targetGroup.d.ts +15 -3
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/amp/getWorkspace.d.ts +4 -0
- package/amp/getWorkspace.js.map +1 -1
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/scraper.d.ts +133 -0
- package/amp/scraper.js +77 -0
- package/amp/scraper.js.map +1 -0
- package/amp/workspace.d.ts +27 -0
- package/amp/workspace.js +17 -0
- package/amp/workspace.js.map +1 -1
- package/apigateway/methodResponse.d.ts +79 -25
- package/apigateway/methodResponse.js +55 -1
- package/apigateway/methodResponse.js.map +1 -1
- package/appstream/fleet.d.ts +3 -3
- package/batch/computeEnvironment.d.ts +37 -0
- package/batch/computeEnvironment.js +27 -0
- package/batch/computeEnvironment.js.map +1 -1
- package/batch/getComputeEnvironment.d.ts +5 -0
- package/batch/getComputeEnvironment.js.map +1 -1
- package/batch/jobDefinition.d.ts +37 -5
- package/batch/jobDefinition.js +6 -0
- package/batch/jobDefinition.js.map +1 -1
- package/cfg/rule.d.ts +6 -6
- package/cloud9/environmentEC2.d.ts +14 -5
- package/cloud9/environmentEC2.js +7 -1
- package/cloud9/environmentEC2.js.map +1 -1
- package/cloudtrail/getServiceAccount.d.ts +4 -0
- package/cloudtrail/getServiceAccount.js +4 -0
- package/cloudtrail/getServiceAccount.js.map +1 -1
- package/codebuild/project.d.ts +6 -6
- package/codepipeline/pipeline.d.ts +29 -2
- package/codepipeline/pipeline.js +9 -2
- package/codepipeline/pipeline.js.map +1 -1
- package/dms/endpoint.d.ts +12 -6
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationTask.d.ts +7 -7
- package/dms/replicationTask.js +1 -1
- package/docdb/clusterInstance.d.ts +3 -3
- package/docdb/elasticCluster.d.ts +23 -0
- package/docdb/elasticCluster.js +14 -0
- package/docdb/elasticCluster.js.map +1 -1
- package/ebs/fastSnapshotRestore.d.ts +97 -0
- package/ebs/fastSnapshotRestore.js +85 -0
- package/ebs/fastSnapshotRestore.js.map +1 -0
- package/ebs/index.d.ts +3 -0
- package/ebs/index.js +6 -1
- package/ebs/index.js.map +1 -1
- package/ec2/instance.d.ts +1 -1
- package/ec2/instance.js +1 -1
- package/ec2/managedPrefixListEntry.d.ts +3 -3
- package/ec2/networkAclAssociation.d.ts +8 -0
- package/ec2/networkAclAssociation.js +8 -0
- package/ec2/networkAclAssociation.js.map +1 -1
- package/ec2/route.d.ts +1 -3
- package/ec2/route.js +1 -3
- package/ec2/route.js.map +1 -1
- package/ec2/securityGroup.d.ts +27 -16
- package/ec2/securityGroup.js +27 -16
- package/ec2/securityGroup.js.map +1 -1
- package/ec2transitgateway/getAttachments.d.ts +44 -0
- package/ec2transitgateway/getAttachments.js +44 -0
- package/ec2transitgateway/getAttachments.js.map +1 -1
- package/ecr/getImage.d.ts +4 -0
- package/ecr/getImage.js.map +1 -1
- package/efs/fileSystem.d.ts +12 -0
- package/efs/fileSystem.js +2 -0
- package/efs/fileSystem.js.map +1 -1
- package/efs/getFileSystem.d.ts +1 -0
- package/efs/getFileSystem.js.map +1 -1
- package/efs/replicationConfiguration.d.ts +21 -5
- package/efs/replicationConfiguration.js +17 -1
- package/efs/replicationConfiguration.js.map +1 -1
- package/eks/accessEntry.d.ts +179 -0
- package/eks/accessEntry.js +102 -0
- package/eks/accessEntry.js.map +1 -0
- package/eks/accessPolicyAssociation.d.ts +130 -0
- package/eks/accessPolicyAssociation.js +99 -0
- package/eks/accessPolicyAssociation.js.map +1 -0
- package/eks/cluster.d.ts +31 -0
- package/eks/cluster.js +21 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getAccessEntry.d.ts +111 -0
- package/eks/getAccessEntry.js +53 -0
- package/eks/getAccessEntry.js.map +1 -0
- package/eks/getCluster.d.ts +4 -0
- package/eks/getCluster.js.map +1 -1
- package/eks/index.d.ts +9 -0
- package/eks/index.js +14 -1
- package/eks/index.js.map +1 -1
- package/elasticache/index.d.ts +3 -0
- package/elasticache/index.js +6 -1
- package/elasticache/index.js.map +1 -1
- package/elasticache/serverlessCache.d.ts +343 -0
- package/elasticache/serverlessCache.js +157 -0
- package/elasticache/serverlessCache.js.map +1 -0
- package/finspace/kxCluster.d.ts +3 -0
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDataview.d.ts +0 -19
- package/finspace/kxDataview.js +0 -19
- package/finspace/kxDataview.js.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +9 -1
- package/fsx/getOntapFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +32 -8
- package/fsx/ontapFileSystem.js +4 -3
- package/fsx/ontapFileSystem.js.map +1 -1
- package/imagebuilder/index.d.ts +3 -0
- package/imagebuilder/index.js +6 -1
- package/imagebuilder/index.js.map +1 -1
- package/imagebuilder/workflow.d.ts +245 -0
- package/imagebuilder/workflow.js +134 -0
- package/imagebuilder/workflow.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kinesis/index.d.ts +3 -0
- package/kinesis/index.js +6 -1
- package/kinesis/index.js.map +1 -1
- package/kinesis/resourcePolicy.d.ts +102 -0
- package/kinesis/resourcePolicy.js +99 -0
- package/kinesis/resourcePolicy.js.map +1 -0
- package/kms/key.d.ts +12 -0
- package/kms/key.js +2 -0
- package/kms/key.js.map +1 -1
- package/lakeformation/resource.d.ts +33 -12
- package/lakeformation/resource.js +6 -1
- package/lakeformation/resource.js.map +1 -1
- package/lambda/function.d.ts +15 -1
- package/lambda/function.js +5 -1
- package/lambda/function.js.map +1 -1
- package/lambda/functionUrl.d.ts +2 -2
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lambda/getFunctionUrl.d.ts +1 -1
- package/lb/getTargetGroup.d.ts +4 -1
- package/lb/getTargetGroup.js +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/targetGroup.d.ts +15 -3
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/lb/trustStore.d.ts +3 -3
- package/lb/trustStoreRevocation.d.ts +3 -3
- package/lex/index.d.ts +3 -0
- package/lex/index.js +6 -1
- package/lex/index.js.map +1 -1
- package/lex/v2modelsBotVersion.d.ts +3 -3
- package/lex/v2modelsIntent.d.ts +263 -0
- package/lex/v2modelsIntent.js +105 -0
- package/lex/v2modelsIntent.js.map +1 -0
- package/mq/getBrokerEngineTypes.d.ts +69 -0
- package/mq/getBrokerEngineTypes.js +50 -0
- package/mq/getBrokerEngineTypes.js.map +1 -0
- package/mq/index.d.ts +3 -0
- package/mq/index.js +4 -1
- package/mq/index.js.map +1 -1
- package/msk/getBootstrapBrokers.d.ts +77 -0
- package/msk/getBootstrapBrokers.js +25 -0
- package/msk/getBootstrapBrokers.js.map +1 -0
- package/msk/index.d.ts +3 -0
- package/msk/index.js +4 -1
- package/msk/index.js.map +1 -1
- package/neptune/cluster.d.ts +12 -0
- package/neptune/cluster.js +2 -0
- package/neptune/cluster.js.map +1 -1
- package/neptune/clusterInstance.d.ts +8 -0
- package/neptune/clusterInstance.js +2 -0
- package/neptune/clusterInstance.js.map +1 -1
- package/networkfirewall/firewall.d.ts +9 -28
- package/networkfirewall/firewall.js +0 -19
- package/networkfirewall/firewall.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +1 -0
- package/networkfirewall/firewallPolicy.js +1 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkfirewall/getFirewall.d.ts +3 -3
- package/package.json +1 -1
- package/rds/optionGroup.d.ts +3 -3
- package/rds/parameterGroup.d.ts +6 -6
- package/redshiftserverless/workgroup.d.ts +12 -0
- package/redshiftserverless/workgroup.js +2 -0
- package/redshiftserverless/workgroup.js.map +1 -1
- package/route53/getResolverEndpoint.d.ts +2 -0
- package/route53/getResolverEndpoint.js.map +1 -1
- package/route53/resolverEndpoint.d.ts +28 -0
- package/route53/resolverEndpoint.js +8 -0
- package/route53/resolverEndpoint.js.map +1 -1
- package/s3/bucket.d.ts +2 -0
- package/s3/bucket.js +2 -0
- package/s3/bucket.js.map +1 -1
- package/s3/bucketAclV2.d.ts +3 -3
- package/s3/bucketObjectLockConfigurationV2.d.ts +4 -42
- package/s3/bucketObjectLockConfigurationV2.js +4 -42
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
- package/s3/bucketV2.d.ts +2 -0
- package/s3/bucketV2.js +2 -0
- package/s3/bucketV2.js.map +1 -1
- package/secretsmanager/getRandomPassword.d.ts +0 -8
- package/secretsmanager/getRandomPassword.js +0 -1
- package/secretsmanager/getRandomPassword.js.map +1 -1
- package/secretsmanager/getSecret.d.ts +20 -0
- package/secretsmanager/getSecret.js +1 -0
- package/secretsmanager/getSecret.js.map +1 -1
- package/secretsmanager/getSecretVersion.d.ts +4 -0
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/secretRotation.d.ts +12 -0
- package/secretsmanager/secretRotation.js +2 -0
- package/secretsmanager/secretRotation.js.map +1 -1
- package/securitylake/awsLogSource.d.ts +76 -0
- package/securitylake/awsLogSource.js +75 -0
- package/securitylake/awsLogSource.js.map +1 -0
- package/securitylake/index.d.ts +3 -0
- package/securitylake/index.js +6 -1
- package/securitylake/index.js.map +1 -1
- package/ses/configurationSet.d.ts +11 -0
- package/ses/configurationSet.js +11 -0
- package/ses/configurationSet.js.map +1 -1
- package/shield/applicationLayerAutomaticResponse.d.ts +3 -1
- package/shield/applicationLayerAutomaticResponse.js +3 -1
- package/shield/applicationLayerAutomaticResponse.js.map +1 -1
- package/sqs/queue.d.ts +11 -3
- package/sqs/queue.js +11 -3
- package/sqs/queue.js.map +1 -1
- package/ssoadmin/applicationAccessScope.d.ts +91 -0
- package/ssoadmin/applicationAccessScope.js +72 -0
- package/ssoadmin/applicationAccessScope.js.map +1 -0
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/transfer/server.d.ts +3 -3
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.js +1 -0
- package/types/enums/index.js.map +1 -1
- package/types/input.d.ts +10969 -293
- package/types/output.d.ts +11010 -296
- package/verifiedaccess/endpoint.d.ts +12 -0
- package/verifiedaccess/endpoint.js +2 -0
- package/verifiedaccess/endpoint.js.map +1 -1
- package/verifiedaccess/group.d.ts +9 -0
- package/verifiedaccess/group.js.map +1 -1
- package/verifiedpermissions/getPolicyStore.d.ts +76 -0
- package/verifiedpermissions/getPolicyStore.js +49 -0
- package/verifiedpermissions/getPolicyStore.js.map +1 -0
- package/verifiedpermissions/index.d.ts +12 -0
- package/verifiedpermissions/index.js +35 -0
- package/verifiedpermissions/index.js.map +1 -0
- package/verifiedpermissions/policyStore.d.ts +97 -0
- package/verifiedpermissions/policyStore.js +74 -0
- package/verifiedpermissions/policyStore.js.map +1 -0
- package/verifiedpermissions/policyTemplate.d.ts +118 -0
- package/verifiedpermissions/policyTemplate.js +87 -0
- package/verifiedpermissions/policyTemplate.js.map +1 -0
- package/verifiedpermissions/schema.d.ts +79 -0
- package/verifiedpermissions/schema.js +65 -0
- package/verifiedpermissions/schema.js.map +1 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PolicyTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS Verified Permissions Policy Template.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.verifiedpermissions.PolicyTemplate("example", {
|
|
19
|
+
* policyStoreId: aws_verifiedpermissions_policy_store.example.id,
|
|
20
|
+
* statement: "permit (principal in ?principal, action in PhotoFlash::Action::\"FullPhotoAccess\", resource == ?resource) unless { resource.IsPrivate };",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Using `pulumi import`, import Verified Permissions Policy Store using the `policy_store_id:policy_template_id`. For example:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:verifiedpermissions/policyTemplate:PolicyTemplate example policyStoreId:policyTemplateId
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class PolicyTemplate extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing PolicyTemplate resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new PolicyTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of PolicyTemplate. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === PolicyTemplate.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["createdDate"] = state ? state.createdDate : undefined;
|
|
61
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["policyStoreId"] = state ? state.policyStoreId : undefined;
|
|
63
|
+
resourceInputs["policyTemplateId"] = state ? state.policyTemplateId : undefined;
|
|
64
|
+
resourceInputs["statement"] = state ? state.statement : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.policyStoreId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'policyStoreId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.statement === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'statement'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["policyStoreId"] = args ? args.policyStoreId : undefined;
|
|
76
|
+
resourceInputs["statement"] = args ? args.statement : undefined;
|
|
77
|
+
resourceInputs["createdDate"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["policyTemplateId"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(PolicyTemplate.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.PolicyTemplate = PolicyTemplate;
|
|
85
|
+
/** @internal */
|
|
86
|
+
PolicyTemplate.__pulumiType = 'aws:verifiedpermissions/policyTemplate:PolicyTemplate';
|
|
87
|
+
//# sourceMappingURL=policyTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policyTemplate.js","sourceRoot":"","sources":["../../verifiedpermissions/policyTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAiCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC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AE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArFL,wCAsFC;AAxEG,gBAAgB;AACO,2BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* Using `pulumi import`, import Verified Permissions Policy Store Schema using the `policy_store_id`. For exampleconsole
|
|
10
|
+
*
|
|
11
|
+
* % pulumi import aws_verifiedpermissions_schema.example DxQg2j8xvXJQ1tQCYNWj9T
|
|
12
|
+
*/
|
|
13
|
+
export declare class Schema extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Schema resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchemaState, opts?: pulumi.CustomResourceOptions): Schema;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Schema. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Schema;
|
|
29
|
+
/**
|
|
30
|
+
* The definition of the schema.
|
|
31
|
+
*/
|
|
32
|
+
readonly definition: pulumi.Output<outputs.verifiedpermissions.SchemaDefinition | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* (Optional) Identifies the namespaces of the entities referenced by this schema.
|
|
35
|
+
*/
|
|
36
|
+
readonly namespaces: pulumi.Output<string[]>;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the Policy Store.
|
|
39
|
+
*/
|
|
40
|
+
readonly policyStoreId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a Schema resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: SchemaArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering Schema resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface SchemaState {
|
|
54
|
+
/**
|
|
55
|
+
* The definition of the schema.
|
|
56
|
+
*/
|
|
57
|
+
definition?: pulumi.Input<inputs.verifiedpermissions.SchemaDefinition>;
|
|
58
|
+
/**
|
|
59
|
+
* (Optional) Identifies the namespaces of the entities referenced by this schema.
|
|
60
|
+
*/
|
|
61
|
+
namespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the Policy Store.
|
|
64
|
+
*/
|
|
65
|
+
policyStoreId?: pulumi.Input<string>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The set of arguments for constructing a Schema resource.
|
|
69
|
+
*/
|
|
70
|
+
export interface SchemaArgs {
|
|
71
|
+
/**
|
|
72
|
+
* The definition of the schema.
|
|
73
|
+
*/
|
|
74
|
+
definition?: pulumi.Input<inputs.verifiedpermissions.SchemaDefinition>;
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the Policy Store.
|
|
77
|
+
*/
|
|
78
|
+
policyStoreId: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Schema = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Using `pulumi import`, import Verified Permissions Policy Store Schema using the `policy_store_id`. For exampleconsole
|
|
14
|
+
*
|
|
15
|
+
* % pulumi import aws_verifiedpermissions_schema.example DxQg2j8xvXJQ1tQCYNWj9T
|
|
16
|
+
*/
|
|
17
|
+
class Schema extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Schema resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Schema(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Schema. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Schema.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["definition"] = state ? state.definition : undefined;
|
|
46
|
+
resourceInputs["namespaces"] = state ? state.namespaces : undefined;
|
|
47
|
+
resourceInputs["policyStoreId"] = state ? state.policyStoreId : undefined;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if ((!args || args.policyStoreId === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'policyStoreId'");
|
|
53
|
+
}
|
|
54
|
+
resourceInputs["definition"] = args ? args.definition : undefined;
|
|
55
|
+
resourceInputs["policyStoreId"] = args ? args.policyStoreId : undefined;
|
|
56
|
+
resourceInputs["namespaces"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(Schema.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.Schema = Schema;
|
|
63
|
+
/** @internal */
|
|
64
|
+
Schema.__pulumiType = 'aws:verifiedpermissions/schema:Schema';
|
|
65
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../verifiedpermissions/schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,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