@pulumi/aws 6.0.0-alpha.5 → 6.0.0-alpha.7
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/apigateway/authorizer.d.ts +55 -0
- package/apigateway/authorizer.js +55 -0
- package/apigateway/authorizer.js.map +1 -1
- package/apigateway/methodSettings.d.ts +72 -0
- package/apigateway/methodSettings.js +72 -0
- package/apigateway/methodSettings.js.map +1 -1
- package/apigateway/stage.d.ts +1 -1
- package/apigateway/stage.js +1 -1
- package/appintegrations/dataIntegration.d.ts +1 -2
- package/appintegrations/dataIntegration.js +0 -4
- package/appintegrations/dataIntegration.js.map +1 -1
- package/appmesh/virtualRouter.d.ts +1 -1
- package/appmesh/virtualRouter.js +1 -1
- package/athena/database.d.ts +1 -1
- package/athena/database.js +1 -1
- package/auditmanager/assessment.d.ts +1 -2
- package/auditmanager/assessment.js +0 -4
- package/auditmanager/assessment.js.map +1 -1
- package/auditmanager/assessmentReport.d.ts +2 -5
- package/auditmanager/assessmentReport.js +1 -7
- package/auditmanager/assessmentReport.js.map +1 -1
- package/auditmanager/control.d.ts +7 -10
- package/auditmanager/control.js +5 -11
- package/auditmanager/control.js.map +1 -1
- package/auditmanager/framework.d.ts +6 -9
- package/auditmanager/framework.js +4 -10
- package/auditmanager/framework.js.map +1 -1
- package/auditmanager/getControl.d.ts +28 -34
- package/auditmanager/getControl.js +28 -34
- package/auditmanager/getControl.js.map +1 -1
- package/autoscaling/policy.d.ts +1 -1
- package/autoscaling/policy.js +1 -1
- package/budgets/getBudget.d.ts +4 -1
- package/budgets/getBudget.js.map +1 -1
- package/chime/sdkvoiceSipMediaApplication.d.ts +1 -2
- package/chime/sdkvoiceSipMediaApplication.js +0 -4
- package/chime/sdkvoiceSipMediaApplication.js.map +1 -1
- package/chime/sdkvoiceSipRule.d.ts +1 -2
- package/chime/sdkvoiceSipRule.js +0 -4
- package/chime/sdkvoiceSipRule.js.map +1 -1
- package/chime/sdkvoiceVoiceProfileDomain.d.ts +1 -2
- package/chime/sdkvoiceVoiceProfileDomain.js +0 -4
- package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +1 -2
- package/cleanrooms/collaboration.js +0 -4
- package/cleanrooms/collaboration.js.map +1 -1
- package/cloudfront/distribution.d.ts +229 -0
- package/cloudfront/distribution.js +229 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/fieldLevelEncryptionProfile.d.ts +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js +0 -1
- package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
- package/cloudfront/keyGroup.d.ts +0 -1
- package/cloudfront/keyGroup.js +0 -1
- package/cloudfront/keyGroup.js.map +1 -1
- package/cloudfront/publicKey.d.ts +0 -1
- package/cloudfront/publicKey.js +0 -1
- package/cloudfront/publicKey.js.map +1 -1
- package/codepipeline/customActionType.d.ts +1 -1
- package/codepipeline/customActionType.js +1 -1
- package/dlm/lifecyclePolicy.d.ts +41 -0
- package/dlm/lifecyclePolicy.js +41 -0
- package/dlm/lifecyclePolicy.js.map +1 -1
- package/ec2/defaultRouteTable.d.ts +1 -1
- package/ec2/defaultRouteTable.js +1 -1
- package/ec2/getNatGateway.d.ts +31 -21
- package/ec2/getNatGateway.js +4 -6
- package/ec2/getNatGateway.js.map +1 -1
- package/ec2/natGateway.d.ts +79 -18
- package/ec2/natGateway.js +31 -0
- package/ec2/natGateway.js.map +1 -1
- package/ec2/routeTable.d.ts +43 -0
- package/ec2/routeTable.js +43 -0
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +2 -2
- package/emrcontainers/jobTemplate.d.ts +8 -11
- package/emrcontainers/jobTemplate.js +7 -13
- package/emrcontainers/jobTemplate.js.map +1 -1
- package/finspace/kxCluster.d.ts +1 -1
- package/finspace/kxCluster.js +0 -3
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDatabase.d.ts +2 -6
- package/finspace/kxDatabase.js +1 -8
- package/finspace/kxDatabase.js.map +1 -1
- package/finspace/kxEnvironment.d.ts +2 -6
- package/finspace/kxEnvironment.js +1 -8
- package/finspace/kxEnvironment.js.map +1 -1
- package/finspace/kxUser.d.ts +2 -6
- package/finspace/kxUser.js +1 -8
- package/finspace/kxUser.js.map +1 -1
- package/globalaccelerator/customRoutingAccelerator.d.ts +2 -3
- package/globalaccelerator/customRoutingAccelerator.js +0 -4
- package/globalaccelerator/customRoutingAccelerator.js.map +1 -1
- package/globalaccelerator/customRoutingListener.d.ts +0 -1
- package/globalaccelerator/customRoutingListener.js +0 -1
- package/globalaccelerator/customRoutingListener.js.map +1 -1
- package/glue/dataQualityRuleset.d.ts +2 -8
- package/glue/dataQualityRuleset.js +1 -10
- package/glue/dataQualityRuleset.js.map +1 -1
- package/glue/job.d.ts +39 -6
- package/glue/job.js +18 -0
- package/glue/job.js.map +1 -1
- package/grafana/workspace.d.ts +3 -3
- package/iam/index.d.ts +3 -0
- package/iam/index.js +7 -2
- package/iam/index.js.map +1 -1
- package/iam/securityTokenServicePreferences.d.ts +60 -0
- package/iam/securityTokenServicePreferences.js +64 -0
- package/iam/securityTokenServicePreferences.js.map +1 -0
- package/index.d.ts +1 -2
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/lambda/lambdaMixins.d.ts +5 -9
- package/lambda/lambdaMixins.js.map +1 -1
- package/licensemanager/licenseGrantAccepter.d.ts +9 -0
- package/licensemanager/licenseGrantAccepter.js +9 -0
- package/licensemanager/licenseGrantAccepter.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +32 -0
- package/networkfirewall/firewallPolicy.js +32 -0
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/opensearch/serverlessAccessPolicy.d.ts +79 -20
- package/opensearch/serverlessAccessPolicy.js +78 -22
- package/opensearch/serverlessAccessPolicy.js.map +1 -1
- package/opensearch/serverlessCollection.d.ts +10 -7
- package/opensearch/serverlessCollection.js +5 -5
- package/opensearch/serverlessCollection.js.map +1 -1
- package/opensearch/serverlessSecurityConfig.d.ts +1 -1
- package/opensearch/serverlessSecurityConfig.js +0 -3
- package/opensearch/serverlessSecurityConfig.js.map +1 -1
- package/opensearch/serverlessSecurityPolicy.d.ts +1 -7
- package/opensearch/serverlessSecurityPolicy.js +0 -9
- package/opensearch/serverlessSecurityPolicy.js.map +1 -1
- package/opensearch/serverlessVpcEndpoint.d.ts +1 -2
- package/opensearch/serverlessVpcEndpoint.js +0 -4
- package/opensearch/serverlessVpcEndpoint.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +0 -1
- package/package.json.dev +2 -3
- package/quicksight/theme.d.ts +1 -1
- package/quicksight/theme.js +0 -3
- package/quicksight/theme.js.map +1 -1
- package/quicksight/vpcConnection.d.ts +1 -2
- package/quicksight/vpcConnection.js +0 -4
- package/quicksight/vpcConnection.js.map +1 -1
- package/rds/getClusterSnapshot.d.ts +4 -2
- package/rds/getClusterSnapshot.js.map +1 -1
- package/rds/getInstance.d.ts +12 -6
- package/rds/getInstance.js +1 -0
- package/rds/getInstance.js.map +1 -1
- package/rds/getInstances.d.ts +41 -2
- package/rds/getInstances.js +25 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/getSnapshot.d.ts +13 -0
- package/rds/getSnapshot.js +1 -0
- package/rds/getSnapshot.js.map +1 -1
- package/rds/instance.d.ts +6 -12
- package/rds/instance.js.map +1 -1
- package/resourceexplorer/view.d.ts +2 -3
- package/resourceexplorer/view.js +0 -4
- package/resourceexplorer/view.js.map +1 -1
- package/route53/cidrCollection.d.ts +3 -3
- package/route53/cidrCollection.js +1 -4
- package/route53/cidrCollection.js.map +1 -1
- package/route53/cidrLocation.d.ts +2 -3
- package/route53/cidrLocation.js +1 -5
- package/route53/cidrLocation.js.map +1 -1
- package/sagemaker/index.d.ts +3 -0
- package/sagemaker/index.js +6 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/pipeline.d.ts +195 -0
- package/sagemaker/pipeline.js +108 -0
- package/sagemaker/pipeline.js.map +1 -0
- package/sfn/alias.d.ts +15 -21
- package/sfn/alias.js +14 -23
- package/sfn/alias.js.map +1 -1
- package/sns/topicSubscription.d.ts +2 -2
- package/sns/topicSubscription.js +2 -2
- package/ssm/association.d.ts +3 -3
- package/ssm/parameter.d.ts +4 -4
- package/ssm/parameter.js +1 -1
- package/transfer/getServer.d.ts +1 -0
- package/transfer/getServer.js.map +1 -1
- package/transfer/server.d.ts +41 -0
- package/transfer/server.js +31 -0
- package/transfer/server.js.map +1 -1
- package/types/enums/lambda/index.d.ts +2 -0
- package/types/enums/lambda/index.js +2 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +534 -32
- package/types/output.d.ts +567 -50
- package/vpclattice/getService.d.ts +20 -8
- package/vpclattice/getService.js +8 -2
- package/vpclattice/getService.js.map +1 -1
- package/vpclattice/getServiceNetwork.d.ts +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
- package/serverless/function.d.ts +0 -79
- package/serverless/function.js +0 -48
- package/serverless/function.js.map +0 -1
- package/serverless/index.d.ts +0 -1
- package/serverless/index.js +0 -21
- package/serverless/index.js.map +0 -1
|
@@ -3,6 +3,61 @@ import { RestApi } from "./index";
|
|
|
3
3
|
/**
|
|
4
4
|
* Provides an API Gateway Authorizer.
|
|
5
5
|
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const demoRestApi = new aws.apigateway.RestApi("demoRestApi", {});
|
|
13
|
+
* const invocationAssumeRole = aws.iam.getPolicyDocument({
|
|
14
|
+
* statements: [{
|
|
15
|
+
* effect: "Allow",
|
|
16
|
+
* principals: [{
|
|
17
|
+
* type: "Service",
|
|
18
|
+
* identifiers: ["apigateway.amazonaws.com"],
|
|
19
|
+
* }],
|
|
20
|
+
* actions: ["sts:AssumeRole"],
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* const invocationRole = new aws.iam.Role("invocationRole", {
|
|
24
|
+
* path: "/",
|
|
25
|
+
* assumeRolePolicy: invocationAssumeRole.then(invocationAssumeRole => invocationAssumeRole.json),
|
|
26
|
+
* });
|
|
27
|
+
* const lambdaAssumeRole = aws.iam.getPolicyDocument({
|
|
28
|
+
* statements: [{
|
|
29
|
+
* effect: "Allow",
|
|
30
|
+
* actions: ["sts:AssumeRole"],
|
|
31
|
+
* principals: [{
|
|
32
|
+
* type: "Service",
|
|
33
|
+
* identifiers: ["lambda.amazonaws.com"],
|
|
34
|
+
* }],
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* const lambda = new aws.iam.Role("lambda", {assumeRolePolicy: lambdaAssumeRole.then(lambdaAssumeRole => lambdaAssumeRole.json)});
|
|
38
|
+
* const authorizer = new aws.lambda.Function("authorizer", {
|
|
39
|
+
* code: new pulumi.asset.FileArchive("lambda-function.zip"),
|
|
40
|
+
* role: lambda.arn,
|
|
41
|
+
* handler: "exports.example",
|
|
42
|
+
* });
|
|
43
|
+
* const demoAuthorizer = new aws.apigateway.Authorizer("demoAuthorizer", {
|
|
44
|
+
* restApi: demoRestApi.id,
|
|
45
|
+
* authorizerUri: authorizer.invokeArn,
|
|
46
|
+
* authorizerCredentials: invocationRole.arn,
|
|
47
|
+
* });
|
|
48
|
+
* const invocationPolicyPolicyDocument = aws.iam.getPolicyDocumentOutput({
|
|
49
|
+
* statements: [{
|
|
50
|
+
* effect: "Allow",
|
|
51
|
+
* actions: ["lambda:InvokeFunction"],
|
|
52
|
+
* resources: [authorizer.arn],
|
|
53
|
+
* }],
|
|
54
|
+
* });
|
|
55
|
+
* const invocationPolicyRolePolicy = new aws.iam.RolePolicy("invocationPolicyRolePolicy", {
|
|
56
|
+
* role: invocationRole.id,
|
|
57
|
+
* policy: invocationPolicyPolicyDocument.apply(invocationPolicyPolicyDocument => invocationPolicyPolicyDocument.json),
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
6
61
|
* ## Import
|
|
7
62
|
*
|
|
8
63
|
* terraform import {
|
package/apigateway/authorizer.js
CHANGED
|
@@ -8,6 +8,61 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides an API Gateway Authorizer.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const demoRestApi = new aws.apigateway.RestApi("demoRestApi", {});
|
|
18
|
+
* const invocationAssumeRole = aws.iam.getPolicyDocument({
|
|
19
|
+
* statements: [{
|
|
20
|
+
* effect: "Allow",
|
|
21
|
+
* principals: [{
|
|
22
|
+
* type: "Service",
|
|
23
|
+
* identifiers: ["apigateway.amazonaws.com"],
|
|
24
|
+
* }],
|
|
25
|
+
* actions: ["sts:AssumeRole"],
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* const invocationRole = new aws.iam.Role("invocationRole", {
|
|
29
|
+
* path: "/",
|
|
30
|
+
* assumeRolePolicy: invocationAssumeRole.then(invocationAssumeRole => invocationAssumeRole.json),
|
|
31
|
+
* });
|
|
32
|
+
* const lambdaAssumeRole = aws.iam.getPolicyDocument({
|
|
33
|
+
* statements: [{
|
|
34
|
+
* effect: "Allow",
|
|
35
|
+
* actions: ["sts:AssumeRole"],
|
|
36
|
+
* principals: [{
|
|
37
|
+
* type: "Service",
|
|
38
|
+
* identifiers: ["lambda.amazonaws.com"],
|
|
39
|
+
* }],
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* const lambda = new aws.iam.Role("lambda", {assumeRolePolicy: lambdaAssumeRole.then(lambdaAssumeRole => lambdaAssumeRole.json)});
|
|
43
|
+
* const authorizer = new aws.lambda.Function("authorizer", {
|
|
44
|
+
* code: new pulumi.asset.FileArchive("lambda-function.zip"),
|
|
45
|
+
* role: lambda.arn,
|
|
46
|
+
* handler: "exports.example",
|
|
47
|
+
* });
|
|
48
|
+
* const demoAuthorizer = new aws.apigateway.Authorizer("demoAuthorizer", {
|
|
49
|
+
* restApi: demoRestApi.id,
|
|
50
|
+
* authorizerUri: authorizer.invokeArn,
|
|
51
|
+
* authorizerCredentials: invocationRole.arn,
|
|
52
|
+
* });
|
|
53
|
+
* const invocationPolicyPolicyDocument = aws.iam.getPolicyDocumentOutput({
|
|
54
|
+
* statements: [{
|
|
55
|
+
* effect: "Allow",
|
|
56
|
+
* actions: ["lambda:InvokeFunction"],
|
|
57
|
+
* resources: [authorizer.arn],
|
|
58
|
+
* }],
|
|
59
|
+
* });
|
|
60
|
+
* const invocationPolicyRolePolicy = new aws.iam.RolePolicy("invocationPolicyRolePolicy", {
|
|
61
|
+
* role: invocationRole.id,
|
|
62
|
+
* policy: invocationPolicyPolicyDocument.apply(invocationPolicyPolicyDocument => invocationPolicyPolicyDocument.json),
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
11
66
|
* ## Import
|
|
12
67
|
*
|
|
13
68
|
* terraform import {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorizer.js","sourceRoot":"","sources":["../../apigateway/authorizer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C
|
|
1
|
+
{"version":3,"file":"authorizer.js","sourceRoot":"","sources":["../../apigateway/authorizer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,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CAAC;YACtG,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA/GL,gCAgHC;AAlGG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -9,6 +9,9 @@ import { RestApi } from "./index";
|
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
12
|
+
* ### End-to-end
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
12
15
|
* ```typescript
|
|
13
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
17
|
* import * as aws from "@pulumi/aws";
|
|
@@ -63,6 +66,75 @@ import { RestApi } from "./index";
|
|
|
63
66
|
* },
|
|
64
67
|
* });
|
|
65
68
|
* ```
|
|
69
|
+
* ### CloudWatch Logging and Tracing
|
|
70
|
+
*
|
|
71
|
+
* The AWS Console API Gateway Editor displays multiple options for CloudWatch Logs that don't directly map to the options in the AWS API and Pulumi. These examples show the `settings` blocks that are equivalent to the options the AWS Console gives for CloudWatch Logs.
|
|
72
|
+
* ### Off
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as aws from "@pulumi/aws";
|
|
77
|
+
*
|
|
78
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
79
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
80
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
81
|
+
* methodPath: "path1/GET",
|
|
82
|
+
* settings: {
|
|
83
|
+
* loggingLevel: "OFF",
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
* ### Errors Only
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as aws from "@pulumi/aws";
|
|
92
|
+
*
|
|
93
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
94
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
95
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
96
|
+
* methodPath: "path1/GET",
|
|
97
|
+
* settings: {
|
|
98
|
+
* loggingLevel: "ERROR",
|
|
99
|
+
* metricsEnabled: true,
|
|
100
|
+
* dataTraceEnabled: false,
|
|
101
|
+
* },
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
* ### Errors and Info Logs
|
|
105
|
+
*
|
|
106
|
+
* ```typescript
|
|
107
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
108
|
+
* import * as aws from "@pulumi/aws";
|
|
109
|
+
*
|
|
110
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
111
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
112
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
113
|
+
* methodPath: "path1/GET",
|
|
114
|
+
* settings: {
|
|
115
|
+
* loggingLevel: "INFO",
|
|
116
|
+
* metricsEnabled: true,
|
|
117
|
+
* dataTraceEnabled: false,
|
|
118
|
+
* },
|
|
119
|
+
* });
|
|
120
|
+
* ```
|
|
121
|
+
* ### Full Request and Response Logs
|
|
122
|
+
*
|
|
123
|
+
* ```typescript
|
|
124
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
125
|
+
* import * as aws from "@pulumi/aws";
|
|
126
|
+
*
|
|
127
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
128
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
129
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
130
|
+
* methodPath: "path1/GET",
|
|
131
|
+
* settings: {
|
|
132
|
+
* loggingLevel: "INFO",
|
|
133
|
+
* metricsEnabled: true,
|
|
134
|
+
* dataTraceEnabled: true,
|
|
135
|
+
* },
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
66
138
|
*
|
|
67
139
|
* ## Import
|
|
68
140
|
*
|
|
@@ -12,6 +12,9 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ### End-to-end
|
|
16
|
+
* ### Basic Usage
|
|
17
|
+
*
|
|
15
18
|
* ```typescript
|
|
16
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
20
|
* import * as aws from "@pulumi/aws";
|
|
@@ -66,6 +69,75 @@ const utilities = require("../utilities");
|
|
|
66
69
|
* },
|
|
67
70
|
* });
|
|
68
71
|
* ```
|
|
72
|
+
* ### CloudWatch Logging and Tracing
|
|
73
|
+
*
|
|
74
|
+
* The AWS Console API Gateway Editor displays multiple options for CloudWatch Logs that don't directly map to the options in the AWS API and Pulumi. These examples show the `settings` blocks that are equivalent to the options the AWS Console gives for CloudWatch Logs.
|
|
75
|
+
* ### Off
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as aws from "@pulumi/aws";
|
|
80
|
+
*
|
|
81
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
82
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
83
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
84
|
+
* methodPath: "path1/GET",
|
|
85
|
+
* settings: {
|
|
86
|
+
* loggingLevel: "OFF",
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
* ### Errors Only
|
|
91
|
+
*
|
|
92
|
+
* ```typescript
|
|
93
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
94
|
+
* import * as aws from "@pulumi/aws";
|
|
95
|
+
*
|
|
96
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
97
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
98
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
99
|
+
* methodPath: "path1/GET",
|
|
100
|
+
* settings: {
|
|
101
|
+
* loggingLevel: "ERROR",
|
|
102
|
+
* metricsEnabled: true,
|
|
103
|
+
* dataTraceEnabled: false,
|
|
104
|
+
* },
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
* ### Errors and Info Logs
|
|
108
|
+
*
|
|
109
|
+
* ```typescript
|
|
110
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
111
|
+
* import * as aws from "@pulumi/aws";
|
|
112
|
+
*
|
|
113
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
114
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
115
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
116
|
+
* methodPath: "path1/GET",
|
|
117
|
+
* settings: {
|
|
118
|
+
* loggingLevel: "INFO",
|
|
119
|
+
* metricsEnabled: true,
|
|
120
|
+
* dataTraceEnabled: false,
|
|
121
|
+
* },
|
|
122
|
+
* });
|
|
123
|
+
* ```
|
|
124
|
+
* ### Full Request and Response Logs
|
|
125
|
+
*
|
|
126
|
+
* ```typescript
|
|
127
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
128
|
+
* import * as aws from "@pulumi/aws";
|
|
129
|
+
*
|
|
130
|
+
* const pathSpecific = new aws.apigateway.MethodSettings("pathSpecific", {
|
|
131
|
+
* restApi: aws_api_gateway_rest_api.example.id,
|
|
132
|
+
* stageName: aws_api_gateway_stage.example.stage_name,
|
|
133
|
+
* methodPath: "path1/GET",
|
|
134
|
+
* settings: {
|
|
135
|
+
* loggingLevel: "INFO",
|
|
136
|
+
* metricsEnabled: true,
|
|
137
|
+
* dataTraceEnabled: true,
|
|
138
|
+
* },
|
|
139
|
+
* });
|
|
140
|
+
* ```
|
|
69
141
|
*
|
|
70
142
|
* ## Import
|
|
71
143
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"methodSettings.js","sourceRoot":"","sources":["../../apigateway/methodSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAI1C
|
|
1
|
+
{"version":3,"file":"methodSettings.js","sourceRoot":"","sources":["../../apigateway/methodSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IG;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,KA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
56
56
|
*
|
|
57
|
-
* API Gateway provides the ability to [enable CloudWatch API logging](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html). To manage the CloudWatch Log Group when this feature is enabled, the `aws.cloudwatch.LogGroup` resource can be used where the name matches the API Gateway naming convention. If the CloudWatch Log Group previously exists, import the `aws.cloudwatch.LogGroup` resource into
|
|
57
|
+
* API Gateway provides the ability to [enable CloudWatch API logging](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html). To manage the CloudWatch Log Group when this feature is enabled, the `aws.cloudwatch.LogGroup` resource can be used where the name matches the API Gateway naming convention. If the CloudWatch Log Group previously exists, import the `aws.cloudwatch.LogGroup` resource into Pulumi as a one time operation. You can recreate the environment without import.
|
|
58
58
|
*
|
|
59
59
|
* ```typescript
|
|
60
60
|
* import * as pulumi from "@pulumi/pulumi";
|
package/apigateway/stage.js
CHANGED
|
@@ -57,7 +57,7 @@ const utilities = require("../utilities");
|
|
|
57
57
|
* ```
|
|
58
58
|
* ### Managing the API Logging CloudWatch Log Group
|
|
59
59
|
*
|
|
60
|
-
* API Gateway provides the ability to [enable CloudWatch API logging](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html). To manage the CloudWatch Log Group when this feature is enabled, the `aws.cloudwatch.LogGroup` resource can be used where the name matches the API Gateway naming convention. If the CloudWatch Log Group previously exists, import the `aws.cloudwatch.LogGroup` resource into
|
|
60
|
+
* API Gateway provides the ability to [enable CloudWatch API logging](https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html). To manage the CloudWatch Log Group when this feature is enabled, the `aws.cloudwatch.LogGroup` resource can be used where the name matches the API Gateway naming convention. If the CloudWatch Log Group previously exists, import the `aws.cloudwatch.LogGroup` resource into Pulumi as a one time operation. You can recreate the environment without import.
|
|
61
61
|
*
|
|
62
62
|
* ```typescript
|
|
63
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -11,7 +11,6 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
13
|
* const example = new aws.appintegrations.DataIntegration("example", {
|
|
14
|
-
* name: "example",
|
|
15
14
|
* description: "example",
|
|
16
15
|
* kmsKey: aws_kms_key.test.arn,
|
|
17
16
|
* sourceUri: "Salesforce://AppFlow/example",
|
|
@@ -151,7 +150,7 @@ export interface DataIntegrationArgs {
|
|
|
151
150
|
/**
|
|
152
151
|
* Specifies the name of the Data Integration.
|
|
153
152
|
*/
|
|
154
|
-
name
|
|
153
|
+
name?: pulumi.Input<string>;
|
|
155
154
|
/**
|
|
156
155
|
* A block that defines the name of the data and how often it should be pulled from the source. The Schedule Config block is documented below.
|
|
157
156
|
*/
|
|
@@ -15,7 +15,6 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
17
|
* const example = new aws.appintegrations.DataIntegration("example", {
|
|
18
|
-
* name: "example",
|
|
19
18
|
* description: "example",
|
|
20
19
|
* kmsKey: aws_kms_key.test.arn,
|
|
21
20
|
* sourceUri: "Salesforce://AppFlow/example",
|
|
@@ -80,9 +79,6 @@ class DataIntegration extends pulumi.CustomResource {
|
|
|
80
79
|
if ((!args || args.kmsKey === undefined) && !opts.urn) {
|
|
81
80
|
throw new Error("Missing required property 'kmsKey'");
|
|
82
81
|
}
|
|
83
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
84
|
-
throw new Error("Missing required property 'name'");
|
|
85
|
-
}
|
|
86
82
|
if ((!args || args.scheduleConfig === undefined) && !opts.urn) {
|
|
87
83
|
throw new Error("Missing required property 'scheduleConfig'");
|
|
88
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataIntegration.js","sourceRoot":"","sources":["../../appintegrations/dataIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"d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,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -8,7 +8,7 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* Because of backward incompatible API changes (read [here](https://github.com/awslabs/aws-app-mesh-examples/issues/92) and [here](https://github.com/awslabs/aws-app-mesh-examples/issues/94)), `aws.appmesh.VirtualRouter` resource definitions created with provider versions earlier than v2.3.0 will need to be modified:
|
|
10
10
|
*
|
|
11
|
-
* * Remove service `serviceNames` from the `spec` argument. AWS has created a `aws.appmesh.VirtualService` resource for each service name. Import these resource using `
|
|
11
|
+
* * Remove service `serviceNames` from the `spec` argument. AWS has created a `aws.appmesh.VirtualService` resource for each service name. Import these resource using `pulumi import`.
|
|
12
12
|
*
|
|
13
13
|
* * Add a `listener` configuration block to the `spec` argument.
|
|
14
14
|
*
|
package/appmesh/virtualRouter.js
CHANGED
|
@@ -12,7 +12,7 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* Because of backward incompatible API changes (read [here](https://github.com/awslabs/aws-app-mesh-examples/issues/92) and [here](https://github.com/awslabs/aws-app-mesh-examples/issues/94)), `aws.appmesh.VirtualRouter` resource definitions created with provider versions earlier than v2.3.0 will need to be modified:
|
|
14
14
|
*
|
|
15
|
-
* * Remove service `serviceNames` from the `spec` argument. AWS has created a `aws.appmesh.VirtualService` resource for each service name. Import these resource using `
|
|
15
|
+
* * Remove service `serviceNames` from the `spec` argument. AWS has created a `aws.appmesh.VirtualService` resource for each service name. Import these resource using `pulumi import`.
|
|
16
16
|
*
|
|
17
17
|
* * Add a `listener` configuration block to the `spec` argument.
|
|
18
18
|
*
|
package/athena/database.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as outputs from "../types/output";
|
|
|
23
23
|
*
|
|
24
24
|
* to = aws_athena_database.example
|
|
25
25
|
*
|
|
26
|
-
* id = "example" } Using `pulumi import`, import Athena Databases using their name. For exampleconsole % pulumi import aws_athena_database.example example Certain resource arguments, like `encryption_configuration` and `bucket`, do not have an API method for reading the information after creation. If the argument is set in the
|
|
26
|
+
* id = "example" } Using `pulumi import`, import Athena Databases using their name. For exampleconsole % pulumi import aws_athena_database.example example Certain resource arguments, like `encryption_configuration` and `bucket`, do not have an API method for reading the information after creation. If the argument is set in the Pulumi program on an imported resource, Pulumi will always show a difference. To workaround this behavior, either omit the argument from the Pulumi program or use `ignore_changes` to hide the difference. For exampleterraform resource "aws_athena_database" "example" {
|
|
27
27
|
*
|
|
28
28
|
* name
|
|
29
29
|
*
|
package/athena/database.js
CHANGED
|
@@ -27,7 +27,7 @@ const utilities = require("../utilities");
|
|
|
27
27
|
*
|
|
28
28
|
* to = aws_athena_database.example
|
|
29
29
|
*
|
|
30
|
-
* id = "example" } Using `pulumi import`, import Athena Databases using their name. For exampleconsole % pulumi import aws_athena_database.example example Certain resource arguments, like `encryption_configuration` and `bucket`, do not have an API method for reading the information after creation. If the argument is set in the
|
|
30
|
+
* id = "example" } Using `pulumi import`, import Athena Databases using their name. For exampleconsole % pulumi import aws_athena_database.example example Certain resource arguments, like `encryption_configuration` and `bucket`, do not have an API method for reading the information after creation. If the argument is set in the Pulumi program on an imported resource, Pulumi will always show a difference. To workaround this behavior, either omit the argument from the Pulumi program or use `ignore_changes` to hide the difference. For exampleterraform resource "aws_athena_database" "example" {
|
|
31
31
|
*
|
|
32
32
|
* name
|
|
33
33
|
*
|
|
@@ -12,7 +12,6 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
* import * as aws from "@pulumi/aws";
|
|
13
13
|
*
|
|
14
14
|
* const test = new aws.auditmanager.Assessment("test", {
|
|
15
|
-
* name: "example",
|
|
16
15
|
* assessmentReportsDestination: {
|
|
17
16
|
* destination: `s3://${aws_s3_bucket.test.id}`,
|
|
18
17
|
* destinationType: "S3",
|
|
@@ -184,7 +183,7 @@ export interface AssessmentArgs {
|
|
|
184
183
|
/**
|
|
185
184
|
* Name of the assessment.
|
|
186
185
|
*/
|
|
187
|
-
name
|
|
186
|
+
name?: pulumi.Input<string>;
|
|
188
187
|
/**
|
|
189
188
|
* List of roles for the assessment. See `roles` below.
|
|
190
189
|
*/
|
|
@@ -16,7 +16,6 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
18
|
* const test = new aws.auditmanager.Assessment("test", {
|
|
19
|
-
* name: "example",
|
|
20
19
|
* assessmentReportsDestination: {
|
|
21
20
|
* destination: `s3://${aws_s3_bucket.test.id}`,
|
|
22
21
|
* destinationType: "S3",
|
|
@@ -90,9 +89,6 @@ class Assessment extends pulumi.CustomResource {
|
|
|
90
89
|
if ((!args || args.frameworkId === undefined) && !opts.urn) {
|
|
91
90
|
throw new Error("Missing required property 'frameworkId'");
|
|
92
91
|
}
|
|
93
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
94
|
-
throw new Error("Missing required property 'name'");
|
|
95
|
-
}
|
|
96
92
|
if ((!args || args.roles === undefined) && !opts.urn) {
|
|
97
93
|
throw new Error("Missing required property 'roles'");
|
|
98
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assessment.js","sourceRoot":"","sources":["../../auditmanager/assessment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"assessment.js","sourceRoot":"","sources":["../../auditmanager/assessment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAsDD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK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S,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtHL,gCAuHC;AAzGG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -9,10 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as aws from "@pulumi/aws";
|
|
11
11
|
*
|
|
12
|
-
* const test = new aws.auditmanager.AssessmentReport("test", {
|
|
13
|
-
* name: "example",
|
|
14
|
-
* assessmentId: aws_auditmanager_assessment.test.id,
|
|
15
|
-
* });
|
|
12
|
+
* const test = new aws.auditmanager.AssessmentReport("test", {assessmentId: aws_auditmanager_assessment.test.id});
|
|
16
13
|
* ```
|
|
17
14
|
*
|
|
18
15
|
* ## Import
|
|
@@ -114,5 +111,5 @@ export interface AssessmentReportArgs {
|
|
|
114
111
|
/**
|
|
115
112
|
* Name of the assessment report.
|
|
116
113
|
*/
|
|
117
|
-
name
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
118
115
|
}
|
|
@@ -15,10 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
|
-
* const test = new aws.auditmanager.AssessmentReport("test", {
|
|
19
|
-
* name: "example",
|
|
20
|
-
* assessmentId: aws_auditmanager_assessment.test.id,
|
|
21
|
-
* });
|
|
18
|
+
* const test = new aws.auditmanager.AssessmentReport("test", {assessmentId: aws_auditmanager_assessment.test.id});
|
|
22
19
|
* ```
|
|
23
20
|
*
|
|
24
21
|
* ## Import
|
|
@@ -68,9 +65,6 @@ class AssessmentReport extends pulumi.CustomResource {
|
|
|
68
65
|
if ((!args || args.assessmentId === undefined) && !opts.urn) {
|
|
69
66
|
throw new Error("Missing required property 'assessmentId'");
|
|
70
67
|
}
|
|
71
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
72
|
-
throw new Error("Missing required property 'name'");
|
|
73
|
-
}
|
|
74
68
|
resourceInputs["assessmentId"] = args ? args.assessmentId : undefined;
|
|
75
69
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
70
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assessmentReport.js","sourceRoot":"","sources":["../../auditmanager/assessmentReport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"assessmentReport.js","sourceRoot":"","sources":["../../auditmanager/assessmentReport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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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C;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAlFL,4CAmFC;AArEG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -11,14 +11,11 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as aws from "@pulumi/aws";
|
|
13
13
|
*
|
|
14
|
-
* const example = new aws.auditmanager.Control("example", {
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* }],
|
|
20
|
-
* name: "example",
|
|
21
|
-
* });
|
|
14
|
+
* const example = new aws.auditmanager.Control("example", {controlMappingSources: [{
|
|
15
|
+
* sourceName: "example",
|
|
16
|
+
* sourceSetUpOption: "Procedural_Controls_Mapping",
|
|
17
|
+
* sourceType: "MANUAL",
|
|
18
|
+
* }]});
|
|
22
19
|
* ```
|
|
23
20
|
*
|
|
24
21
|
* ## Import
|
|
@@ -96,7 +93,7 @@ export declare class Control extends pulumi.CustomResource {
|
|
|
96
93
|
* @param args The arguments to use to populate this resource's properties.
|
|
97
94
|
* @param opts A bag of options that control this resource's behavior.
|
|
98
95
|
*/
|
|
99
|
-
constructor(name: string, args
|
|
96
|
+
constructor(name: string, args?: ControlArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
97
|
}
|
|
101
98
|
/**
|
|
102
99
|
* Input properties used for looking up and filtering Control resources.
|
|
@@ -172,7 +169,7 @@ export interface ControlArgs {
|
|
|
172
169
|
/**
|
|
173
170
|
* Name of the control.
|
|
174
171
|
*/
|
|
175
|
-
name
|
|
172
|
+
name?: pulumi.Input<string>;
|
|
176
173
|
/**
|
|
177
174
|
* A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
178
175
|
*/
|
package/auditmanager/control.js
CHANGED
|
@@ -15,14 +15,11 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
|
-
* const example = new aws.auditmanager.Control("example", {
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* }],
|
|
24
|
-
* name: "example",
|
|
25
|
-
* });
|
|
18
|
+
* const example = new aws.auditmanager.Control("example", {controlMappingSources: [{
|
|
19
|
+
* sourceName: "example",
|
|
20
|
+
* sourceSetUpOption: "Procedural_Controls_Mapping",
|
|
21
|
+
* sourceType: "MANUAL",
|
|
22
|
+
* }]});
|
|
26
23
|
* ```
|
|
27
24
|
*
|
|
28
25
|
* ## Import
|
|
@@ -74,9 +71,6 @@ class Control extends pulumi.CustomResource {
|
|
|
74
71
|
}
|
|
75
72
|
else {
|
|
76
73
|
const args = argsOrState;
|
|
77
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
78
|
-
throw new Error("Missing required property 'name'");
|
|
79
|
-
}
|
|
80
74
|
resourceInputs["actionPlanInstructions"] = args ? args.actionPlanInstructions : undefined;
|
|
81
75
|
resourceInputs["actionPlanTitle"] = args ? args.actionPlanTitle : undefined;
|
|
82
76
|
resourceInputs["controlMappingSources"] = args ? args.controlMappingSources : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","sourceRoot":"","sources":["../../auditmanager/control.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"control.js","sourceRoot":"","sources":["../../auditmanager/control.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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