@pulumi/aws 7.0.0-alpha.2 → 7.0.0-rc.1
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 +54 -7
- package/accessanalyzer/analyzer.js +48 -1
- package/accessanalyzer/analyzer.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/queryLoggingConfiguration.d.ts +107 -0
- package/amp/queryLoggingConfiguration.js +82 -0
- package/amp/queryLoggingConfiguration.js.map +1 -0
- package/amplify/app.d.ts +26 -0
- package/amplify/app.js +16 -0
- package/amplify/app.js.map +1 -1
- package/amplify/branch.d.ts +12 -0
- package/amplify/branch.js +2 -0
- package/amplify/branch.js.map +1 -1
- package/bedrock/agentAgent.d.ts +2 -2
- package/bedrock/agentAgent.js +2 -2
- package/bedrock/agentAgentCollaborator.d.ts +4 -4
- package/bedrock/agentAgentCollaborator.js +4 -4
- package/cloudfront/distribution.d.ts +12 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.js.map +1 -1
- package/cloudtrail/trail.d.ts +2 -2
- package/cloudtrail/trail.js +2 -2
- package/cloudwatch/eventArchive.d.ts +91 -15
- package/cloudwatch/eventArchive.js +67 -1
- package/cloudwatch/eventArchive.js.map +1 -1
- package/cloudwatch/logGroup.d.ts +6 -6
- package/codeartifact/domainPermissions.d.ts +1 -1
- package/codeartifact/domainPermissions.js +0 -3
- package/codeartifact/domainPermissions.js.map +1 -1
- package/connect/botAssociation.d.ts +1 -1
- package/connect/botAssociation.js +1 -1
- package/controltower/controlTowerControl.d.ts +1 -1
- package/controltower/controlTowerControl.js +1 -1
- package/cur/reportDefinition.d.ts +3 -3
- package/datasync/agent.d.ts +1 -1
- package/datasync/agent.js +1 -1
- package/dynamodb/table.d.ts +36 -1
- package/dynamodb/table.js +36 -1
- package/dynamodb/table.js.map +1 -1
- package/dynamodb/tag.d.ts +1 -1
- package/dynamodb/tag.js +1 -1
- package/ec2/getManagedPrefixList.d.ts +2 -2
- package/ec2/getManagedPrefixList.js +2 -2
- package/ec2/securityGroupRule.d.ts +1 -1
- package/ec2/securityGroupRule.js +1 -1
- package/ec2/vpc.d.ts +2 -2
- package/ec2/vpc.js +2 -2
- package/ec2/vpcIpam.d.ts +1 -1
- package/ec2/vpcIpam.js +1 -1
- package/ec2/vpcIpamPool.d.ts +4 -4
- package/ec2/vpcIpamPool.js +4 -4
- package/ec2/vpcIpamPoolCidr.d.ts +3 -3
- package/ec2/vpcIpamPoolCidr.js +3 -3
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +4 -4
- package/ec2/vpcIpamPoolCidrAllocation.js +4 -4
- package/ec2/vpcIpamPreviewNextCidr.d.ts +2 -2
- package/ec2/vpcIpamPreviewNextCidr.js +2 -2
- package/ec2/vpcIpamResourceDiscovery.d.ts +1 -1
- package/ec2/vpcIpamResourceDiscovery.js +1 -1
- package/ec2/vpcIpamScope.d.ts +1 -1
- package/ec2/vpcIpamScope.js +1 -1
- package/ecr/registryPolicy.d.ts +1 -1
- package/ecr/registryPolicy.js +1 -1
- package/eks/cluster.d.ts +2 -4
- package/eks/cluster.js +0 -2
- package/eks/cluster.js.map +1 -1
- package/eks/podIdentityAssociation.d.ts +32 -0
- package/eks/podIdentityAssociation.js +6 -0
- package/eks/podIdentityAssociation.js.map +1 -1
- package/elasticsearch/domain.d.ts +2 -2
- package/elasticsearch/domain.js +2 -2
- package/emr/cluster.d.ts +12 -0
- package/emr/cluster.js +2 -0
- package/emr/cluster.js.map +1 -1
- package/fms/policy.d.ts +12 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/getRegion.d.ts +2 -2
- package/getService.d.ts +2 -2
- package/getService.js +2 -2
- package/glue/job.d.ts +12 -0
- package/glue/job.js +2 -0
- package/glue/job.js.map +1 -1
- package/glue/resourcePolicy.d.ts +1 -1
- package/glue/resourcePolicy.js +1 -1
- package/guardduty/detectorFeature.d.ts +21 -0
- package/guardduty/detectorFeature.js +21 -0
- package/guardduty/detectorFeature.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +1 -11
- package/guardduty/memberDetectorFeature.js +1 -11
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/guardduty/publishingDestination.d.ts +2 -2
- package/guardduty/publishingDestination.js +2 -2
- package/iam/rolePolicy.d.ts +21 -15
- package/iam/rolePolicy.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/kinesis/getStreamConsumer.d.ts +9 -0
- package/kinesis/getStreamConsumer.js +2 -0
- package/kinesis/getStreamConsumer.js.map +1 -1
- package/kinesis/streamConsumer.d.ts +15 -0
- package/kinesis/streamConsumer.js +4 -0
- package/kinesis/streamConsumer.js.map +1 -1
- package/kms/getKey.d.ts +1 -1
- package/kms/key.d.ts +3 -3
- package/lightsail/instancePublicPorts.d.ts +6 -6
- package/macie/findingsFilter.d.ts +1 -1
- package/macie/findingsFilter.js +1 -1
- package/mediastore/containerPolicy.d.ts +1 -1
- package/mediastore/containerPolicy.js +1 -1
- package/networkfirewall/firewallPolicy.d.ts +51 -2
- package/networkfirewall/firewallPolicy.js +51 -2
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkmanager/dxGatewayAttachment.d.ts +1 -1
- package/networkmanager/dxGatewayAttachment.js +1 -1
- package/opensearch/domain.d.ts +2 -2
- package/opensearch/domain.js +2 -2
- package/opensearch/inboundConnectionAccepter.d.ts +2 -2
- package/opensearch/inboundConnectionAccepter.js +2 -2
- package/opensearch/outboundConnection.d.ts +2 -2
- package/opensearch/outboundConnection.js +2 -2
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/package.json +2 -2
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/rbin/rule.d.ts +52 -17
- package/rbin/rule.js +26 -1
- package/rbin/rule.js.map +1 -1
- package/route53/getTrafficPolicyDocument.d.ts +4 -4
- package/route53/getTrafficPolicyDocument.js +4 -4
- package/route53/profilesResourceAssociation.d.ts +1 -1
- package/s3/bucket.d.ts +5 -4
- package/s3/bucketPolicy.d.ts +2 -0
- package/s3/bucketPolicy.js +2 -0
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/directoryBucket.d.ts +30 -0
- package/s3/directoryBucket.js +4 -0
- package/s3/directoryBucket.js.map +1 -1
- package/s3tables/table.d.ts +62 -0
- package/s3tables/table.js +49 -0
- package/s3tables/table.js.map +1 -1
- package/sagemaker/flowDefinition.d.ts +1 -1
- package/sagemaker/flowDefinition.js +1 -1
- package/securityhub/productSubscription.d.ts +1 -1
- package/securityhub/productSubscription.js +1 -1
- package/securityhub/standardsSubscription.d.ts +1 -1
- package/securityhub/standardsSubscription.js +1 -1
- package/serverlessrepository/cloudFormationStack.d.ts +1 -1
- package/serverlessrepository/cloudFormationStack.js +1 -1
- package/shield/drtAccessLogBucketAssociation.d.ts +1 -1
- package/shield/drtAccessLogBucketAssociation.js +1 -1
- package/shield/protection.d.ts +1 -1
- package/shield/protection.js +1 -1
- package/shield/protectionGroup.d.ts +2 -2
- package/shield/protectionGroup.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +1 -1
- package/shield/protectionHealthCheckAssociation.js +1 -1
- package/ssm/parameter.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +2 -2
- package/ssm/quicksetupConfigurationManager.js +2 -2
- package/ssoadmin/applicationAccessScope.d.ts +1 -1
- package/ssoadmin/applicationAccessScope.js +1 -1
- package/ssoadmin/applicationAssignment.d.ts +2 -2
- package/ssoadmin/applicationAssignment.js +2 -2
- package/ssoadmin/applicationAssignmentConfiguration.d.ts +1 -1
- package/ssoadmin/applicationAssignmentConfiguration.js +1 -1
- package/ssoadmin/getApplicationAssignments.d.ts +2 -2
- package/ssoadmin/getApplicationAssignments.js +2 -2
- package/types/input.d.ts +217 -26
- package/types/input.js.map +1 -1
- package/types/output.d.ts +209 -25
- package/types/output.js.map +1 -1
|
@@ -30,7 +30,7 @@ import * as outputs from "../types/output";
|
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* ### Organization Unused Access Analyzer
|
|
33
|
+
* ### Organization Unused Access Analyzer With Analysis Rule
|
|
34
34
|
*
|
|
35
35
|
* ```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -67,6 +67,53 @@ import * as outputs from "../types/output";
|
|
|
67
67
|
* });
|
|
68
68
|
* ```
|
|
69
69
|
*
|
|
70
|
+
* ### Account Internal Access Analyzer by Resource Types
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as aws from "@pulumi/aws";
|
|
75
|
+
*
|
|
76
|
+
* const test = new aws.accessanalyzer.Analyzer("test", {
|
|
77
|
+
* analyzerName: "example",
|
|
78
|
+
* type: "ORGANIZATION_INTERNAL_ACCESS",
|
|
79
|
+
* configuration: {
|
|
80
|
+
* internalAccess: {
|
|
81
|
+
* analysisRule: {
|
|
82
|
+
* inclusions: [{
|
|
83
|
+
* resourceTypes: [
|
|
84
|
+
* "AWS::S3::Bucket",
|
|
85
|
+
* "AWS::RDS::DBSnapshot",
|
|
86
|
+
* "AWS::DynamoDB::Table",
|
|
87
|
+
* ],
|
|
88
|
+
* }],
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ### Organization Internal Access Analyzer by Account ID and Resource ARN
|
|
96
|
+
*
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as aws from "@pulumi/aws";
|
|
100
|
+
*
|
|
101
|
+
* const test = new aws.accessanalyzer.Analyzer("test", {
|
|
102
|
+
* analyzerName: "example",
|
|
103
|
+
* type: "ORGANIZATION_INTERNAL_ACCESS",
|
|
104
|
+
* configuration: {
|
|
105
|
+
* internalAccess: {
|
|
106
|
+
* analysisRule: {
|
|
107
|
+
* inclusions: [{
|
|
108
|
+
* accountIds: ["123456789012"],
|
|
109
|
+
* resourceArns: ["arn:aws:s3:::my-example-bucket"],
|
|
110
|
+
* }],
|
|
111
|
+
* },
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
70
117
|
* ## Import
|
|
71
118
|
*
|
|
72
119
|
* Using `pulumi import`, import Access Analyzer Analyzers using the `analyzer_name`. For example:
|
|
@@ -102,7 +149,7 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
102
149
|
*/
|
|
103
150
|
readonly arn: pulumi.Output<string>;
|
|
104
151
|
/**
|
|
105
|
-
* A block that specifies the configuration of the analyzer.
|
|
152
|
+
* A block that specifies the configuration of the analyzer. See `configuration` Block for details.
|
|
106
153
|
*/
|
|
107
154
|
readonly configuration: pulumi.Output<outputs.accessanalyzer.AnalyzerConfiguration | undefined>;
|
|
108
155
|
/**
|
|
@@ -122,7 +169,7 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
122
169
|
[key: string]: string;
|
|
123
170
|
}>;
|
|
124
171
|
/**
|
|
125
|
-
* Type of
|
|
172
|
+
* Type that represents the zone of trust or scope for the analyzer. Valid values are `ACCOUNT`, `ACCOUNT_INTERNAL_ACCESS`, `ACCOUNT_UNUSED_ACCESS`, `ORGANIZATION`, `ORGANIZATION_INTERNAL_ACCESS`, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
126
173
|
*/
|
|
127
174
|
readonly type: pulumi.Output<string | undefined>;
|
|
128
175
|
/**
|
|
@@ -149,7 +196,7 @@ export interface AnalyzerState {
|
|
|
149
196
|
*/
|
|
150
197
|
arn?: pulumi.Input<string>;
|
|
151
198
|
/**
|
|
152
|
-
* A block that specifies the configuration of the analyzer.
|
|
199
|
+
* A block that specifies the configuration of the analyzer. See `configuration` Block for details.
|
|
153
200
|
*/
|
|
154
201
|
configuration?: pulumi.Input<inputs.accessanalyzer.AnalyzerConfiguration>;
|
|
155
202
|
/**
|
|
@@ -169,7 +216,7 @@ export interface AnalyzerState {
|
|
|
169
216
|
[key: string]: pulumi.Input<string>;
|
|
170
217
|
}>;
|
|
171
218
|
/**
|
|
172
|
-
* Type of
|
|
219
|
+
* Type that represents the zone of trust or scope for the analyzer. Valid values are `ACCOUNT`, `ACCOUNT_INTERNAL_ACCESS`, `ACCOUNT_UNUSED_ACCESS`, `ORGANIZATION`, `ORGANIZATION_INTERNAL_ACCESS`, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
173
220
|
*/
|
|
174
221
|
type?: pulumi.Input<string>;
|
|
175
222
|
}
|
|
@@ -184,7 +231,7 @@ export interface AnalyzerArgs {
|
|
|
184
231
|
*/
|
|
185
232
|
analyzerName: pulumi.Input<string>;
|
|
186
233
|
/**
|
|
187
|
-
* A block that specifies the configuration of the analyzer.
|
|
234
|
+
* A block that specifies the configuration of the analyzer. See `configuration` Block for details.
|
|
188
235
|
*/
|
|
189
236
|
configuration?: pulumi.Input<inputs.accessanalyzer.AnalyzerConfiguration>;
|
|
190
237
|
/**
|
|
@@ -198,7 +245,7 @@ export interface AnalyzerArgs {
|
|
|
198
245
|
[key: string]: pulumi.Input<string>;
|
|
199
246
|
}>;
|
|
200
247
|
/**
|
|
201
|
-
* Type of
|
|
248
|
+
* Type that represents the zone of trust or scope for the analyzer. Valid values are `ACCOUNT`, `ACCOUNT_INTERNAL_ACCESS`, `ACCOUNT_UNUSED_ACCESS`, `ORGANIZATION`, `ORGANIZATION_INTERNAL_ACCESS`, `ORGANIZATION_UNUSED_ACCESS`. Defaults to `ACCOUNT`.
|
|
202
249
|
*/
|
|
203
250
|
type?: pulumi.Input<string>;
|
|
204
251
|
}
|
|
@@ -34,7 +34,7 @@ const utilities = require("../utilities");
|
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
-
* ### Organization Unused Access Analyzer
|
|
37
|
+
* ### Organization Unused Access Analyzer With Analysis Rule
|
|
38
38
|
*
|
|
39
39
|
* ```typescript
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -71,6 +71,53 @@ const utilities = require("../utilities");
|
|
|
71
71
|
* });
|
|
72
72
|
* ```
|
|
73
73
|
*
|
|
74
|
+
* ### Account Internal Access Analyzer by Resource Types
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as aws from "@pulumi/aws";
|
|
79
|
+
*
|
|
80
|
+
* const test = new aws.accessanalyzer.Analyzer("test", {
|
|
81
|
+
* analyzerName: "example",
|
|
82
|
+
* type: "ORGANIZATION_INTERNAL_ACCESS",
|
|
83
|
+
* configuration: {
|
|
84
|
+
* internalAccess: {
|
|
85
|
+
* analysisRule: {
|
|
86
|
+
* inclusions: [{
|
|
87
|
+
* resourceTypes: [
|
|
88
|
+
* "AWS::S3::Bucket",
|
|
89
|
+
* "AWS::RDS::DBSnapshot",
|
|
90
|
+
* "AWS::DynamoDB::Table",
|
|
91
|
+
* ],
|
|
92
|
+
* }],
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* ### Organization Internal Access Analyzer by Account ID and Resource ARN
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as aws from "@pulumi/aws";
|
|
104
|
+
*
|
|
105
|
+
* const test = new aws.accessanalyzer.Analyzer("test", {
|
|
106
|
+
* analyzerName: "example",
|
|
107
|
+
* type: "ORGANIZATION_INTERNAL_ACCESS",
|
|
108
|
+
* configuration: {
|
|
109
|
+
* internalAccess: {
|
|
110
|
+
* analysisRule: {
|
|
111
|
+
* inclusions: [{
|
|
112
|
+
* accountIds: ["123456789012"],
|
|
113
|
+
* resourceArns: ["arn:aws:s3:::my-example-bucket"],
|
|
114
|
+
* }],
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* });
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
74
121
|
* ## Import
|
|
75
122
|
*
|
|
76
123
|
* Using `pulumi import`, import Access Analyzer Analyzers using the `analyzer_name`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyzer.js","sourceRoot":"","sources":["../../accessanalyzer/analyzer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"analyzer.js","sourceRoot":"","sources":["../../accessanalyzer/analyzer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwHG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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AK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA9FL,4BA+FC;AAjFG,gBAAgB;AACO,qBAAY,GAAG,sCAAsC,CAAC"}
|
package/amp/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare const getWorkspaceOutput: typeof import("./getWorkspace").getWork
|
|
|
10
10
|
export { GetWorkspacesArgs, GetWorkspacesResult, GetWorkspacesOutputArgs } from "./getWorkspaces";
|
|
11
11
|
export declare const getWorkspaces: typeof import("./getWorkspaces").getWorkspaces;
|
|
12
12
|
export declare const getWorkspacesOutput: typeof import("./getWorkspaces").getWorkspacesOutput;
|
|
13
|
+
export { QueryLoggingConfigurationArgs, QueryLoggingConfigurationState } from "./queryLoggingConfiguration";
|
|
14
|
+
export type QueryLoggingConfiguration = import("./queryLoggingConfiguration").QueryLoggingConfiguration;
|
|
15
|
+
export declare const QueryLoggingConfiguration: typeof import("./queryLoggingConfiguration").QueryLoggingConfiguration;
|
|
13
16
|
export { RuleGroupNamespaceArgs, RuleGroupNamespaceState } from "./ruleGroupNamespace";
|
|
14
17
|
export type RuleGroupNamespace = import("./ruleGroupNamespace").RuleGroupNamespace;
|
|
15
18
|
export declare const RuleGroupNamespace: typeof import("./ruleGroupNamespace").RuleGroupNamespace;
|
package/amp/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.WorkspaceConfiguration = exports.Workspace = exports.Scraper = exports.RuleGroupNamespace = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getDefaultScraperConfigurationOutput = exports.getDefaultScraperConfiguration = exports.AlertManagerDefinition = void 0;
|
|
5
|
+
exports.WorkspaceConfiguration = exports.Workspace = exports.Scraper = exports.RuleGroupNamespace = exports.QueryLoggingConfiguration = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getDefaultScraperConfigurationOutput = exports.getDefaultScraperConfiguration = exports.AlertManagerDefinition = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AlertManagerDefinition = null;
|
|
@@ -16,6 +16,8 @@ utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => requir
|
|
|
16
16
|
exports.getWorkspaces = null;
|
|
17
17
|
exports.getWorkspacesOutput = null;
|
|
18
18
|
utilities.lazyLoad(exports, ["getWorkspaces", "getWorkspacesOutput"], () => require("./getWorkspaces"));
|
|
19
|
+
exports.QueryLoggingConfiguration = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["QueryLoggingConfiguration"], () => require("./queryLoggingConfiguration"));
|
|
19
21
|
exports.RuleGroupNamespace = null;
|
|
20
22
|
utilities.lazyLoad(exports, ["RuleGroupNamespace"], () => require("./ruleGroupNamespace"));
|
|
21
23
|
exports.Scraper = null;
|
|
@@ -30,6 +32,8 @@ const _module = {
|
|
|
30
32
|
switch (type) {
|
|
31
33
|
case "aws:amp/alertManagerDefinition:AlertManagerDefinition":
|
|
32
34
|
return new exports.AlertManagerDefinition(name, undefined, { urn });
|
|
35
|
+
case "aws:amp/queryLoggingConfiguration:QueryLoggingConfiguration":
|
|
36
|
+
return new exports.QueryLoggingConfiguration(name, undefined, { urn });
|
|
33
37
|
case "aws:amp/ruleGroupNamespace:RuleGroupNamespace":
|
|
34
38
|
return new exports.RuleGroupNamespace(name, undefined, { urn });
|
|
35
39
|
case "aws:amp/scraper:Scraper":
|
|
@@ -44,6 +48,7 @@ const _module = {
|
|
|
44
48
|
},
|
|
45
49
|
};
|
|
46
50
|
pulumi.runtime.registerResourceModule("aws", "amp/alertManagerDefinition", _module);
|
|
51
|
+
pulumi.runtime.registerResourceModule("aws", "amp/queryLoggingConfiguration", _module);
|
|
47
52
|
pulumi.runtime.registerResourceModule("aws", "amp/ruleGroupNamespace", _module);
|
|
48
53
|
pulumi.runtime.registerResourceModule("aws", "amp/scraper", _module);
|
|
49
54
|
pulumi.runtime.registerResourceModule("aws", "amp/workspace", _module);
|
package/amp/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../amp/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEj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BAChD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,uDAAuD;gBACxD,OAAO,IAAI,8BAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Query Logging Configuration.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.amp.Workspace("example", {alias: "example"});
|
|
14
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/query-logs/example"});
|
|
15
|
+
* const exampleQueryLoggingConfiguration = new aws.amp.QueryLoggingConfiguration("example", {
|
|
16
|
+
* workspaceId: example.id,
|
|
17
|
+
* destinations: [{
|
|
18
|
+
* cloudwatchLogs: {
|
|
19
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
20
|
+
* },
|
|
21
|
+
* filters: {
|
|
22
|
+
* qspThreshold: 1000,
|
|
23
|
+
* },
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class QueryLoggingConfiguration extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing QueryLoggingConfiguration resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QueryLoggingConfigurationState, opts?: pulumi.CustomResourceOptions): QueryLoggingConfiguration;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of QueryLoggingConfiguration. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is QueryLoggingConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
46
|
+
*/
|
|
47
|
+
readonly destinations: pulumi.Output<outputs.amp.QueryLoggingConfigurationDestination[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
50
|
+
*/
|
|
51
|
+
readonly region: pulumi.Output<string>;
|
|
52
|
+
readonly timeouts: pulumi.Output<outputs.amp.QueryLoggingConfigurationTimeouts | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
55
|
+
*
|
|
56
|
+
* The following arguments are optional:
|
|
57
|
+
*/
|
|
58
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a QueryLoggingConfiguration resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: QueryLoggingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering QueryLoggingConfiguration resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface QueryLoggingConfigurationState {
|
|
72
|
+
/**
|
|
73
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
74
|
+
*/
|
|
75
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.amp.QueryLoggingConfigurationDestination>[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
78
|
+
*/
|
|
79
|
+
region?: pulumi.Input<string>;
|
|
80
|
+
timeouts?: pulumi.Input<inputs.amp.QueryLoggingConfigurationTimeouts>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
83
|
+
*
|
|
84
|
+
* The following arguments are optional:
|
|
85
|
+
*/
|
|
86
|
+
workspaceId?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a QueryLoggingConfiguration resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface QueryLoggingConfigurationArgs {
|
|
92
|
+
/**
|
|
93
|
+
* Configuration block for the logging destinations. See `destinations`.
|
|
94
|
+
*/
|
|
95
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.amp.QueryLoggingConfigurationDestination>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
98
|
+
*/
|
|
99
|
+
region?: pulumi.Input<string>;
|
|
100
|
+
timeouts?: pulumi.Input<inputs.amp.QueryLoggingConfigurationTimeouts>;
|
|
101
|
+
/**
|
|
102
|
+
* The ID of the AMP workspace for which to configure query logging.
|
|
103
|
+
*
|
|
104
|
+
* The following arguments are optional:
|
|
105
|
+
*/
|
|
106
|
+
workspaceId: pulumi.Input<string>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.QueryLoggingConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Query Logging Configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.amp.Workspace("example", {alias: "example"});
|
|
18
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/query-logs/example"});
|
|
19
|
+
* const exampleQueryLoggingConfiguration = new aws.amp.QueryLoggingConfiguration("example", {
|
|
20
|
+
* workspaceId: example.id,
|
|
21
|
+
* destinations: [{
|
|
22
|
+
* cloudwatchLogs: {
|
|
23
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
24
|
+
* },
|
|
25
|
+
* filters: {
|
|
26
|
+
* qspThreshold: 1000,
|
|
27
|
+
* },
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class QueryLoggingConfiguration extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing QueryLoggingConfiguration 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 QueryLoggingConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of QueryLoggingConfiguration. 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'] === QueryLoggingConfiguration.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["destinations"] = state ? state.destinations : undefined;
|
|
61
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
62
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
63
|
+
resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.workspaceId === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'workspaceId'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["destinations"] = args ? args.destinations : undefined;
|
|
71
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
72
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
73
|
+
resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(QueryLoggingConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.QueryLoggingConfiguration = QueryLoggingConfiguration;
|
|
80
|
+
/** @internal */
|
|
81
|
+
QueryLoggingConfiguration.__pulumiType = 'aws:amp/queryLoggingConfiguration:QueryLoggingConfiguration';
|
|
82
|
+
//# sourceMappingURL=queryLoggingConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryLoggingConfiguration.js","sourceRoot":"","sources":["../../amp/queryLoggingConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;G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C,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzEL,8DA0EC;AA5DG,gBAAgB;AACO,sCAAY,GAAG,6DAA6D,CAAC"}
|
package/amplify/app.d.ts
CHANGED
|
@@ -157,6 +157,20 @@ import * as outputs from "../types/output";
|
|
|
157
157
|
* });
|
|
158
158
|
* ```
|
|
159
159
|
*
|
|
160
|
+
* ### Job Config
|
|
161
|
+
*
|
|
162
|
+
* ```typescript
|
|
163
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
164
|
+
* import * as aws from "@pulumi/aws";
|
|
165
|
+
*
|
|
166
|
+
* const example = new aws.amplify.App("example", {
|
|
167
|
+
* name: "example",
|
|
168
|
+
* jobConfig: {
|
|
169
|
+
* buildComputeType: "STANDARD_8GB",
|
|
170
|
+
* },
|
|
171
|
+
* });
|
|
172
|
+
* ```
|
|
173
|
+
*
|
|
160
174
|
* ## Import
|
|
161
175
|
*
|
|
162
176
|
* Using `pulumi import`, import Amplify App using Amplify App ID (appId). For example:
|
|
@@ -256,6 +270,10 @@ export declare class App extends pulumi.CustomResource {
|
|
|
256
270
|
* AWS Identity and Access Management (IAM) service role for an Amplify app.
|
|
257
271
|
*/
|
|
258
272
|
readonly iamServiceRoleArn: pulumi.Output<string | undefined>;
|
|
273
|
+
/**
|
|
274
|
+
* Used to configure the [Amplify Application build settings](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html). See `jobConfig` Block for details.
|
|
275
|
+
*/
|
|
276
|
+
readonly jobConfig: pulumi.Output<outputs.amplify.AppJobConfig>;
|
|
259
277
|
/**
|
|
260
278
|
* Name for an Amplify app.
|
|
261
279
|
*/
|
|
@@ -379,6 +397,10 @@ export interface AppState {
|
|
|
379
397
|
* AWS Identity and Access Management (IAM) service role for an Amplify app.
|
|
380
398
|
*/
|
|
381
399
|
iamServiceRoleArn?: pulumi.Input<string>;
|
|
400
|
+
/**
|
|
401
|
+
* Used to configure the [Amplify Application build settings](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html). See `jobConfig` Block for details.
|
|
402
|
+
*/
|
|
403
|
+
jobConfig?: pulumi.Input<inputs.amplify.AppJobConfig>;
|
|
382
404
|
/**
|
|
383
405
|
* Name for an Amplify app.
|
|
384
406
|
*/
|
|
@@ -486,6 +508,10 @@ export interface AppArgs {
|
|
|
486
508
|
* AWS Identity and Access Management (IAM) service role for an Amplify app.
|
|
487
509
|
*/
|
|
488
510
|
iamServiceRoleArn?: pulumi.Input<string>;
|
|
511
|
+
/**
|
|
512
|
+
* Used to configure the [Amplify Application build settings](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html). See `jobConfig` Block for details.
|
|
513
|
+
*/
|
|
514
|
+
jobConfig?: pulumi.Input<inputs.amplify.AppJobConfig>;
|
|
489
515
|
/**
|
|
490
516
|
* Name for an Amplify app.
|
|
491
517
|
*/
|
package/amplify/app.js
CHANGED
|
@@ -161,6 +161,20 @@ const utilities = require("../utilities");
|
|
|
161
161
|
* });
|
|
162
162
|
* ```
|
|
163
163
|
*
|
|
164
|
+
* ### Job Config
|
|
165
|
+
*
|
|
166
|
+
* ```typescript
|
|
167
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
168
|
+
* import * as aws from "@pulumi/aws";
|
|
169
|
+
*
|
|
170
|
+
* const example = new aws.amplify.App("example", {
|
|
171
|
+
* name: "example",
|
|
172
|
+
* jobConfig: {
|
|
173
|
+
* buildComputeType: "STANDARD_8GB",
|
|
174
|
+
* },
|
|
175
|
+
* });
|
|
176
|
+
* ```
|
|
177
|
+
*
|
|
164
178
|
* ## Import
|
|
165
179
|
*
|
|
166
180
|
* Using `pulumi import`, import Amplify App using Amplify App ID (appId). For example:
|
|
@@ -216,6 +230,7 @@ class App extends pulumi.CustomResource {
|
|
|
216
230
|
resourceInputs["enableBranchAutoDeletion"] = state ? state.enableBranchAutoDeletion : undefined;
|
|
217
231
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
218
232
|
resourceInputs["iamServiceRoleArn"] = state ? state.iamServiceRoleArn : undefined;
|
|
233
|
+
resourceInputs["jobConfig"] = state ? state.jobConfig : undefined;
|
|
219
234
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
220
235
|
resourceInputs["oauthToken"] = state ? state.oauthToken : undefined;
|
|
221
236
|
resourceInputs["platform"] = state ? state.platform : undefined;
|
|
@@ -243,6 +258,7 @@ class App extends pulumi.CustomResource {
|
|
|
243
258
|
resourceInputs["enableBranchAutoDeletion"] = args ? args.enableBranchAutoDeletion : undefined;
|
|
244
259
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
245
260
|
resourceInputs["iamServiceRoleArn"] = args ? args.iamServiceRoleArn : undefined;
|
|
261
|
+
resourceInputs["jobConfig"] = args ? args.jobConfig : undefined;
|
|
246
262
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
247
263
|
resourceInputs["oauthToken"] = (args === null || args === void 0 ? void 0 : args.oauthToken) ? pulumi.secret(args.oauthToken) : undefined;
|
|
248
264
|
resourceInputs["platform"] = args ? args.platform : undefined;
|
package/amplify/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../amplify/app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../amplify/app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAuHD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG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AAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,sBAAsB,EAAE,YAAY,CAAC,EAAE,CAAC;QACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAnNL,kBAoNC;AAtMG,gBAAgB;AACO,gBAAY,GAAG,qBAAqB,CAAC"}
|
package/amplify/branch.d.ts
CHANGED
|
@@ -194,6 +194,10 @@ export declare class Branch extends pulumi.CustomResource {
|
|
|
194
194
|
* Enables pull request previews for this branch.
|
|
195
195
|
*/
|
|
196
196
|
readonly enablePullRequestPreview: pulumi.Output<boolean | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Enables skew protection for the branch.
|
|
199
|
+
*/
|
|
200
|
+
readonly enableSkewProtection: pulumi.Output<boolean | undefined>;
|
|
197
201
|
/**
|
|
198
202
|
* Environment variables for the branch.
|
|
199
203
|
*/
|
|
@@ -309,6 +313,10 @@ export interface BranchState {
|
|
|
309
313
|
* Enables pull request previews for this branch.
|
|
310
314
|
*/
|
|
311
315
|
enablePullRequestPreview?: pulumi.Input<boolean>;
|
|
316
|
+
/**
|
|
317
|
+
* Enables skew protection for the branch.
|
|
318
|
+
*/
|
|
319
|
+
enableSkewProtection?: pulumi.Input<boolean>;
|
|
312
320
|
/**
|
|
313
321
|
* Environment variables for the branch.
|
|
314
322
|
*/
|
|
@@ -400,6 +408,10 @@ export interface BranchArgs {
|
|
|
400
408
|
* Enables pull request previews for this branch.
|
|
401
409
|
*/
|
|
402
410
|
enablePullRequestPreview?: pulumi.Input<boolean>;
|
|
411
|
+
/**
|
|
412
|
+
* Enables skew protection for the branch.
|
|
413
|
+
*/
|
|
414
|
+
enableSkewProtection?: pulumi.Input<boolean>;
|
|
403
415
|
/**
|
|
404
416
|
* Environment variables for the branch.
|
|
405
417
|
*/
|
package/amplify/branch.js
CHANGED
|
@@ -167,6 +167,7 @@ class Branch extends pulumi.CustomResource {
|
|
|
167
167
|
resourceInputs["enableNotification"] = state ? state.enableNotification : undefined;
|
|
168
168
|
resourceInputs["enablePerformanceMode"] = state ? state.enablePerformanceMode : undefined;
|
|
169
169
|
resourceInputs["enablePullRequestPreview"] = state ? state.enablePullRequestPreview : undefined;
|
|
170
|
+
resourceInputs["enableSkewProtection"] = state ? state.enableSkewProtection : undefined;
|
|
170
171
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
171
172
|
resourceInputs["framework"] = state ? state.framework : undefined;
|
|
172
173
|
resourceInputs["pullRequestEnvironmentName"] = state ? state.pullRequestEnvironmentName : undefined;
|
|
@@ -196,6 +197,7 @@ class Branch extends pulumi.CustomResource {
|
|
|
196
197
|
resourceInputs["enableNotification"] = args ? args.enableNotification : undefined;
|
|
197
198
|
resourceInputs["enablePerformanceMode"] = args ? args.enablePerformanceMode : undefined;
|
|
198
199
|
resourceInputs["enablePullRequestPreview"] = args ? args.enablePullRequestPreview : undefined;
|
|
200
|
+
resourceInputs["enableSkewProtection"] = args ? args.enableSkewProtection : undefined;
|
|
199
201
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
200
202
|
resourceInputs["framework"] = args ? args.framework : undefined;
|
|
201
203
|
resourceInputs["pullRequestEnvironmentName"] = args ? args.pullRequestEnvironmentName : undefined;
|