@pulumi/aws 7.11.0-alpha.1762176749 → 7.11.0
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/alb/listenerRule.d.ts +45 -0
- package/alb/listenerRule.js +35 -0
- package/alb/listenerRule.js.map +1 -1
- package/amplify/app.d.ts +1 -1
- package/amplify/app.js +1 -1
- package/apigateway/integration.d.ts +1 -1
- package/apigateway/integration.js +1 -1
- package/apigateway/integrationResponse.d.ts +1 -1
- package/apigateway/integrationResponse.js +1 -1
- package/appstream/getImage.d.ts +10 -10
- package/appsync/function.d.ts +5 -5
- package/appsync/function.js +5 -5
- package/appsync/graphQLApi.d.ts +1 -1
- package/appsync/graphQLApi.js +1 -1
- package/appsync/resolver.d.ts +11 -11
- package/appsync/resolver.js +11 -11
- package/autoscaling/tag.d.ts +30 -0
- package/autoscaling/tag.js +30 -0
- package/autoscaling/tag.js.map +1 -1
- package/autoscalingplans/scalingPlan.d.ts +100 -0
- package/autoscalingplans/scalingPlan.js +100 -0
- package/autoscalingplans/scalingPlan.js.map +1 -1
- package/bcmdata/export.d.ts +9 -0
- package/bcmdata/export.js.map +1 -1
- package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +6 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -1
- package/bedrock/agentcoreGateway.d.ts +6 -6
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +14 -14
- package/bedrockmodel/invocationLoggingConfiguration.js +14 -14
- package/cfg/organizationCustomPolicyRule.d.ts +3 -3
- package/cfg/organizationCustomPolicyRule.js +3 -3
- package/cfg/rule.d.ts +10 -10
- package/cfg/rule.js +10 -10
- package/cloudwatch/eventTarget.d.ts +3 -3
- package/cloudwatch/eventTarget.js +3 -3
- package/cloudwatch/metricAlarm.d.ts +1 -1
- package/cloudwatch/metricAlarm.js +1 -1
- package/codebuild/webhook.d.ts +20 -0
- package/codebuild/webhook.js +20 -0
- package/codebuild/webhook.js.map +1 -1
- package/codepipeline/webhook.d.ts +77 -0
- package/codepipeline/webhook.js +77 -0
- package/codepipeline/webhook.js.map +1 -1
- package/cognito/identityPoolProviderPrincipalTag.d.ts +37 -0
- package/cognito/identityPoolProviderPrincipalTag.js +37 -0
- package/cognito/identityPoolProviderPrincipalTag.js.map +1 -1
- package/datazone/formType.d.ts +9 -9
- package/datazone/formType.js +9 -9
- package/dms/replicationConfig.d.ts +1 -1
- package/dms/replicationConfig.js +1 -1
- package/dynamodb/getTableItem.d.ts +2 -2
- package/dynamodb/getTableItem.js +2 -2
- package/dynamodb/tableItem.d.ts +5 -5
- package/dynamodb/tableItem.js +5 -5
- package/ec2/getSubnets.d.ts +110 -0
- package/ec2/getSubnets.js +110 -0
- package/ec2/getSubnets.js.map +1 -1
- package/ec2/securityGroup.d.ts +4 -4
- package/ec2/securityGroup.js +4 -4
- package/ec2/vpcIpam.d.ts +28 -0
- package/ec2/vpcIpam.js +28 -0
- package/ec2/vpcIpam.js.map +1 -1
- package/ecr/lifecyclePolicy.d.ts +20 -20
- package/ecr/lifecyclePolicy.js +20 -20
- package/ecr/repositoryCreationTemplate.d.ts +10 -10
- package/ecr/repositoryCreationTemplate.js +10 -10
- package/ecrpublic/getImages.d.ts +76 -0
- package/ecrpublic/getImages.js +34 -0
- package/ecrpublic/getImages.js.map +1 -0
- package/ecrpublic/index.d.ts +3 -0
- package/ecrpublic/index.js +4 -1
- package/ecrpublic/index.js.map +1 -1
- package/ecs/getTaskDefinition.d.ts +18 -18
- package/ecs/getTaskDefinition.js +18 -18
- package/eks/getClusters.d.ts +30 -0
- package/eks/getClusters.js +30 -0
- package/eks/getClusters.js.map +1 -1
- package/elasticsearch/domain.d.ts +17 -17
- package/elasticsearch/domain.js +17 -17
- package/elasticsearch/domainPolicy.d.ts +8 -8
- package/elasticsearch/domainPolicy.js +8 -8
- package/emr/cluster.d.ts +54 -54
- package/emr/cluster.js +36 -36
- package/emr/instanceGroup.d.ts +18 -18
- package/emr/securityConfiguration.d.ts +9 -9
- package/emr/securityConfiguration.js +9 -9
- package/emrserverless/application.d.ts +94 -1
- package/emrserverless/application.js +74 -1
- package/emrserverless/application.js.map +1 -1
- package/evidently/segment.d.ts +2 -2
- package/evidently/segment.js +2 -2
- package/glue/connection.d.ts +13 -11
- package/glue/connection.js +13 -11
- package/glue/connection.js.map +1 -1
- package/glue/crawler.d.ts +3 -3
- package/glue/crawler.js +3 -3
- package/identitystore/group.d.ts +8 -0
- package/identitystore/group.js +2 -0
- package/identitystore/group.js.map +1 -1
- package/imagebuilder/getImageRecipe.d.ts +6 -0
- package/imagebuilder/getImageRecipe.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +18 -0
- package/imagebuilder/imageRecipe.js +2 -0
- package/imagebuilder/imageRecipe.js.map +1 -1
- package/imagebuilder/workflow.d.ts +3 -3
- package/imagebuilder/workflow.js +3 -3
- package/iot/getEndpoint.d.ts +46 -0
- package/iot/getEndpoint.js +46 -0
- package/iot/getEndpoint.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +20 -20
- package/kinesis/firehoseDeliveryStream.js +20 -20
- package/kinesis/resourcePolicy.d.ts +13 -13
- package/kinesis/resourcePolicy.js +13 -13
- package/kms/ciphertext.d.ts +2 -2
- package/kms/ciphertext.js +2 -2
- package/kms/getCipherText.d.ts +4 -4
- package/kms/getCipherText.js +4 -4
- package/lakeformation/identityCenterConfiguration.d.ts +121 -0
- package/lakeformation/identityCenterConfiguration.js +84 -0
- package/lakeformation/identityCenterConfiguration.js.map +1 -0
- package/lakeformation/index.d.ts +3 -0
- package/lakeformation/index.js +6 -1
- package/lakeformation/index.js.map +1 -1
- package/lambda/getCodeSigningConfig.d.ts +78 -0
- package/lambda/getCodeSigningConfig.js +78 -0
- package/lambda/getCodeSigningConfig.js.map +1 -1
- package/lambda/getInvocation.d.ts +100 -0
- package/lambda/getInvocation.js +100 -0
- package/lambda/getInvocation.js.map +1 -1
- package/lambda/invocation.d.ts +31 -0
- package/lambda/invocation.js +31 -0
- package/lambda/invocation.js.map +1 -1
- package/lb/getListenerRule.d.ts +12 -0
- package/lb/getListenerRule.js +2 -0
- package/lb/getListenerRule.js.map +1 -1
- package/lb/listenerRule.d.ts +45 -0
- package/lb/listenerRule.js +35 -0
- package/lb/listenerRule.js.map +1 -1
- package/m2/application.d.ts +13 -13
- package/m2/application.js +13 -13
- package/mq/configuration.d.ts +4 -4
- package/mq/configuration.js +4 -4
- package/networkmanager/siteToSiteVpnAttachment.d.ts +77 -0
- package/networkmanager/siteToSiteVpnAttachment.js +77 -0
- package/networkmanager/siteToSiteVpnAttachment.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +6 -6
- package/opensearchingest/pipeline.js +6 -6
- package/organizations/getPolicies.d.ts +34 -0
- package/organizations/getPolicies.js +34 -0
- package/organizations/getPolicies.js.map +1 -1
- package/organizations/getPoliciesForTarget.d.ts +38 -0
- package/organizations/getPoliciesForTarget.js +38 -0
- package/organizations/getPoliciesForTarget.js.map +1 -1
- package/organizations/resourcePolicy.d.ts +23 -23
- package/organizations/resourcePolicy.js +23 -23
- package/package.json +2 -2
- package/rds/customDbEngineVersion.d.ts +1 -1
- package/rds/customDbEngineVersion.js +1 -1
- package/resourcegroups/group.d.ts +5 -5
- package/resourcegroups/group.js +5 -5
- package/route53/trafficPolicy.d.ts +7 -7
- package/route53/trafficPolicy.js +7 -7
- package/s3/bucketWebsiteConfiguration.d.ts +4 -4
- package/s3/bucketWebsiteConfiguration.js +4 -4
- package/s3/bucketWebsiteConfigurationV2.d.ts +4 -4
- package/s3/bucketWebsiteConfigurationV2.js +4 -4
- package/s3control/accessGrantsInstanceResourcePolicy.d.ts +12 -12
- package/s3control/accessGrantsInstanceResourcePolicy.js +12 -12
- package/sagemaker/flowDefinition.d.ts +9 -9
- package/sagemaker/flowDefinition.js +9 -9
- package/sagemaker/model.d.ts +11 -6
- package/sagemaker/model.js +5 -0
- package/sagemaker/model.js.map +1 -1
- package/sagemaker/modelPackageGroupPolicy.d.ts +31 -0
- package/sagemaker/modelPackageGroupPolicy.js +31 -0
- package/sagemaker/modelPackageGroupPolicy.js.map +1 -1
- package/sagemaker/notebookInstance.d.ts +3 -3
- package/secretsmanager/getSecretVersion.d.ts +26 -0
- package/secretsmanager/getSecretVersion.js +26 -0
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/secretVersion.d.ts +31 -0
- package/secretsmanager/secretVersion.js +31 -0
- package/secretsmanager/secretVersion.js.map +1 -1
- package/securityhub/standardsControlAssociation.d.ts +26 -0
- package/securityhub/standardsControlAssociation.js +26 -0
- package/securityhub/standardsControlAssociation.js.map +1 -1
- package/sesv2/emailIdentityPolicy.d.ts +13 -13
- package/sesv2/emailIdentityPolicy.js +13 -13
- package/sfn/stateMachine.d.ts +35 -35
- package/sfn/stateMachine.js +35 -35
- package/sns/topic.d.ts +12 -12
- package/sns/topic.js +12 -12
- package/sns/topicSubscription.d.ts +13 -13
- package/sns/topicSubscription.js +13 -13
- package/sqs/queue.d.ts +0 -6
- package/sqs/queue.js +0 -6
- package/sqs/queue.js.map +1 -1
- package/ssm/association.d.ts +1 -1
- package/ssm/association.js +1 -1
- package/ssm/document.d.ts +8 -8
- package/ssm/document.js +8 -8
- package/timestreamquery/scheduledQuery.d.ts +8 -8
- package/timestreamquery/scheduledQuery.js +8 -8
- package/types/input.d.ts +377 -21
- package/types/input.js.map +1 -1
- package/types/output.d.ts +331 -20
- package/types/output.js.map +1 -1
package/lb/listenerRule.js
CHANGED
|
@@ -164,6 +164,39 @@ const utilities = require("../utilities");
|
|
|
164
164
|
* },
|
|
165
165
|
* ],
|
|
166
166
|
* });
|
|
167
|
+
* // With transform
|
|
168
|
+
* const transform = new aws.lb.ListenerRule("transform", {
|
|
169
|
+
* listenerArn: frontEndListener.arn,
|
|
170
|
+
* actions: [{
|
|
171
|
+
* type: "forward",
|
|
172
|
+
* targetGroupArn: staticAwsLbTargetGroup.arn,
|
|
173
|
+
* }],
|
|
174
|
+
* conditions: [{
|
|
175
|
+
* pathPattern: {
|
|
176
|
+
* values: ["*"],
|
|
177
|
+
* },
|
|
178
|
+
* }],
|
|
179
|
+
* transforms: [
|
|
180
|
+
* {
|
|
181
|
+
* type: "host-header-rewrite",
|
|
182
|
+
* hostHeaderRewriteConfig: {
|
|
183
|
+
* rewrite: {
|
|
184
|
+
* regex: "^mywebsite-(.+).com$",
|
|
185
|
+
* replace: "internal.dev.$1.myweb.com",
|
|
186
|
+
* },
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* {
|
|
190
|
+
* type: "url-rewrite",
|
|
191
|
+
* urlRewriteConfig: {
|
|
192
|
+
* rewrite: {
|
|
193
|
+
* regex: "^/dp/([A-Za-z0-9]+)/?$",
|
|
194
|
+
* replace: "/product.php?id=$1",
|
|
195
|
+
* },
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
198
|
+
* ],
|
|
199
|
+
* });
|
|
167
200
|
* ```
|
|
168
201
|
*
|
|
169
202
|
* ## Import
|
|
@@ -216,6 +249,7 @@ class ListenerRule extends pulumi.CustomResource {
|
|
|
216
249
|
resourceInputs["region"] = state?.region;
|
|
217
250
|
resourceInputs["tags"] = state?.tags;
|
|
218
251
|
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
252
|
+
resourceInputs["transforms"] = state?.transforms;
|
|
219
253
|
}
|
|
220
254
|
else {
|
|
221
255
|
const args = argsOrState;
|
|
@@ -234,6 +268,7 @@ class ListenerRule extends pulumi.CustomResource {
|
|
|
234
268
|
resourceInputs["priority"] = args?.priority;
|
|
235
269
|
resourceInputs["region"] = args?.region;
|
|
236
270
|
resourceInputs["tags"] = args?.tags;
|
|
271
|
+
resourceInputs["transforms"] = args?.transforms;
|
|
237
272
|
resourceInputs["arn"] = undefined /*out*/;
|
|
238
273
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
239
274
|
}
|
package/lb/listenerRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listenerRule.js","sourceRoot":"","sources":["../../lb/listenerRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"listenerRule.js","sourceRoot":"","sources":["../../lb/listenerRule.ts"],"names":[],"mappings":"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"}
|
package/m2/application.d.ts
CHANGED
|
@@ -17,28 +17,28 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* engineType: "bluage",
|
|
18
18
|
* definition: {
|
|
19
19
|
* content: `{
|
|
20
|
-
* "definition": {
|
|
21
|
-
* "listeners": [
|
|
20
|
+
* \"definition\": {
|
|
21
|
+
* \"listeners\": [
|
|
22
22
|
* {
|
|
23
|
-
* "port": 8196,
|
|
24
|
-
* "type": "http"
|
|
23
|
+
* \"port\": 8196,
|
|
24
|
+
* \"type\": \"http\"
|
|
25
25
|
* }
|
|
26
26
|
* ],
|
|
27
|
-
* "ba-application": {
|
|
28
|
-
* "app-location": "${s3_source}/PlanetsDemo-v1.zip"
|
|
27
|
+
* \"ba-application\": {
|
|
28
|
+
* \"app-location\": \"${s3_source}/PlanetsDemo-v1.zip\"
|
|
29
29
|
* }
|
|
30
30
|
* },
|
|
31
|
-
* "source-locations": [
|
|
31
|
+
* \"source-locations\": [
|
|
32
32
|
* {
|
|
33
|
-
* "source-id": "s3-source",
|
|
34
|
-
* "source-type": "s3",
|
|
35
|
-
* "properties": {
|
|
36
|
-
* "s3-bucket": "example-bucket",
|
|
37
|
-
* "s3-key-prefix": "v1"
|
|
33
|
+
* \"source-id\": \"s3-source\",
|
|
34
|
+
* \"source-type\": \"s3\",
|
|
35
|
+
* \"properties\": {
|
|
36
|
+
* \"s3-bucket\": \"example-bucket\",
|
|
37
|
+
* \"s3-key-prefix\": \"v1\"
|
|
38
38
|
* }
|
|
39
39
|
* }
|
|
40
40
|
* ],
|
|
41
|
-
* "template-version": "2.0"
|
|
41
|
+
* \"template-version\": \"2.0\"
|
|
42
42
|
* }
|
|
43
43
|
*
|
|
44
44
|
* `,
|
package/m2/application.js
CHANGED
|
@@ -21,28 +21,28 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* engineType: "bluage",
|
|
22
22
|
* definition: {
|
|
23
23
|
* content: `{
|
|
24
|
-
* "definition": {
|
|
25
|
-
* "listeners": [
|
|
24
|
+
* \"definition\": {
|
|
25
|
+
* \"listeners\": [
|
|
26
26
|
* {
|
|
27
|
-
* "port": 8196,
|
|
28
|
-
* "type": "http"
|
|
27
|
+
* \"port\": 8196,
|
|
28
|
+
* \"type\": \"http\"
|
|
29
29
|
* }
|
|
30
30
|
* ],
|
|
31
|
-
* "ba-application": {
|
|
32
|
-
* "app-location": "${s3_source}/PlanetsDemo-v1.zip"
|
|
31
|
+
* \"ba-application\": {
|
|
32
|
+
* \"app-location\": \"${s3_source}/PlanetsDemo-v1.zip\"
|
|
33
33
|
* }
|
|
34
34
|
* },
|
|
35
|
-
* "source-locations": [
|
|
35
|
+
* \"source-locations\": [
|
|
36
36
|
* {
|
|
37
|
-
* "source-id": "s3-source",
|
|
38
|
-
* "source-type": "s3",
|
|
39
|
-
* "properties": {
|
|
40
|
-
* "s3-bucket": "example-bucket",
|
|
41
|
-
* "s3-key-prefix": "v1"
|
|
37
|
+
* \"source-id\": \"s3-source\",
|
|
38
|
+
* \"source-type\": \"s3\",
|
|
39
|
+
* \"properties\": {
|
|
40
|
+
* \"s3-bucket\": \"example-bucket\",
|
|
41
|
+
* \"s3-key-prefix\": \"v1\"
|
|
42
42
|
* }
|
|
43
43
|
* }
|
|
44
44
|
* ],
|
|
45
|
-
* "template-version": "2.0"
|
|
45
|
+
* \"template-version\": \"2.0\"
|
|
46
46
|
* }
|
|
47
47
|
*
|
|
48
48
|
* `,
|
package/mq/configuration.d.ts
CHANGED
|
@@ -15,12 +15,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* name: "example",
|
|
16
16
|
* engineType: "ActiveMQ",
|
|
17
17
|
* engineVersion: "5.17.6",
|
|
18
|
-
* data: `<?xml version
|
|
19
|
-
* <broker xmlns
|
|
18
|
+
* data: `<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" standalone=\\"yes\\"?>
|
|
19
|
+
* <broker xmlns=\\"http://activemq.apache.org/schema/core\\">
|
|
20
20
|
* <plugins>
|
|
21
|
-
* <forcePersistencyModeBrokerPlugin persistenceFlag
|
|
21
|
+
* <forcePersistencyModeBrokerPlugin persistenceFlag=\\"true\\"/>
|
|
22
22
|
* <statisticsBrokerPlugin/>
|
|
23
|
-
* <timeStampingBrokerPlugin ttlCeiling
|
|
23
|
+
* <timeStampingBrokerPlugin ttlCeiling=\\"86400000\\" zeroExpirationOverride=\\"86400000\\"/>
|
|
24
24
|
* </plugins>
|
|
25
25
|
* </broker>
|
|
26
26
|
* `,
|
package/mq/configuration.js
CHANGED
|
@@ -21,12 +21,12 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* name: "example",
|
|
22
22
|
* engineType: "ActiveMQ",
|
|
23
23
|
* engineVersion: "5.17.6",
|
|
24
|
-
* data: `<?xml version
|
|
25
|
-
* <broker xmlns
|
|
24
|
+
* data: `<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" standalone=\\"yes\\"?>
|
|
25
|
+
* <broker xmlns=\\"http://activemq.apache.org/schema/core\\">
|
|
26
26
|
* <plugins>
|
|
27
|
-
* <forcePersistencyModeBrokerPlugin persistenceFlag
|
|
27
|
+
* <forcePersistencyModeBrokerPlugin persistenceFlag=\\"true\\"/>
|
|
28
28
|
* <statisticsBrokerPlugin/>
|
|
29
|
-
* <timeStampingBrokerPlugin ttlCeiling
|
|
29
|
+
* <timeStampingBrokerPlugin ttlCeiling=\\"86400000\\" zeroExpirationOverride=\\"86400000\\"/>
|
|
30
30
|
* </plugins>
|
|
31
31
|
* </broker>
|
|
32
32
|
* `,
|
|
@@ -16,6 +16,83 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
|
+
* ### Full Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as aws from "@pulumi/aws";
|
|
24
|
+
* import * as awscc from "@pulumi/awscc";
|
|
25
|
+
* import * as std from "@pulumi/std";
|
|
26
|
+
*
|
|
27
|
+
* const testCustomerGateway = new aws.ec2.CustomerGateway("test", {
|
|
28
|
+
* bgpAsn: "65000",
|
|
29
|
+
* ipAddress: "172.0.0.1",
|
|
30
|
+
* type: "ipsec.1",
|
|
31
|
+
* });
|
|
32
|
+
* const testVpnConnection = new aws.ec2.VpnConnection("test", {
|
|
33
|
+
* customerGatewayId: testCustomerGateway.id,
|
|
34
|
+
* type: "ipsec.1",
|
|
35
|
+
* tags: {
|
|
36
|
+
* Name: "test",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const testGlobalNetwork = new aws.networkmanager.GlobalNetwork("test", {tags: {
|
|
40
|
+
* Name: "test",
|
|
41
|
+
* }});
|
|
42
|
+
* const test = aws.networkmanager.getCoreNetworkPolicyDocument({
|
|
43
|
+
* coreNetworkConfigurations: [{
|
|
44
|
+
* vpnEcmpSupport: false,
|
|
45
|
+
* asnRanges: ["64512-64555"],
|
|
46
|
+
* edgeLocations: [{
|
|
47
|
+
* location: current.region,
|
|
48
|
+
* asn: "64512",
|
|
49
|
+
* }],
|
|
50
|
+
* }],
|
|
51
|
+
* segments: [{
|
|
52
|
+
* name: "shared",
|
|
53
|
+
* description: "SegmentForSharedServices",
|
|
54
|
+
* requireAttachmentAcceptance: true,
|
|
55
|
+
* }],
|
|
56
|
+
* segmentActions: [{
|
|
57
|
+
* action: "share",
|
|
58
|
+
* mode: "attachment-route",
|
|
59
|
+
* segment: "shared",
|
|
60
|
+
* shareWiths: ["*"],
|
|
61
|
+
* }],
|
|
62
|
+
* attachmentPolicies: [{
|
|
63
|
+
* ruleNumber: 1,
|
|
64
|
+
* conditionLogic: "or",
|
|
65
|
+
* conditions: [{
|
|
66
|
+
* type: "tag-value",
|
|
67
|
+
* operator: "equals",
|
|
68
|
+
* key: "segment",
|
|
69
|
+
* value: "shared",
|
|
70
|
+
* }],
|
|
71
|
+
* action: {
|
|
72
|
+
* associationMethod: "constant",
|
|
73
|
+
* segment: "shared",
|
|
74
|
+
* },
|
|
75
|
+
* }],
|
|
76
|
+
* });
|
|
77
|
+
* const testNetworkmanagerCoreNetwork = new awscc.index.NetworkmanagerCoreNetwork("test", {
|
|
78
|
+
* globalNetworkId: testGlobalNetwork.id,
|
|
79
|
+
* policyDocument: JSON.stringify(std.jsondecode({
|
|
80
|
+
* input: test.json,
|
|
81
|
+
* }).result),
|
|
82
|
+
* });
|
|
83
|
+
* const testSiteToSiteVpnAttachment = new aws.networkmanager.SiteToSiteVpnAttachment("test", {
|
|
84
|
+
* coreNetworkId: testNetworkmanagerCoreNetwork.id,
|
|
85
|
+
* vpnConnectionArn: testVpnConnection.arn,
|
|
86
|
+
* tags: {
|
|
87
|
+
* segment: "shared",
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* const testAttachmentAccepter = new aws.networkmanager.AttachmentAccepter("test", {
|
|
91
|
+
* attachmentId: testSiteToSiteVpnAttachment.id,
|
|
92
|
+
* attachmentType: testSiteToSiteVpnAttachment.attachmentType,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
19
96
|
* ## Import
|
|
20
97
|
*
|
|
21
98
|
* Using `pulumi import`, import `aws_networkmanager_site_to_site_vpn_attachment` using the attachment ID. For example:
|
|
@@ -22,6 +22,83 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
25
|
+
* ### Full Usage
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
* import * as awscc from "@pulumi/awscc";
|
|
31
|
+
* import * as std from "@pulumi/std";
|
|
32
|
+
*
|
|
33
|
+
* const testCustomerGateway = new aws.ec2.CustomerGateway("test", {
|
|
34
|
+
* bgpAsn: "65000",
|
|
35
|
+
* ipAddress: "172.0.0.1",
|
|
36
|
+
* type: "ipsec.1",
|
|
37
|
+
* });
|
|
38
|
+
* const testVpnConnection = new aws.ec2.VpnConnection("test", {
|
|
39
|
+
* customerGatewayId: testCustomerGateway.id,
|
|
40
|
+
* type: "ipsec.1",
|
|
41
|
+
* tags: {
|
|
42
|
+
* Name: "test",
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* const testGlobalNetwork = new aws.networkmanager.GlobalNetwork("test", {tags: {
|
|
46
|
+
* Name: "test",
|
|
47
|
+
* }});
|
|
48
|
+
* const test = aws.networkmanager.getCoreNetworkPolicyDocument({
|
|
49
|
+
* coreNetworkConfigurations: [{
|
|
50
|
+
* vpnEcmpSupport: false,
|
|
51
|
+
* asnRanges: ["64512-64555"],
|
|
52
|
+
* edgeLocations: [{
|
|
53
|
+
* location: current.region,
|
|
54
|
+
* asn: "64512",
|
|
55
|
+
* }],
|
|
56
|
+
* }],
|
|
57
|
+
* segments: [{
|
|
58
|
+
* name: "shared",
|
|
59
|
+
* description: "SegmentForSharedServices",
|
|
60
|
+
* requireAttachmentAcceptance: true,
|
|
61
|
+
* }],
|
|
62
|
+
* segmentActions: [{
|
|
63
|
+
* action: "share",
|
|
64
|
+
* mode: "attachment-route",
|
|
65
|
+
* segment: "shared",
|
|
66
|
+
* shareWiths: ["*"],
|
|
67
|
+
* }],
|
|
68
|
+
* attachmentPolicies: [{
|
|
69
|
+
* ruleNumber: 1,
|
|
70
|
+
* conditionLogic: "or",
|
|
71
|
+
* conditions: [{
|
|
72
|
+
* type: "tag-value",
|
|
73
|
+
* operator: "equals",
|
|
74
|
+
* key: "segment",
|
|
75
|
+
* value: "shared",
|
|
76
|
+
* }],
|
|
77
|
+
* action: {
|
|
78
|
+
* associationMethod: "constant",
|
|
79
|
+
* segment: "shared",
|
|
80
|
+
* },
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* const testNetworkmanagerCoreNetwork = new awscc.index.NetworkmanagerCoreNetwork("test", {
|
|
84
|
+
* globalNetworkId: testGlobalNetwork.id,
|
|
85
|
+
* policyDocument: JSON.stringify(std.jsondecode({
|
|
86
|
+
* input: test.json,
|
|
87
|
+
* }).result),
|
|
88
|
+
* });
|
|
89
|
+
* const testSiteToSiteVpnAttachment = new aws.networkmanager.SiteToSiteVpnAttachment("test", {
|
|
90
|
+
* coreNetworkId: testNetworkmanagerCoreNetwork.id,
|
|
91
|
+
* vpnConnectionArn: testVpnConnection.arn,
|
|
92
|
+
* tags: {
|
|
93
|
+
* segment: "shared",
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* const testAttachmentAccepter = new aws.networkmanager.AttachmentAccepter("test", {
|
|
97
|
+
* attachmentId: testSiteToSiteVpnAttachment.id,
|
|
98
|
+
* attachmentType: testSiteToSiteVpnAttachment.attachmentType,
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
25
102
|
* ## Import
|
|
26
103
|
*
|
|
27
104
|
* Using `pulumi import`, import `aws_networkmanager_site_to_site_vpn_attachment` using the attachment ID. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"siteToSiteVpnAttachment.js","sourceRoot":"","sources":["../../networkmanager/siteToSiteVpnAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"siteToSiteVpnAttachment.js","sourceRoot":"","sources":["../../networkmanager/siteToSiteVpnAttachment.ts"],"names":[],"mappings":"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"}
|
|
@@ -26,19 +26,19 @@ import * as outputs from "../types/output";
|
|
|
26
26
|
* })});
|
|
27
27
|
* const examplePipeline = new aws.opensearchingest.Pipeline("example", {
|
|
28
28
|
* pipelineName: "example",
|
|
29
|
-
* pipelineConfigurationBody: pulumi.all([example.arn, current]).apply(([arn, current]) => `version: "2"
|
|
29
|
+
* pipelineConfigurationBody: pulumi.all([example.arn, current]).apply(([arn, current]) => `version: \"2\"
|
|
30
30
|
* example-pipeline:
|
|
31
31
|
* source:
|
|
32
32
|
* http:
|
|
33
|
-
* path: "/example"
|
|
33
|
+
* path: \"/example\"
|
|
34
34
|
* sink:
|
|
35
35
|
* - s3:
|
|
36
36
|
* aws:
|
|
37
|
-
* sts_role_arn: "${arn}"
|
|
38
|
-
* region: "${current.region}"
|
|
39
|
-
* bucket: "example"
|
|
37
|
+
* sts_role_arn: \"${arn}\"
|
|
38
|
+
* region: \"${current.region}\"
|
|
39
|
+
* bucket: \"example\"
|
|
40
40
|
* threshold:
|
|
41
|
-
* event_collect_timeout: "60s"
|
|
41
|
+
* event_collect_timeout: \"60s\"
|
|
42
42
|
* codec:
|
|
43
43
|
* ndjson:
|
|
44
44
|
* `),
|
|
@@ -30,19 +30,19 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* })});
|
|
31
31
|
* const examplePipeline = new aws.opensearchingest.Pipeline("example", {
|
|
32
32
|
* pipelineName: "example",
|
|
33
|
-
* pipelineConfigurationBody: pulumi.all([example.arn, current]).apply(([arn, current]) => `version: "2"
|
|
33
|
+
* pipelineConfigurationBody: pulumi.all([example.arn, current]).apply(([arn, current]) => `version: \"2\"
|
|
34
34
|
* example-pipeline:
|
|
35
35
|
* source:
|
|
36
36
|
* http:
|
|
37
|
-
* path: "/example"
|
|
37
|
+
* path: \"/example\"
|
|
38
38
|
* sink:
|
|
39
39
|
* - s3:
|
|
40
40
|
* aws:
|
|
41
|
-
* sts_role_arn: "${arn}"
|
|
42
|
-
* region: "${current.region}"
|
|
43
|
-
* bucket: "example"
|
|
41
|
+
* sts_role_arn: \"${arn}\"
|
|
42
|
+
* region: \"${current.region}\"
|
|
43
|
+
* bucket: \"example\"
|
|
44
44
|
* threshold:
|
|
45
|
-
* event_collect_timeout: "60s"
|
|
45
|
+
* event_collect_timeout: \"60s\"
|
|
46
46
|
* codec:
|
|
47
47
|
* ndjson:
|
|
48
48
|
* `),
|
|
@@ -3,6 +3,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* Data source for managing an AWS Organizations Policies.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
* import * as std from "@pulumi/std";
|
|
13
|
+
*
|
|
14
|
+
* const example = aws.organizations.getPolicies({
|
|
15
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleGetPolicy = example.then(example => std.toset({
|
|
18
|
+
* input: example.ids,
|
|
19
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
20
|
+
* policyId: __value,
|
|
21
|
+
* }) })));
|
|
22
|
+
* ```
|
|
6
23
|
*/
|
|
7
24
|
export declare function getPolicies(args: GetPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetPoliciesResult>;
|
|
8
25
|
/**
|
|
@@ -32,6 +49,23 @@ export interface GetPoliciesResult {
|
|
|
32
49
|
* Data source for managing an AWS Organizations Policies.
|
|
33
50
|
*
|
|
34
51
|
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ### Basic Usage
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as aws from "@pulumi/aws";
|
|
58
|
+
* import * as std from "@pulumi/std";
|
|
59
|
+
*
|
|
60
|
+
* const example = aws.organizations.getPolicies({
|
|
61
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
62
|
+
* });
|
|
63
|
+
* const exampleGetPolicy = example.then(example => std.toset({
|
|
64
|
+
* input: example.ids,
|
|
65
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
66
|
+
* policyId: __value,
|
|
67
|
+
* }) })));
|
|
68
|
+
* ```
|
|
35
69
|
*/
|
|
36
70
|
export declare function getPoliciesOutput(args: GetPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoliciesResult>;
|
|
37
71
|
/**
|
|
@@ -9,6 +9,23 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Data source for managing an AWS Organizations Policies.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const example = aws.organizations.getPolicies({
|
|
21
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleGetPolicy = example.then(example => std.toset({
|
|
24
|
+
* input: example.ids,
|
|
25
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
26
|
+
* policyId: __value,
|
|
27
|
+
* }) })));
|
|
28
|
+
* ```
|
|
12
29
|
*/
|
|
13
30
|
function getPolicies(args, opts) {
|
|
14
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +38,23 @@ exports.getPolicies = getPolicies;
|
|
|
21
38
|
* Data source for managing an AWS Organizations Policies.
|
|
22
39
|
*
|
|
23
40
|
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### Basic Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as aws from "@pulumi/aws";
|
|
47
|
+
* import * as std from "@pulumi/std";
|
|
48
|
+
*
|
|
49
|
+
* const example = aws.organizations.getPolicies({
|
|
50
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
51
|
+
* });
|
|
52
|
+
* const exampleGetPolicy = example.then(example => std.toset({
|
|
53
|
+
* input: example.ids,
|
|
54
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
55
|
+
* policyId: __value,
|
|
56
|
+
* }) })));
|
|
57
|
+
* ```
|
|
24
58
|
*/
|
|
25
59
|
function getPoliciesOutput(args, opts) {
|
|
26
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPolicies.js","sourceRoot":"","sources":["../../organizations/getPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPolicies.js","sourceRoot":"","sources":["../../organizations/getPolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA0BD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -3,6 +3,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* Data source for managing an AWS Organizations Policies For Target.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
* import * as std from "@pulumi/std";
|
|
13
|
+
*
|
|
14
|
+
* const example = aws.organizations.getOrganization({});
|
|
15
|
+
* const exampleGetPoliciesForTarget = example.then(example => aws.organizations.getPoliciesForTarget({
|
|
16
|
+
* targetId: example.roots?.[0]?.id,
|
|
17
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
18
|
+
* }));
|
|
19
|
+
* const exampleGetPolicy = exampleGetPoliciesForTarget.then(exampleGetPoliciesForTarget => std.toset({
|
|
20
|
+
* input: exampleGetPoliciesForTarget.ids,
|
|
21
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
22
|
+
* policyId: __value,
|
|
23
|
+
* }) })));
|
|
24
|
+
* ```
|
|
6
25
|
*/
|
|
7
26
|
export declare function getPoliciesForTarget(args: GetPoliciesForTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetPoliciesForTargetResult>;
|
|
8
27
|
/**
|
|
@@ -37,6 +56,25 @@ export interface GetPoliciesForTargetResult {
|
|
|
37
56
|
* Data source for managing an AWS Organizations Policies For Target.
|
|
38
57
|
*
|
|
39
58
|
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ### Basic Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as aws from "@pulumi/aws";
|
|
65
|
+
* import * as std from "@pulumi/std";
|
|
66
|
+
*
|
|
67
|
+
* const example = aws.organizations.getOrganization({});
|
|
68
|
+
* const exampleGetPoliciesForTarget = example.then(example => aws.organizations.getPoliciesForTarget({
|
|
69
|
+
* targetId: example.roots?.[0]?.id,
|
|
70
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
71
|
+
* }));
|
|
72
|
+
* const exampleGetPolicy = exampleGetPoliciesForTarget.then(exampleGetPoliciesForTarget => std.toset({
|
|
73
|
+
* input: exampleGetPoliciesForTarget.ids,
|
|
74
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
75
|
+
* policyId: __value,
|
|
76
|
+
* }) })));
|
|
77
|
+
* ```
|
|
40
78
|
*/
|
|
41
79
|
export declare function getPoliciesForTargetOutput(args: GetPoliciesForTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoliciesForTargetResult>;
|
|
42
80
|
/**
|
|
@@ -9,6 +9,25 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Data source for managing an AWS Organizations Policies For Target.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const example = aws.organizations.getOrganization({});
|
|
21
|
+
* const exampleGetPoliciesForTarget = example.then(example => aws.organizations.getPoliciesForTarget({
|
|
22
|
+
* targetId: example.roots?.[0]?.id,
|
|
23
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
24
|
+
* }));
|
|
25
|
+
* const exampleGetPolicy = exampleGetPoliciesForTarget.then(exampleGetPoliciesForTarget => std.toset({
|
|
26
|
+
* input: exampleGetPoliciesForTarget.ids,
|
|
27
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
28
|
+
* policyId: __value,
|
|
29
|
+
* }) })));
|
|
30
|
+
* ```
|
|
12
31
|
*/
|
|
13
32
|
function getPoliciesForTarget(args, opts) {
|
|
14
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -22,6 +41,25 @@ exports.getPoliciesForTarget = getPoliciesForTarget;
|
|
|
22
41
|
* Data source for managing an AWS Organizations Policies For Target.
|
|
23
42
|
*
|
|
24
43
|
* ## Example Usage
|
|
44
|
+
*
|
|
45
|
+
* ### Basic Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as aws from "@pulumi/aws";
|
|
50
|
+
* import * as std from "@pulumi/std";
|
|
51
|
+
*
|
|
52
|
+
* const example = aws.organizations.getOrganization({});
|
|
53
|
+
* const exampleGetPoliciesForTarget = example.then(example => aws.organizations.getPoliciesForTarget({
|
|
54
|
+
* targetId: example.roots?.[0]?.id,
|
|
55
|
+
* filter: "SERVICE_CONTROL_POLICY",
|
|
56
|
+
* }));
|
|
57
|
+
* const exampleGetPolicy = exampleGetPoliciesForTarget.then(exampleGetPoliciesForTarget => std.toset({
|
|
58
|
+
* input: exampleGetPoliciesForTarget.ids,
|
|
59
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: aws.organizations.getPolicy({
|
|
60
|
+
* policyId: __value,
|
|
61
|
+
* }) })));
|
|
62
|
+
* ```
|
|
25
63
|
*/
|
|
26
64
|
function getPoliciesForTargetOutput(args, opts) {
|
|
27
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPoliciesForTarget.js","sourceRoot":"","sources":["../../organizations/getPoliciesForTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPoliciesForTarget.js","sourceRoot":"","sources":["../../organizations/getPoliciesForTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6DAA6D,EAAE;QAC9F,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
|