@pulumi/aws-native 0.22.0 → 0.22.1-alpha.1661750811

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.
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs, enums } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Connect::InstanceStorageConfig
5
+ */
6
+ export declare function getInstanceStorageConfig(args: GetInstanceStorageConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceStorageConfigResult>;
7
+ export interface GetInstanceStorageConfigArgs {
8
+ associationId: string;
9
+ /**
10
+ * Connect Instance ID with which the storage config will be associated
11
+ */
12
+ instanceArn: string;
13
+ resourceType: enums.connect.InstanceStorageConfigInstanceStorageResourceType;
14
+ }
15
+ export interface GetInstanceStorageConfigResult {
16
+ readonly associationId?: string;
17
+ readonly kinesisFirehoseConfig?: outputs.connect.InstanceStorageConfigKinesisFirehoseConfig;
18
+ readonly kinesisStreamConfig?: outputs.connect.InstanceStorageConfigKinesisStreamConfig;
19
+ readonly kinesisVideoStreamConfig?: outputs.connect.InstanceStorageConfigKinesisVideoStreamConfig;
20
+ readonly s3Config?: outputs.connect.InstanceStorageConfigS3Config;
21
+ readonly storageType?: enums.connect.InstanceStorageConfigStorageType;
22
+ }
23
+ export declare function getInstanceStorageConfigOutput(args: GetInstanceStorageConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceStorageConfigResult>;
24
+ export interface GetInstanceStorageConfigOutputArgs {
25
+ associationId: pulumi.Input<string>;
26
+ /**
27
+ * Connect Instance ID with which the storage config will be associated
28
+ */
29
+ instanceArn: pulumi.Input<string>;
30
+ resourceType: pulumi.Input<enums.connect.InstanceStorageConfigInstanceStorageResourceType>;
31
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.getInstanceStorageConfigOutput = exports.getInstanceStorageConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Connect::InstanceStorageConfig
10
+ */
11
+ function getInstanceStorageConfig(args, opts) {
12
+ if (!opts) {
13
+ opts = {};
14
+ }
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
+ return pulumi.runtime.invoke("aws-native:connect:getInstanceStorageConfig", {
17
+ "associationId": args.associationId,
18
+ "instanceArn": args.instanceArn,
19
+ "resourceType": args.resourceType,
20
+ }, opts);
21
+ }
22
+ exports.getInstanceStorageConfig = getInstanceStorageConfig;
23
+ function getInstanceStorageConfigOutput(args, opts) {
24
+ return pulumi.output(args).apply(a => getInstanceStorageConfig(a, opts));
25
+ }
26
+ exports.getInstanceStorageConfigOutput = getInstanceStorageConfigOutput;
27
+ //# sourceMappingURL=getInstanceStorageConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInstanceStorageConfig.js","sourceRoot":"","sources":["../../connect/getInstanceStorageConfig.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4DAWC;AAoBD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
@@ -4,6 +4,7 @@ export * from "./getContactFlow";
4
4
  export * from "./getContactFlowModule";
5
5
  export * from "./getHoursOfOperation";
6
6
  export * from "./getInstance";
7
+ export * from "./getInstanceStorageConfig";
7
8
  export * from "./getPhoneNumber";
8
9
  export * from "./getQuickConnect";
9
10
  export * from "./getTaskTemplate";
@@ -11,6 +12,7 @@ export * from "./getUser";
11
12
  export * from "./getUserHierarchyGroup";
12
13
  export * from "./hoursOfOperation";
13
14
  export * from "./instance";
15
+ export * from "./instanceStorageConfig";
14
16
  export * from "./phoneNumber";
15
17
  export * from "./quickConnect";
16
18
  export * from "./taskTemplate";
package/connect/index.js CHANGED
@@ -25,6 +25,7 @@ __exportStar(require("./getContactFlow"), exports);
25
25
  __exportStar(require("./getContactFlowModule"), exports);
26
26
  __exportStar(require("./getHoursOfOperation"), exports);
27
27
  __exportStar(require("./getInstance"), exports);
28
+ __exportStar(require("./getInstanceStorageConfig"), exports);
28
29
  __exportStar(require("./getPhoneNumber"), exports);
29
30
  __exportStar(require("./getQuickConnect"), exports);
30
31
  __exportStar(require("./getTaskTemplate"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./getUser"), exports);
32
33
  __exportStar(require("./getUserHierarchyGroup"), exports);
33
34
  __exportStar(require("./hoursOfOperation"), exports);
34
35
  __exportStar(require("./instance"), exports);
36
+ __exportStar(require("./instanceStorageConfig"), exports);
35
37
  __exportStar(require("./phoneNumber"), exports);
36
38
  __exportStar(require("./quickConnect"), exports);
37
39
  __exportStar(require("./taskTemplate"), exports);
@@ -44,6 +46,7 @@ const contactFlow_1 = require("./contactFlow");
44
46
  const contactFlowModule_1 = require("./contactFlowModule");
45
47
  const hoursOfOperation_1 = require("./hoursOfOperation");
46
48
  const instance_1 = require("./instance");
49
+ const instanceStorageConfig_1 = require("./instanceStorageConfig");
47
50
  const phoneNumber_1 = require("./phoneNumber");
48
51
  const quickConnect_1 = require("./quickConnect");
49
52
  const taskTemplate_1 = require("./taskTemplate");
@@ -61,6 +64,8 @@ const _module = {
61
64
  return new hoursOfOperation_1.HoursOfOperation(name, undefined, { urn });
62
65
  case "aws-native:connect:Instance":
63
66
  return new instance_1.Instance(name, undefined, { urn });
67
+ case "aws-native:connect:InstanceStorageConfig":
68
+ return new instanceStorageConfig_1.InstanceStorageConfig(name, undefined, { urn });
64
69
  case "aws-native:connect:PhoneNumber":
65
70
  return new phoneNumber_1.PhoneNumber(name, undefined, { urn });
66
71
  case "aws-native:connect:QuickConnect":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../connect/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,sDAAoC;AACpC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B;AAC1B,0DAAwC;AACxC,qDAAmC;AACnC,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,yCAAuB;AACvB,uDAAqC;AAErC,gBAAgB;AAChB,yDAAuC;AAEvC,gCAAgC;AAChC,+CAA4C;AAC5C,2DAAwD;AACxD,yDAAsD;AACtD,yCAAsC;AACtC,+CAA4C;AAC5C,iDAA8C;AAC9C,iDAA8C;AAC9C,iCAA8B;AAC9B,6DAA0D;AAE1D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAA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AAC,CAAA;YACtD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,6CAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE,KAAK,gCAAgC;gBACjC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,WAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,uCAAuC;gBACxC,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,55 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs, enums } from "../types";
3
+ /**
4
+ * Resource Type definition for AWS::Connect::InstanceStorageConfig
5
+ */
6
+ export declare class InstanceStorageConfig extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing InstanceStorageConfig resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): InstanceStorageConfig;
16
+ /**
17
+ * Returns true if the given object is an instance of InstanceStorageConfig. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is InstanceStorageConfig;
21
+ readonly associationId: pulumi.Output<string>;
22
+ /**
23
+ * Connect Instance ID with which the storage config will be associated
24
+ */
25
+ readonly instanceArn: pulumi.Output<string>;
26
+ readonly kinesisFirehoseConfig: pulumi.Output<outputs.connect.InstanceStorageConfigKinesisFirehoseConfig | undefined>;
27
+ readonly kinesisStreamConfig: pulumi.Output<outputs.connect.InstanceStorageConfigKinesisStreamConfig | undefined>;
28
+ readonly kinesisVideoStreamConfig: pulumi.Output<outputs.connect.InstanceStorageConfigKinesisVideoStreamConfig | undefined>;
29
+ readonly resourceType: pulumi.Output<enums.connect.InstanceStorageConfigInstanceStorageResourceType>;
30
+ readonly s3Config: pulumi.Output<outputs.connect.InstanceStorageConfigS3Config | undefined>;
31
+ readonly storageType: pulumi.Output<enums.connect.InstanceStorageConfigStorageType>;
32
+ /**
33
+ * Create a InstanceStorageConfig resource with the given unique name, arguments, and options.
34
+ *
35
+ * @param name The _unique_ name of the resource.
36
+ * @param args The arguments to use to populate this resource's properties.
37
+ * @param opts A bag of options that control this resource's behavior.
38
+ */
39
+ constructor(name: string, args: InstanceStorageConfigArgs, opts?: pulumi.CustomResourceOptions);
40
+ }
41
+ /**
42
+ * The set of arguments for constructing a InstanceStorageConfig resource.
43
+ */
44
+ export interface InstanceStorageConfigArgs {
45
+ /**
46
+ * Connect Instance ID with which the storage config will be associated
47
+ */
48
+ instanceArn: pulumi.Input<string>;
49
+ kinesisFirehoseConfig?: pulumi.Input<inputs.connect.InstanceStorageConfigKinesisFirehoseConfigArgs>;
50
+ kinesisStreamConfig?: pulumi.Input<inputs.connect.InstanceStorageConfigKinesisStreamConfigArgs>;
51
+ kinesisVideoStreamConfig?: pulumi.Input<inputs.connect.InstanceStorageConfigKinesisVideoStreamConfigArgs>;
52
+ resourceType: pulumi.Input<enums.connect.InstanceStorageConfigInstanceStorageResourceType>;
53
+ s3Config?: pulumi.Input<inputs.connect.InstanceStorageConfigS3ConfigArgs>;
54
+ storageType: pulumi.Input<enums.connect.InstanceStorageConfigStorageType>;
55
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.InstanceStorageConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Connect::InstanceStorageConfig
10
+ */
11
+ class InstanceStorageConfig extends pulumi.CustomResource {
12
+ /**
13
+ * Create a InstanceStorageConfig resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.instanceArn === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'instanceArn'");
25
+ }
26
+ if ((!args || args.resourceType === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'resourceType'");
28
+ }
29
+ if ((!args || args.storageType === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'storageType'");
31
+ }
32
+ resourceInputs["instanceArn"] = args ? args.instanceArn : undefined;
33
+ resourceInputs["kinesisFirehoseConfig"] = args ? args.kinesisFirehoseConfig : undefined;
34
+ resourceInputs["kinesisStreamConfig"] = args ? args.kinesisStreamConfig : undefined;
35
+ resourceInputs["kinesisVideoStreamConfig"] = args ? args.kinesisVideoStreamConfig : undefined;
36
+ resourceInputs["resourceType"] = args ? args.resourceType : undefined;
37
+ resourceInputs["s3Config"] = args ? args.s3Config : undefined;
38
+ resourceInputs["storageType"] = args ? args.storageType : undefined;
39
+ resourceInputs["associationId"] = undefined /*out*/;
40
+ }
41
+ else {
42
+ resourceInputs["associationId"] = undefined /*out*/;
43
+ resourceInputs["instanceArn"] = undefined /*out*/;
44
+ resourceInputs["kinesisFirehoseConfig"] = undefined /*out*/;
45
+ resourceInputs["kinesisStreamConfig"] = undefined /*out*/;
46
+ resourceInputs["kinesisVideoStreamConfig"] = undefined /*out*/;
47
+ resourceInputs["resourceType"] = undefined /*out*/;
48
+ resourceInputs["s3Config"] = undefined /*out*/;
49
+ resourceInputs["storageType"] = undefined /*out*/;
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(InstanceStorageConfig.__pulumiType, name, resourceInputs, opts);
53
+ }
54
+ /**
55
+ * Get an existing InstanceStorageConfig 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 opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name, id, opts) {
63
+ return new InstanceStorageConfig(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
64
+ }
65
+ /**
66
+ * Returns true if the given object is an instance of InstanceStorageConfig. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === InstanceStorageConfig.__pulumiType;
74
+ }
75
+ }
76
+ exports.InstanceStorageConfig = InstanceStorageConfig;
77
+ /** @internal */
78
+ InstanceStorageConfig.__pulumiType = 'aws-native:connect:InstanceStorageConfig';
79
+ //# sourceMappingURL=instanceStorageConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceStorageConfig.js","sourceRoot":"","sources":["../../connect/instanceStorageConfig.ts"],"names":[],"mappings":";AAAA,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SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AAzBL,sDAgFC;AAnEG,gBAAgB;AACO,kCAAY,GAAG,0CAA0C,CAAC"}
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
4
  * Resource Type definition for AWS::EC2::CustomerGateway
5
- *
6
- * @deprecated CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
7
5
  */
8
6
  export declare class CustomerGateway extends pulumi.CustomResource {
9
7
  /**
@@ -20,9 +18,25 @@ export declare class CustomerGateway extends pulumi.CustomResource {
20
18
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
19
  */
22
20
  static isInstance(obj: any): obj is CustomerGateway;
21
+ /**
22
+ * For devices that support BGP, the customer gateway's BGP ASN.
23
+ */
23
24
  readonly bgpAsn: pulumi.Output<number>;
25
+ /**
26
+ * CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
27
+ */
28
+ readonly customerGatewayId: pulumi.Output<string>;
29
+ /**
30
+ * The internet-routable IP address for the customer gateway's outside interface. The address must be static.
31
+ */
24
32
  readonly ipAddress: pulumi.Output<string>;
33
+ /**
34
+ * One or more tags for the customer gateway.
35
+ */
25
36
  readonly tags: pulumi.Output<outputs.ec2.CustomerGatewayTag[] | undefined>;
37
+ /**
38
+ * The type of VPN connection that this customer gateway supports.
39
+ */
26
40
  readonly type: pulumi.Output<string>;
27
41
  /**
28
42
  * Create a CustomerGateway resource with the given unique name, arguments, and options.
@@ -31,15 +45,26 @@ export declare class CustomerGateway extends pulumi.CustomResource {
31
45
  * @param args The arguments to use to populate this resource's properties.
32
46
  * @param opts A bag of options that control this resource's behavior.
33
47
  */
34
- /** @deprecated CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
35
48
  constructor(name: string, args: CustomerGatewayArgs, opts?: pulumi.CustomResourceOptions);
36
49
  }
37
50
  /**
38
51
  * The set of arguments for constructing a CustomerGateway resource.
39
52
  */
40
53
  export interface CustomerGatewayArgs {
54
+ /**
55
+ * For devices that support BGP, the customer gateway's BGP ASN.
56
+ */
41
57
  bgpAsn: pulumi.Input<number>;
58
+ /**
59
+ * The internet-routable IP address for the customer gateway's outside interface. The address must be static.
60
+ */
42
61
  ipAddress: pulumi.Input<string>;
62
+ /**
63
+ * One or more tags for the customer gateway.
64
+ */
43
65
  tags?: pulumi.Input<pulumi.Input<inputs.ec2.CustomerGatewayTagArgs>[]>;
66
+ /**
67
+ * The type of VPN connection that this customer gateway supports.
68
+ */
44
69
  type: pulumi.Input<string>;
45
70
  }
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Resource Type definition for AWS::EC2::CustomerGateway
10
- *
11
- * @deprecated CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
12
10
  */
13
11
  class CustomerGateway extends pulumi.CustomResource {
14
12
  /**
@@ -18,9 +16,7 @@ class CustomerGateway extends pulumi.CustomResource {
18
16
  * @param args The arguments to use to populate this resource's properties.
19
17
  * @param opts A bag of options that control this resource's behavior.
20
18
  */
21
- /** @deprecated CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
22
19
  constructor(name, args, opts) {
23
- pulumi.log.warn("CustomerGateway is deprecated: CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
24
20
  let resourceInputs = {};
25
21
  opts = opts || {};
26
22
  if (!opts.id) {
@@ -37,9 +33,11 @@ class CustomerGateway extends pulumi.CustomResource {
37
33
  resourceInputs["ipAddress"] = args ? args.ipAddress : undefined;
38
34
  resourceInputs["tags"] = args ? args.tags : undefined;
39
35
  resourceInputs["type"] = args ? args.type : undefined;
36
+ resourceInputs["customerGatewayId"] = undefined /*out*/;
40
37
  }
41
38
  else {
42
39
  resourceInputs["bgpAsn"] = undefined /*out*/;
40
+ resourceInputs["customerGatewayId"] = undefined /*out*/;
43
41
  resourceInputs["ipAddress"] = undefined /*out*/;
44
42
  resourceInputs["tags"] = undefined /*out*/;
45
43
  resourceInputs["type"] = undefined /*out*/;
@@ -56,7 +54,6 @@ class CustomerGateway extends pulumi.CustomResource {
56
54
  * @param opts Optional settings to control the behavior of the CustomResource.
57
55
  */
58
56
  static get(name, id, opts) {
59
- pulumi.log.warn("CustomerGateway is deprecated: CustomerGateway is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
60
57
  return new CustomerGateway(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
61
58
  }
62
59
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"customerGateway.js","sourceRoot":"","sources":["../../ec2/customerGateway.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAiCtD;;;;;;OAMG;IACH,6JAA6J;IAC7J,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,2KAA2K,CAAC,CAAA;QAC5L,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,I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IAAI,CAAC,CAAC;IACpE,CAAC;IAjFD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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;;AAzBL,0CAmFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,gCAAgC,CAAC"}
@@ -5,13 +5,25 @@ import { output as outputs } from "../types";
5
5
  */
6
6
  export declare function getCustomerGateway(args: GetCustomerGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomerGatewayResult>;
7
7
  export interface GetCustomerGatewayArgs {
8
- id: string;
8
+ /**
9
+ * CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
10
+ */
11
+ customerGatewayId: string;
9
12
  }
10
13
  export interface GetCustomerGatewayResult {
11
- readonly id?: string;
14
+ /**
15
+ * CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
16
+ */
17
+ readonly customerGatewayId?: string;
18
+ /**
19
+ * One or more tags for the customer gateway.
20
+ */
12
21
  readonly tags?: outputs.ec2.CustomerGatewayTag[];
13
22
  }
14
23
  export declare function getCustomerGatewayOutput(args: GetCustomerGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomerGatewayResult>;
15
24
  export interface GetCustomerGatewayOutputArgs {
16
- id: pulumi.Input<string>;
25
+ /**
26
+ * CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
27
+ */
28
+ customerGatewayId: pulumi.Input<string>;
17
29
  }
@@ -14,7 +14,7 @@ function getCustomerGateway(args, opts) {
14
14
  }
15
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
16
  return pulumi.runtime.invoke("aws-native:ec2:getCustomerGateway", {
17
- "id": args.id,
17
+ "customerGatewayId": args.customerGatewayId,
18
18
  }, opts);
19
19
  }
20
20
  exports.getCustomerGateway = getCustomerGateway;
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomerGateway.js","sourceRoot":"","sources":["../../ec2/getCustomerGateway.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC;AAWD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"getCustomerGateway.js","sourceRoot":"","sources":["../../ec2/getCustomerGateway.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC;AAoBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws-native",
3
- "version": "v0.22.0",
3
+ "version": "v0.22.1-alpha.1661750811+380bba38",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -13,7 +13,7 @@
13
13
  "license": "Apache-2.0",
14
14
  "scripts": {
15
15
  "build": "tsc",
16
- "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.22.0"
16
+ "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.22.1-alpha.1661750811+380bba38"
17
17
  },
18
18
  "dependencies": {
19
19
  "@pulumi/pulumi": "^3.0.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws-native",
3
- "version": "v0.22.0",
3
+ "version": "v0.22.1-alpha.1661750811+380bba38",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -13,7 +13,7 @@
13
13
  "license": "Apache-2.0",
14
14
  "scripts": {
15
15
  "build": "tsc",
16
- "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.22.0"
16
+ "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.22.1-alpha.1661750811+380bba38"
17
17
  },
18
18
  "dependencies": {
19
19
  "@pulumi/pulumi": "^3.0.0",
@@ -68,6 +68,35 @@ export declare const InstanceStatus: {
68
68
  * Specifies the creation status of new instance.
69
69
  */
70
70
  export declare type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus];
71
+ export declare const InstanceStorageConfigEncryptionType: {
72
+ readonly Kms: "KMS";
73
+ };
74
+ /**
75
+ * Specifies default encryption using AWS KMS-Managed Keys
76
+ */
77
+ export declare type InstanceStorageConfigEncryptionType = (typeof InstanceStorageConfigEncryptionType)[keyof typeof InstanceStorageConfigEncryptionType];
78
+ export declare const InstanceStorageConfigInstanceStorageResourceType: {
79
+ readonly ChatTranscripts: "CHAT_TRANSCRIPTS";
80
+ readonly CallRecordings: "CALL_RECORDINGS";
81
+ readonly ScheduledReports: "SCHEDULED_REPORTS";
82
+ readonly MediaStreams: "MEDIA_STREAMS";
83
+ readonly ContactTraceRecords: "CONTACT_TRACE_RECORDS";
84
+ readonly AgentEvents: "AGENT_EVENTS";
85
+ };
86
+ /**
87
+ * Specifies the type of storage resource available for the instance
88
+ */
89
+ export declare type InstanceStorageConfigInstanceStorageResourceType = (typeof InstanceStorageConfigInstanceStorageResourceType)[keyof typeof InstanceStorageConfigInstanceStorageResourceType];
90
+ export declare const InstanceStorageConfigStorageType: {
91
+ readonly S3: "S3";
92
+ readonly KinesisVideoStream: "KINESIS_VIDEO_STREAM";
93
+ readonly KinesisStream: "KINESIS_STREAM";
94
+ readonly KinesisFirehose: "KINESIS_FIREHOSE";
95
+ };
96
+ /**
97
+ * Specifies the storage type to be associated with the instance
98
+ */
99
+ export declare type InstanceStorageConfigStorageType = (typeof InstanceStorageConfigStorageType)[keyof typeof InstanceStorageConfigStorageType];
71
100
  export declare const QuickConnectType: {
72
101
  readonly PhoneNumber: "PHONE_NUMBER";
73
102
  readonly Queue: "QUEUE";
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.UserPhoneType = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.QuickConnectType = exports.InstanceStatus = exports.InstanceIdentityManagementType = exports.HoursOfOperationConfigDay = exports.ContactFlowType = exports.ContactFlowState = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = void 0;
5
+ exports.UserPhoneType = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.QuickConnectType = exports.InstanceStorageConfigStorageType = exports.InstanceStorageConfigInstanceStorageResourceType = exports.InstanceStorageConfigEncryptionType = exports.InstanceStatus = exports.InstanceIdentityManagementType = exports.HoursOfOperationConfigDay = exports.ContactFlowType = exports.ContactFlowState = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = void 0;
6
6
  exports.ContactFlowModuleState = {
7
7
  Active: "ACTIVE",
8
8
  Archived: "ARCHIVED",
@@ -45,6 +45,23 @@ exports.InstanceStatus = {
45
45
  CreationFailed: "CREATION_FAILED",
46
46
  Active: "ACTIVE",
47
47
  };
48
+ exports.InstanceStorageConfigEncryptionType = {
49
+ Kms: "KMS",
50
+ };
51
+ exports.InstanceStorageConfigInstanceStorageResourceType = {
52
+ ChatTranscripts: "CHAT_TRANSCRIPTS",
53
+ CallRecordings: "CALL_RECORDINGS",
54
+ ScheduledReports: "SCHEDULED_REPORTS",
55
+ MediaStreams: "MEDIA_STREAMS",
56
+ ContactTraceRecords: "CONTACT_TRACE_RECORDS",
57
+ AgentEvents: "AGENT_EVENTS",
58
+ };
59
+ exports.InstanceStorageConfigStorageType = {
60
+ S3: "S3",
61
+ KinesisVideoStream: "KINESIS_VIDEO_STREAM",
62
+ KinesisStream: "KINESIS_STREAM",
63
+ KinesisFirehose: "KINESIS_FIREHOSE",
64
+ };
48
65
  exports.QuickConnectType = {
49
66
  PhoneNumber: "PHONE_NUMBER",
50
67
  Queue: "QUEUE",
@@ -1 +1 @@
1
- {"version":3,"file":"index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,QAAQ,EAAE,UAAU;CACd,CAAC;AAOE,QAAA,aAAa,GAAG;IACzB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;CACjB,CAAC"}
package/types/input.d.ts CHANGED
@@ -6471,6 +6471,26 @@ export declare namespace connect {
6471
6471
  outboundCalls: pulumi.Input<boolean>;
6472
6472
  useCustomTTSVoices?: pulumi.Input<boolean>;
6473
6473
  }
6474
+ interface InstanceStorageConfigEncryptionConfigArgs {
6475
+ encryptionType: pulumi.Input<enums.connect.InstanceStorageConfigEncryptionType>;
6476
+ keyId: pulumi.Input<string>;
6477
+ }
6478
+ interface InstanceStorageConfigKinesisFirehoseConfigArgs {
6479
+ firehoseArn: pulumi.Input<string>;
6480
+ }
6481
+ interface InstanceStorageConfigKinesisStreamConfigArgs {
6482
+ streamArn: pulumi.Input<string>;
6483
+ }
6484
+ interface InstanceStorageConfigKinesisVideoStreamConfigArgs {
6485
+ encryptionConfig?: pulumi.Input<inputs.connect.InstanceStorageConfigEncryptionConfigArgs>;
6486
+ prefix: pulumi.Input<string>;
6487
+ retentionPeriodHours: pulumi.Input<number>;
6488
+ }
6489
+ interface InstanceStorageConfigS3ConfigArgs {
6490
+ bucketName: pulumi.Input<string>;
6491
+ bucketPrefix: pulumi.Input<string>;
6492
+ encryptionConfig?: pulumi.Input<inputs.connect.InstanceStorageConfigEncryptionConfigArgs>;
6493
+ }
6474
6494
  /**
6475
6495
  * A key-value pair to associate with a resource.
6476
6496
  */
package/types/output.d.ts CHANGED
@@ -6518,6 +6518,26 @@ export declare namespace connect {
6518
6518
  outboundCalls: boolean;
6519
6519
  useCustomTTSVoices?: boolean;
6520
6520
  }
6521
+ interface InstanceStorageConfigEncryptionConfig {
6522
+ encryptionType: enums.connect.InstanceStorageConfigEncryptionType;
6523
+ keyId: string;
6524
+ }
6525
+ interface InstanceStorageConfigKinesisFirehoseConfig {
6526
+ firehoseArn: string;
6527
+ }
6528
+ interface InstanceStorageConfigKinesisStreamConfig {
6529
+ streamArn: string;
6530
+ }
6531
+ interface InstanceStorageConfigKinesisVideoStreamConfig {
6532
+ encryptionConfig?: outputs.connect.InstanceStorageConfigEncryptionConfig;
6533
+ prefix: string;
6534
+ retentionPeriodHours: number;
6535
+ }
6536
+ interface InstanceStorageConfigS3Config {
6537
+ bucketName: string;
6538
+ bucketPrefix: string;
6539
+ encryptionConfig?: outputs.connect.InstanceStorageConfigEncryptionConfig;
6540
+ }
6521
6541
  /**
6522
6542
  * A key-value pair to associate with a resource.
6523
6543
  */