@pulumi/aws 4.20.0 → 4.21.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/apprunner/service.d.ts +1 -1
- package/apprunner/service.js +1 -1
- package/autoscaling/group.d.ts +6 -6
- package/cfg/deliveryChannel.d.ts +12 -0
- package/cfg/deliveryChannel.js +2 -0
- package/cfg/deliveryChannel.js.map +1 -1
- package/chime/index.d.ts +1 -0
- package/chime/index.js +5 -0
- package/chime/index.js.map +1 -1
- package/chime/voiceConnectorLogging.d.ts +84 -0
- package/chime/voiceConnectorLogging.js +80 -0
- package/chime/voiceConnectorLogging.js.map +1 -0
- package/cloudfront/keyGroup.d.ts +8 -0
- package/cloudfront/keyGroup.js +8 -0
- package/cloudfront/keyGroup.js.map +1 -1
- package/cloudtrail/trail.d.ts +147 -10
- package/cloudtrail/trail.js +131 -4
- package/cloudtrail/trail.js.map +1 -1
- package/dms/replicationInstance.d.ts +8 -0
- package/dms/replicationInstance.js +8 -0
- package/dms/replicationInstance.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +12 -0
- package/ec2clientvpn/endpoint.js +2 -0
- package/ec2clientvpn/endpoint.js.map +1 -1
- package/efs/fileSystemPolicy.d.ts +13 -0
- package/efs/fileSystemPolicy.js +3 -0
- package/efs/fileSystemPolicy.js.map +1 -1
- package/eks/getClusters.d.ts +18 -0
- package/eks/getClusters.js +21 -0
- package/eks/getClusters.js.map +1 -0
- package/eks/getNodeGroup.d.ts +108 -0
- package/eks/getNodeGroup.js +37 -0
- package/eks/getNodeGroup.js.map +1 -0
- package/eks/getNodeGroups.d.ts +43 -0
- package/eks/getNodeGroups.js +38 -0
- package/eks/getNodeGroups.js.map +1 -0
- package/eks/index.d.ts +3 -0
- package/eks/index.js +3 -0
- package/eks/index.js.map +1 -1
- package/iam/role.d.ts +1 -1
- package/imagebuilder/infrastructureConfiguration.d.ts +1 -1
- package/imagebuilder/infrastructureConfiguration.js +1 -1
- package/lambda/function.d.ts +4 -1
- package/lambda/function.js +4 -1
- package/lambda/function.js.map +1 -1
- package/lambda/permission.d.ts +2 -2
- package/lambda/permission.js +2 -2
- package/networkfirewall/ruleGroup.d.ts +50 -0
- package/networkfirewall/ruleGroup.js +50 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/sagemaker/endpointConfiguration.d.ts +12 -0
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.js.map +1 -1
- package/storagegateway/smbFileShare.d.ts +3 -3
- package/transfer/access.d.ts +167 -0
- package/transfer/access.js +114 -0
- package/transfer/access.js.map +1 -0
- package/transfer/index.d.ts +1 -0
- package/transfer/index.js +5 -0
- package/transfer/index.js.map +1 -1
- package/transfer/server.d.ts +12 -0
- package/transfer/server.js +2 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +118 -5
- package/types/output.d.ts +158 -5
- package/waf/webAcl.d.ts +2 -0
- package/waf/webAcl.js +2 -0
- package/waf/webAcl.js.map +1 -1
package/apprunner/service.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
21
21
|
* codeConfigurationValues: {
|
|
22
22
|
* buildCommand: "python setup.py develop",
|
|
23
23
|
* port: "8000",
|
|
24
|
-
* runtime: "
|
|
24
|
+
* runtime: "PYTHON_3",
|
|
25
25
|
* startCommand: "python runapp.py",
|
|
26
26
|
* },
|
|
27
27
|
* configurationSource: "API",
|
package/apprunner/service.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* codeConfigurationValues: {
|
|
27
27
|
* buildCommand: "python setup.py develop",
|
|
28
28
|
* port: "8000",
|
|
29
|
-
* runtime: "
|
|
29
|
+
* runtime: "PYTHON_3",
|
|
30
30
|
* startCommand: "python runapp.py",
|
|
31
31
|
* },
|
|
32
32
|
* configurationSource: "API",
|
package/autoscaling/group.d.ts
CHANGED
|
@@ -384,7 +384,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
384
384
|
*/
|
|
385
385
|
readonly loadBalancers: pulumi.Output<string[] | undefined>;
|
|
386
386
|
/**
|
|
387
|
-
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between
|
|
387
|
+
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds.
|
|
388
388
|
*/
|
|
389
389
|
readonly maxInstanceLifetime: pulumi.Output<number | undefined>;
|
|
390
390
|
/**
|
|
@@ -407,7 +407,7 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
407
407
|
*/
|
|
408
408
|
readonly minSize: pulumi.Output<number>;
|
|
409
409
|
/**
|
|
410
|
-
* Configuration block containing settings to define launch targets for Auto Scaling groups.
|
|
410
|
+
* Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.
|
|
411
411
|
*/
|
|
412
412
|
readonly mixedInstancesPolicy: pulumi.Output<outputs.autoscaling.GroupMixedInstancesPolicy | undefined>;
|
|
413
413
|
/**
|
|
@@ -567,7 +567,7 @@ export interface GroupState {
|
|
|
567
567
|
*/
|
|
568
568
|
loadBalancers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
569
569
|
/**
|
|
570
|
-
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between
|
|
570
|
+
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds.
|
|
571
571
|
*/
|
|
572
572
|
maxInstanceLifetime?: pulumi.Input<number>;
|
|
573
573
|
/**
|
|
@@ -590,7 +590,7 @@ export interface GroupState {
|
|
|
590
590
|
*/
|
|
591
591
|
minSize?: pulumi.Input<number>;
|
|
592
592
|
/**
|
|
593
|
-
* Configuration block containing settings to define launch targets for Auto Scaling groups.
|
|
593
|
+
* Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.
|
|
594
594
|
*/
|
|
595
595
|
mixedInstancesPolicy?: pulumi.Input<inputs.autoscaling.GroupMixedInstancesPolicy>;
|
|
596
596
|
/**
|
|
@@ -738,7 +738,7 @@ export interface GroupArgs {
|
|
|
738
738
|
*/
|
|
739
739
|
loadBalancers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
740
740
|
/**
|
|
741
|
-
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between
|
|
741
|
+
* The maximum amount of time, in seconds, that an instance can be in service, values must be either equal to 0 or between 86400 and 31536000 seconds.
|
|
742
742
|
*/
|
|
743
743
|
maxInstanceLifetime?: pulumi.Input<number>;
|
|
744
744
|
/**
|
|
@@ -761,7 +761,7 @@ export interface GroupArgs {
|
|
|
761
761
|
*/
|
|
762
762
|
minSize: pulumi.Input<number>;
|
|
763
763
|
/**
|
|
764
|
-
* Configuration block containing settings to define launch targets for Auto Scaling groups.
|
|
764
|
+
* Configuration block containing settings to define launch targets for Auto Scaling groups. See Mixed Instances Policy below for more details.
|
|
765
765
|
*/
|
|
766
766
|
mixedInstancesPolicy?: pulumi.Input<inputs.autoscaling.GroupMixedInstancesPolicy>;
|
|
767
767
|
/**
|
package/cfg/deliveryChannel.d.ts
CHANGED
|
@@ -87,6 +87,10 @@ export declare class DeliveryChannel extends pulumi.CustomResource {
|
|
|
87
87
|
* The prefix for the specified S3 bucket.
|
|
88
88
|
*/
|
|
89
89
|
readonly s3KeyPrefix: pulumi.Output<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* The ARN of the AWS KMS key used to encrypt objects delivered by AWS Config. Must belong to the same Region as the destination S3 bucket.
|
|
92
|
+
*/
|
|
93
|
+
readonly s3KmsKeyArn: pulumi.Output<string | undefined>;
|
|
90
94
|
/**
|
|
91
95
|
* Options for how AWS Config delivers configuration snapshots. See below
|
|
92
96
|
*/
|
|
@@ -120,6 +124,10 @@ export interface DeliveryChannelState {
|
|
|
120
124
|
* The prefix for the specified S3 bucket.
|
|
121
125
|
*/
|
|
122
126
|
s3KeyPrefix?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The ARN of the AWS KMS key used to encrypt objects delivered by AWS Config. Must belong to the same Region as the destination S3 bucket.
|
|
129
|
+
*/
|
|
130
|
+
s3KmsKeyArn?: pulumi.Input<string>;
|
|
123
131
|
/**
|
|
124
132
|
* Options for how AWS Config delivers configuration snapshots. See below
|
|
125
133
|
*/
|
|
@@ -145,6 +153,10 @@ export interface DeliveryChannelArgs {
|
|
|
145
153
|
* The prefix for the specified S3 bucket.
|
|
146
154
|
*/
|
|
147
155
|
s3KeyPrefix?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The ARN of the AWS KMS key used to encrypt objects delivered by AWS Config. Must belong to the same Region as the destination S3 bucket.
|
|
158
|
+
*/
|
|
159
|
+
s3KmsKeyArn?: pulumi.Input<string>;
|
|
148
160
|
/**
|
|
149
161
|
* Options for how AWS Config delivers configuration snapshots. See below
|
|
150
162
|
*/
|
package/cfg/deliveryChannel.js
CHANGED
|
@@ -73,6 +73,7 @@ class DeliveryChannel extends pulumi.CustomResource {
|
|
|
73
73
|
inputs["name"] = state ? state.name : undefined;
|
|
74
74
|
inputs["s3BucketName"] = state ? state.s3BucketName : undefined;
|
|
75
75
|
inputs["s3KeyPrefix"] = state ? state.s3KeyPrefix : undefined;
|
|
76
|
+
inputs["s3KmsKeyArn"] = state ? state.s3KmsKeyArn : undefined;
|
|
76
77
|
inputs["snapshotDeliveryProperties"] = state ? state.snapshotDeliveryProperties : undefined;
|
|
77
78
|
inputs["snsTopicArn"] = state ? state.snsTopicArn : undefined;
|
|
78
79
|
}
|
|
@@ -84,6 +85,7 @@ class DeliveryChannel extends pulumi.CustomResource {
|
|
|
84
85
|
inputs["name"] = args ? args.name : undefined;
|
|
85
86
|
inputs["s3BucketName"] = args ? args.s3BucketName : undefined;
|
|
86
87
|
inputs["s3KeyPrefix"] = args ? args.s3KeyPrefix : undefined;
|
|
88
|
+
inputs["s3KmsKeyArn"] = args ? args.s3KmsKeyArn : undefined;
|
|
87
89
|
inputs["snapshotDeliveryProperties"] = args ? args.snapshotDeliveryProperties : undefined;
|
|
88
90
|
inputs["snsTopicArn"] = args ? args.snsTopicArn : undefined;
|
|
89
91
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliveryChannel.js","sourceRoot":"","sources":["../../cfg/deliveryChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"deliveryChannel.js","sourceRoot":"","sources":["../../cfg/deliveryChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA6DtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SA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AAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAvFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAyFC;AA3EG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
|
package/chime/index.d.ts
CHANGED
package/chime/index.js
CHANGED
|
@@ -17,11 +17,13 @@ const utilities = require("../utilities");
|
|
|
17
17
|
// Export members:
|
|
18
18
|
__exportStar(require("./voiceConnector"), exports);
|
|
19
19
|
__exportStar(require("./voiceConnectorGroup"), exports);
|
|
20
|
+
__exportStar(require("./voiceConnectorLogging"), exports);
|
|
20
21
|
__exportStar(require("./voiceConnectorOrganization"), exports);
|
|
21
22
|
__exportStar(require("./voiceConnectorTermination"), exports);
|
|
22
23
|
// Import resources to register:
|
|
23
24
|
const voiceConnector_1 = require("./voiceConnector");
|
|
24
25
|
const voiceConnectorGroup_1 = require("./voiceConnectorGroup");
|
|
26
|
+
const voiceConnectorLogging_1 = require("./voiceConnectorLogging");
|
|
25
27
|
const voiceConnectorOrganization_1 = require("./voiceConnectorOrganization");
|
|
26
28
|
const voiceConnectorTermination_1 = require("./voiceConnectorTermination");
|
|
27
29
|
const _module = {
|
|
@@ -32,6 +34,8 @@ const _module = {
|
|
|
32
34
|
return new voiceConnector_1.VoiceConnector(name, undefined, { urn });
|
|
33
35
|
case "aws:chime/voiceConnectorGroup:VoiceConnectorGroup":
|
|
34
36
|
return new voiceConnectorGroup_1.VoiceConnectorGroup(name, undefined, { urn });
|
|
37
|
+
case "aws:chime/voiceConnectorLogging:VoiceConnectorLogging":
|
|
38
|
+
return new voiceConnectorLogging_1.VoiceConnectorLogging(name, undefined, { urn });
|
|
35
39
|
case "aws:chime/voiceConnectorOrganization:VoiceConnectorOrganization":
|
|
36
40
|
return new voiceConnectorOrganization_1.VoiceConnectorOrganization(name, undefined, { urn });
|
|
37
41
|
case "aws:chime/voiceConnectorTermination:VoiceConnectorTermination":
|
|
@@ -43,6 +47,7 @@ const _module = {
|
|
|
43
47
|
};
|
|
44
48
|
pulumi.runtime.registerResourceModule("aws", "chime/voiceConnector", _module);
|
|
45
49
|
pulumi.runtime.registerResourceModule("aws", "chime/voiceConnectorGroup", _module);
|
|
50
|
+
pulumi.runtime.registerResourceModule("aws", "chime/voiceConnectorLogging", _module);
|
|
46
51
|
pulumi.runtime.registerResourceModule("aws", "chime/voiceConnectorOrganization", _module);
|
|
47
52
|
pulumi.runtime.registerResourceModule("aws", "chime/voiceConnectorTermination", _module);
|
|
48
53
|
//# sourceMappingURL=index.js.map
|
package/chime/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chime/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,mDAAiC;AACjC,wDAAsC;AACtC,+DAA6C;AAC7C,8DAA4C;AAE5C,gCAAgC;AAChC,qDAAkD;AAClD,+DAA4D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CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const defaultVoiceConnector = new aws.chime.VoiceConnector("defaultVoiceConnector", {requireEncryption: true});
|
|
12
|
+
* const defaultVoiceConnectorLogging = new aws.chime.VoiceConnectorLogging("defaultVoiceConnectorLogging", {
|
|
13
|
+
* enableSipLogs: true,
|
|
14
|
+
* voiceConnectorId: defaultVoiceConnector.id,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Chime Voice Connector Logging can be imported using the `voice_connector_id`, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:chime/voiceConnectorLogging:VoiceConnectorLogging default abcdef1ghij2klmno3pqr4
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class VoiceConnectorLogging extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing VoiceConnectorLogging resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VoiceConnectorLoggingState, opts?: pulumi.CustomResourceOptions): VoiceConnectorLogging;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of VoiceConnectorLogging. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is VoiceConnectorLogging;
|
|
42
|
+
/**
|
|
43
|
+
* When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
|
44
|
+
*/
|
|
45
|
+
readonly enableSipLogs: pulumi.Output<boolean | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The Amazon Chime Voice Connector ID.
|
|
48
|
+
*/
|
|
49
|
+
readonly voiceConnectorId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a VoiceConnectorLogging resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: VoiceConnectorLoggingArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering VoiceConnectorLogging resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface VoiceConnectorLoggingState {
|
|
63
|
+
/**
|
|
64
|
+
* When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
|
65
|
+
*/
|
|
66
|
+
enableSipLogs?: pulumi.Input<boolean>;
|
|
67
|
+
/**
|
|
68
|
+
* The Amazon Chime Voice Connector ID.
|
|
69
|
+
*/
|
|
70
|
+
voiceConnectorId?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The set of arguments for constructing a VoiceConnectorLogging resource.
|
|
74
|
+
*/
|
|
75
|
+
export interface VoiceConnectorLoggingArgs {
|
|
76
|
+
/**
|
|
77
|
+
* When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
|
|
78
|
+
*/
|
|
79
|
+
enableSipLogs?: pulumi.Input<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* The Amazon Chime Voice Connector ID.
|
|
82
|
+
*/
|
|
83
|
+
voiceConnectorId: pulumi.Input<string>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.VoiceConnectorLogging = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const defaultVoiceConnector = new aws.chime.VoiceConnector("defaultVoiceConnector", {requireEncryption: true});
|
|
18
|
+
* const defaultVoiceConnectorLogging = new aws.chime.VoiceConnectorLogging("defaultVoiceConnectorLogging", {
|
|
19
|
+
* enableSipLogs: true,
|
|
20
|
+
* voiceConnectorId: defaultVoiceConnector.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Chime Voice Connector Logging can be imported using the `voice_connector_id`, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:chime/voiceConnectorLogging:VoiceConnectorLogging default abcdef1ghij2klmno3pqr4
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class VoiceConnectorLogging extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let inputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
inputs["enableSipLogs"] = state ? state.enableSipLogs : undefined;
|
|
39
|
+
inputs["voiceConnectorId"] = state ? state.voiceConnectorId : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const args = argsOrState;
|
|
43
|
+
if ((!args || args.voiceConnectorId === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'voiceConnectorId'");
|
|
45
|
+
}
|
|
46
|
+
inputs["enableSipLogs"] = args ? args.enableSipLogs : undefined;
|
|
47
|
+
inputs["voiceConnectorId"] = args ? args.voiceConnectorId : undefined;
|
|
48
|
+
}
|
|
49
|
+
if (!opts.version) {
|
|
50
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
51
|
+
}
|
|
52
|
+
super(VoiceConnectorLogging.__pulumiType, name, inputs, opts);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing VoiceConnectorLogging resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new VoiceConnectorLogging(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of VoiceConnectorLogging. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === VoiceConnectorLogging.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.VoiceConnectorLogging = VoiceConnectorLogging;
|
|
78
|
+
/** @internal */
|
|
79
|
+
VoiceConnectorLogging.__pulumiType = 'aws:chime/voiceConnectorLogging:VoiceConnectorLogging';
|
|
80
|
+
//# sourceMappingURL=voiceConnectorLogging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceConnectorLogging.js","sourceRoot":"","sources":["../../chime/voiceConnectorLogging.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IA6C5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aA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,6 +18,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* items: [examplePublicKey.id],
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* CloudFront Key Group can be imported using the `id`, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:cloudfront/keyGroup:KeyGroup example 4b4f2r1c-315d-5c2e-f093-216t50jed10f
|
|
28
|
+
* ```
|
|
21
29
|
*/
|
|
22
30
|
export declare class KeyGroup extends pulumi.CustomResource {
|
|
23
31
|
/**
|
package/cloudfront/keyGroup.js
CHANGED
|
@@ -24,6 +24,14 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* items: [examplePublicKey.id],
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* CloudFront Key Group can be imported using the `id`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:cloudfront/keyGroup:KeyGroup example 4b4f2r1c-315d-5c2e-f093-216t50jed10f
|
|
34
|
+
* ```
|
|
27
35
|
*/
|
|
28
36
|
class KeyGroup extends pulumi.CustomResource {
|
|
29
37
|
constructor(name, argsOrState, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyGroup.js","sourceRoot":"","sources":["../../cloudfront/keyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"keyGroup.js","sourceRoot":"","sources":["../../cloudfront/keyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MA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AC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IA3ED;;;;;;;;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;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA6EC;AA/DG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/cloudtrail/trail.d.ts
CHANGED
|
@@ -59,8 +59,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
59
59
|
* ```
|
|
60
60
|
* ### Data Event Logging
|
|
61
61
|
*
|
|
62
|
-
* CloudTrail can log [Data Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) for certain services such as S3 bucket objects and Lambda function invocations. Additional information about data event configuration can be found in the
|
|
63
|
-
*
|
|
62
|
+
* CloudTrail can log [Data Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) for certain services such as S3 bucket objects and Lambda function invocations. Additional information about data event configuration can be found in the following links:
|
|
63
|
+
*
|
|
64
|
+
* * [CloudTrail API DataResource documentation](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_DataResource.html) (for basic event selector).
|
|
65
|
+
* * [CloudTrail API AdvancedFieldSelector documentation](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html) (for advanced event selector).
|
|
66
|
+
* ### Logging All Lambda Function Invocations By Using Basic Event Selectors
|
|
64
67
|
*
|
|
65
68
|
* ```typescript
|
|
66
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -80,7 +83,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
80
83
|
* }],
|
|
81
84
|
* });
|
|
82
85
|
* ```
|
|
83
|
-
* ### Logging All S3 Bucket Object Events
|
|
86
|
+
* ### Logging All S3 Bucket Object Events By Using Basic Event Selectors
|
|
84
87
|
*
|
|
85
88
|
* ```typescript
|
|
86
89
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -100,7 +103,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
100
103
|
* }],
|
|
101
104
|
* });
|
|
102
105
|
* ```
|
|
103
|
-
* ### Logging Individual S3 Bucket Events
|
|
106
|
+
* ### Logging Individual S3 Bucket Events By Using Basic Event Selectors
|
|
104
107
|
*
|
|
105
108
|
* ```typescript
|
|
106
109
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -122,6 +125,128 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
122
125
|
* }],
|
|
123
126
|
* });
|
|
124
127
|
* ```
|
|
128
|
+
* ### Logging All S3 Bucket Object Events Except For Two S3 Buckets By Using Advanced Event Selectors
|
|
129
|
+
*
|
|
130
|
+
* ```typescript
|
|
131
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
132
|
+
* import * as aws from "@pulumi/aws";
|
|
133
|
+
*
|
|
134
|
+
* const not_important_bucket_1 = pulumi.output(aws.s3.getBucket({
|
|
135
|
+
* bucket: "not-important-bucket-1",
|
|
136
|
+
* }));
|
|
137
|
+
* const not_important_bucket_2 = pulumi.output(aws.s3.getBucket({
|
|
138
|
+
* bucket: "not-important-bucket-2",
|
|
139
|
+
* }));
|
|
140
|
+
* const example = new aws.cloudtrail.Trail("example", {
|
|
141
|
+
* advancedEventSelectors: [
|
|
142
|
+
* {
|
|
143
|
+
* fieldSelectors: [
|
|
144
|
+
* {
|
|
145
|
+
* equals: ["Data"],
|
|
146
|
+
* field: "eventCategory",
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* field: "resources.ARN",
|
|
150
|
+
* notEquals: [
|
|
151
|
+
* pulumi.interpolate`${not_important_bucket_1.arn}/`,
|
|
152
|
+
* pulumi.interpolate`${not_important_bucket_2.arn}/`,
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
155
|
+
* {
|
|
156
|
+
* equals: ["AWS::S3::Object"],
|
|
157
|
+
* field: "resources.type",
|
|
158
|
+
* },
|
|
159
|
+
* ],
|
|
160
|
+
* name: "Log all S3 buckets objects events except for two S3 buckets",
|
|
161
|
+
* },
|
|
162
|
+
* {
|
|
163
|
+
* fieldSelectors: [{
|
|
164
|
+
* equals: ["Management"],
|
|
165
|
+
* field: "eventCategory",
|
|
166
|
+
* }],
|
|
167
|
+
* name: "Log readOnly and writeOnly management events",
|
|
168
|
+
* },
|
|
169
|
+
* ],
|
|
170
|
+
* });
|
|
171
|
+
* ```
|
|
172
|
+
* ### Logging Individual S3 Buckets And Specific Event Names By Using Advanced Event Selectors
|
|
173
|
+
*
|
|
174
|
+
* ```typescript
|
|
175
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
176
|
+
* import * as aws from "@pulumi/aws";
|
|
177
|
+
*
|
|
178
|
+
* const important_bucket_1 = pulumi.output(aws.s3.getBucket({
|
|
179
|
+
* bucket: "important-bucket-1",
|
|
180
|
+
* }));
|
|
181
|
+
* const important_bucket_2 = pulumi.output(aws.s3.getBucket({
|
|
182
|
+
* bucket: "important-bucket-2",
|
|
183
|
+
* }));
|
|
184
|
+
* const important_bucket_3 = pulumi.output(aws.s3.getBucket({
|
|
185
|
+
* bucket: "important-bucket-3",
|
|
186
|
+
* }));
|
|
187
|
+
* const example = new aws.cloudtrail.Trail("example", {
|
|
188
|
+
* advancedEventSelectors: [
|
|
189
|
+
* {
|
|
190
|
+
* fieldSelectors: [
|
|
191
|
+
* {
|
|
192
|
+
* equals: ["Data"],
|
|
193
|
+
* field: "eventCategory",
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* equals: [
|
|
197
|
+
* "PutObject",
|
|
198
|
+
* "DeleteObject",
|
|
199
|
+
* ],
|
|
200
|
+
* field: "eventName",
|
|
201
|
+
* },
|
|
202
|
+
* {
|
|
203
|
+
* //The trailing slash is intentional; do not exclude it.
|
|
204
|
+
* equals: [
|
|
205
|
+
* pulumi.interpolate`${important_bucket_1.arn}/`,
|
|
206
|
+
* pulumi.interpolate`${important_bucket_2.arn}/`,
|
|
207
|
+
* ],
|
|
208
|
+
* field: "resources.ARN",
|
|
209
|
+
* },
|
|
210
|
+
* {
|
|
211
|
+
* equals: ["false"],
|
|
212
|
+
* field: "readOnly",
|
|
213
|
+
* },
|
|
214
|
+
* {
|
|
215
|
+
* equals: ["AWS::S3::Object"],
|
|
216
|
+
* field: "resources.type",
|
|
217
|
+
* },
|
|
218
|
+
* ],
|
|
219
|
+
* name: "Log PutObject and DeleteObject events for two S3 buckets",
|
|
220
|
+
* },
|
|
221
|
+
* {
|
|
222
|
+
* fieldSelectors: [
|
|
223
|
+
* {
|
|
224
|
+
* equals: ["Data"],
|
|
225
|
+
* field: "eventCategory",
|
|
226
|
+
* },
|
|
227
|
+
* {
|
|
228
|
+
* field: "eventName",
|
|
229
|
+
* startsWiths: ["Delete"],
|
|
230
|
+
* },
|
|
231
|
+
* {
|
|
232
|
+
* //The trailing slash is intentional; do not exclude it.
|
|
233
|
+
* equals: [pulumi.interpolate`${important_bucket_3.arn}/important-prefix`],
|
|
234
|
+
* field: "resources.ARN",
|
|
235
|
+
* },
|
|
236
|
+
* {
|
|
237
|
+
* equals: ["false"],
|
|
238
|
+
* field: "readOnly",
|
|
239
|
+
* },
|
|
240
|
+
* {
|
|
241
|
+
* equals: ["AWS::S3::Object"],
|
|
242
|
+
* field: "resources.type",
|
|
243
|
+
* },
|
|
244
|
+
* ],
|
|
245
|
+
* name: "Log Delete* events for one S3 bucket",
|
|
246
|
+
* },
|
|
247
|
+
* ],
|
|
248
|
+
* });
|
|
249
|
+
* ```
|
|
125
250
|
* ### Sending Events to CloudWatch Logs
|
|
126
251
|
*
|
|
127
252
|
* ```typescript
|
|
@@ -196,6 +321,10 @@ export declare class Trail extends pulumi.CustomResource {
|
|
|
196
321
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
197
322
|
*/
|
|
198
323
|
static isInstance(obj: any): obj is Trail;
|
|
324
|
+
/**
|
|
325
|
+
* Specifies an advanced event selector for enabling data event logging. Fields documented below. Conflicts with `eventSelector`.
|
|
326
|
+
*/
|
|
327
|
+
readonly advancedEventSelectors: pulumi.Output<outputs.cloudtrail.TrailAdvancedEventSelector[] | undefined>;
|
|
199
328
|
/**
|
|
200
329
|
* ARN of the trail.
|
|
201
330
|
*/
|
|
@@ -217,7 +346,7 @@ export declare class Trail extends pulumi.CustomResource {
|
|
|
217
346
|
*/
|
|
218
347
|
readonly enableLogging: pulumi.Output<boolean | undefined>;
|
|
219
348
|
/**
|
|
220
|
-
*
|
|
349
|
+
* Specifies an event selector for enabling data event logging. Fields documented below. Please note the [CloudTrail limits](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) when configuring these. Conflicts with `advancedEventSelector`.
|
|
221
350
|
*/
|
|
222
351
|
readonly eventSelectors: pulumi.Output<outputs.cloudtrail.TrailEventSelector[] | undefined>;
|
|
223
352
|
/**
|
|
@@ -245,7 +374,7 @@ export declare class Trail extends pulumi.CustomResource {
|
|
|
245
374
|
*/
|
|
246
375
|
readonly kmsKeyId: pulumi.Output<string | undefined>;
|
|
247
376
|
/**
|
|
248
|
-
*
|
|
377
|
+
* Specifies the name of the advanced event selector.
|
|
249
378
|
*/
|
|
250
379
|
readonly name: pulumi.Output<string>;
|
|
251
380
|
/**
|
|
@@ -285,6 +414,10 @@ export declare class Trail extends pulumi.CustomResource {
|
|
|
285
414
|
* Input properties used for looking up and filtering Trail resources.
|
|
286
415
|
*/
|
|
287
416
|
export interface TrailState {
|
|
417
|
+
/**
|
|
418
|
+
* Specifies an advanced event selector for enabling data event logging. Fields documented below. Conflicts with `eventSelector`.
|
|
419
|
+
*/
|
|
420
|
+
advancedEventSelectors?: pulumi.Input<pulumi.Input<inputs.cloudtrail.TrailAdvancedEventSelector>[]>;
|
|
288
421
|
/**
|
|
289
422
|
* ARN of the trail.
|
|
290
423
|
*/
|
|
@@ -306,7 +439,7 @@ export interface TrailState {
|
|
|
306
439
|
*/
|
|
307
440
|
enableLogging?: pulumi.Input<boolean>;
|
|
308
441
|
/**
|
|
309
|
-
*
|
|
442
|
+
* Specifies an event selector for enabling data event logging. Fields documented below. Please note the [CloudTrail limits](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) when configuring these. Conflicts with `advancedEventSelector`.
|
|
310
443
|
*/
|
|
311
444
|
eventSelectors?: pulumi.Input<pulumi.Input<inputs.cloudtrail.TrailEventSelector>[]>;
|
|
312
445
|
/**
|
|
@@ -334,7 +467,7 @@ export interface TrailState {
|
|
|
334
467
|
*/
|
|
335
468
|
kmsKeyId?: pulumi.Input<string>;
|
|
336
469
|
/**
|
|
337
|
-
*
|
|
470
|
+
* Specifies the name of the advanced event selector.
|
|
338
471
|
*/
|
|
339
472
|
name?: pulumi.Input<string>;
|
|
340
473
|
/**
|
|
@@ -366,6 +499,10 @@ export interface TrailState {
|
|
|
366
499
|
* The set of arguments for constructing a Trail resource.
|
|
367
500
|
*/
|
|
368
501
|
export interface TrailArgs {
|
|
502
|
+
/**
|
|
503
|
+
* Specifies an advanced event selector for enabling data event logging. Fields documented below. Conflicts with `eventSelector`.
|
|
504
|
+
*/
|
|
505
|
+
advancedEventSelectors?: pulumi.Input<pulumi.Input<inputs.cloudtrail.TrailAdvancedEventSelector>[]>;
|
|
369
506
|
/**
|
|
370
507
|
* Log group name using an ARN that represents the log group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard.
|
|
371
508
|
*/
|
|
@@ -383,7 +520,7 @@ export interface TrailArgs {
|
|
|
383
520
|
*/
|
|
384
521
|
enableLogging?: pulumi.Input<boolean>;
|
|
385
522
|
/**
|
|
386
|
-
*
|
|
523
|
+
* Specifies an event selector for enabling data event logging. Fields documented below. Please note the [CloudTrail limits](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) when configuring these. Conflicts with `advancedEventSelector`.
|
|
387
524
|
*/
|
|
388
525
|
eventSelectors?: pulumi.Input<pulumi.Input<inputs.cloudtrail.TrailEventSelector>[]>;
|
|
389
526
|
/**
|
|
@@ -407,7 +544,7 @@ export interface TrailArgs {
|
|
|
407
544
|
*/
|
|
408
545
|
kmsKeyId?: pulumi.Input<string>;
|
|
409
546
|
/**
|
|
410
|
-
*
|
|
547
|
+
* Specifies the name of the advanced event selector.
|
|
411
548
|
*/
|
|
412
549
|
name?: pulumi.Input<string>;
|
|
413
550
|
/**
|