@pulumi/aws 5.5.0 → 5.7.0-alpha.1653989347
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/autoscaling/getAmiIds.d.ts +8 -0
- package/autoscaling/getAmiIds.js +1 -0
- package/autoscaling/getAmiIds.js.map +1 -1
- package/autoscaling/group.d.ts +49 -0
- package/autoscaling/group.js +39 -0
- package/autoscaling/group.js.map +1 -1
- package/autoscaling/policy.d.ts +12 -0
- package/autoscaling/policy.js +2 -0
- package/autoscaling/policy.js.map +1 -1
- package/cloudfront/getResponseHeadersPolicy.d.ts +4 -0
- package/cloudfront/getResponseHeadersPolicy.js.map +1 -1
- package/cloudfront/responseHeadersPolicy.d.ts +33 -0
- package/cloudfront/responseHeadersPolicy.js +23 -0
- package/cloudfront/responseHeadersPolicy.js.map +1 -1
- package/cloudsearch/domain.d.ts +1 -0
- package/cloudsearch/domain.js +1 -0
- package/cloudsearch/domain.js.map +1 -1
- package/cloudwatch/metricStream.d.ts +44 -0
- package/cloudwatch/metricStream.js +34 -0
- package/cloudwatch/metricStream.js.map +1 -1
- package/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/connect/instance.d.ts +1 -1
- package/connect/instance.js +1 -1
- package/datasync/locationHdfs.d.ts +4 -4
- package/datasync/locationHdfs.js +1 -1
- package/ec2/ami.d.ts +15 -3
- package/ec2/ami.js +2 -0
- package/ec2/ami.js.map +1 -1
- package/ec2/amiCopy.d.ts +11 -3
- package/ec2/amiCopy.js +2 -0
- package/ec2/amiCopy.js.map +1 -1
- package/ec2/amiFromInstance.d.ts +8 -0
- package/ec2/amiFromInstance.js +2 -0
- package/ec2/amiFromInstance.js.map +1 -1
- package/ec2/fleet.d.ts +8 -0
- package/ec2/fleet.js +2 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/getAmi.d.ts +4 -0
- package/ec2/getAmi.js.map +1 -1
- package/ecr/registryScanningConfiguration.d.ts +1 -1
- package/ecr/registryScanningConfiguration.js +1 -1
- package/efs/index.d.ts +1 -0
- package/efs/index.js +5 -0
- package/efs/index.js.map +1 -1
- package/efs/replicationConfiguration.d.ts +143 -0
- package/efs/replicationConfiguration.js +111 -0
- package/efs/replicationConfiguration.js.map +1 -0
- package/elasticache/globalReplicationGroup.d.ts +51 -31
- package/elasticache/globalReplicationGroup.js +4 -31
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +1 -1
- package/getAmi.d.ts +4 -0
- package/getAmi.js.map +1 -1
- package/getAutoscalingGroups.d.ts +8 -0
- package/getAutoscalingGroups.js +1 -0
- package/getAutoscalingGroups.js.map +1 -1
- package/keyspaces/index.d.ts +1 -0
- package/keyspaces/index.js +5 -0
- package/keyspaces/index.js.map +1 -1
- package/keyspaces/keyspace.d.ts +3 -3
- package/keyspaces/keyspace.js +1 -1
- package/keyspaces/table.d.ts +223 -0
- package/keyspaces/table.js +114 -0
- package/keyspaces/table.js.map +1 -0
- package/lb/getHostedZoneId.d.ts +64 -0
- package/lb/getHostedZoneId.js +46 -0
- package/lb/getHostedZoneId.js.map +1 -0
- package/lb/index.d.ts +1 -0
- package/lb/index.js +1 -0
- package/lb/index.js.map +1 -1
- package/location/getPlaceIndex.d.ts +88 -0
- package/location/getPlaceIndex.js +37 -0
- package/location/getPlaceIndex.js.map +1 -0
- package/location/index.d.ts +2 -0
- package/location/index.js +6 -0
- package/location/index.js.map +1 -1
- package/location/placeIndex.d.ts +150 -0
- package/location/placeIndex.js +94 -0
- package/location/placeIndex.js.map +1 -0
- package/msk/cluster.d.ts +35 -1
- package/msk/cluster.js +35 -1
- package/msk/cluster.js.map +1 -1
- package/networkmanager/getCoreNetworkPolicyDocument.d.ts +146 -0
- package/networkmanager/getCoreNetworkPolicyDocument.js +106 -0
- package/networkmanager/getCoreNetworkPolicyDocument.js.map +1 -0
- package/networkmanager/index.d.ts +1 -0
- package/networkmanager/index.js +1 -0
- package/networkmanager/index.js.map +1 -1
- package/organizations/account.d.ts +20 -9
- package/organizations/account.js +4 -0
- package/organizations/account.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/rds/cluster.d.ts +30 -0
- package/rds/cluster.js +30 -0
- package/rds/cluster.js.map +1 -1
- package/rds/index.d.ts +1 -0
- package/rds/index.js +5 -0
- package/rds/index.js.map +1 -1
- package/rds/snapshotCopy.d.ts +299 -0
- package/rds/snapshotCopy.js +138 -0
- package/rds/snapshotCopy.js.map +1 -0
- package/redshift/authenticationProfile.d.ts +87 -0
- package/redshift/authenticationProfile.js +84 -0
- package/redshift/authenticationProfile.js.map +1 -0
- package/redshift/cluster.d.ts +69 -9
- package/redshift/cluster.js +10 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/endpointAccess.d.ts +145 -0
- package/redshift/endpointAccess.js +96 -0
- package/redshift/endpointAccess.js.map +1 -0
- package/redshift/eventSubscription.d.ts +15 -15
- package/redshift/getCluster.d.ts +33 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/getSubnetGroup.d.ts +75 -0
- package/redshift/getSubnetGroup.js +37 -0
- package/redshift/getSubnetGroup.js.map +1 -0
- package/redshift/hsmClientCertificate.d.ts +122 -0
- package/redshift/hsmClientCertificate.js +82 -0
- package/redshift/hsmClientCertificate.js.map +1 -0
- package/redshift/index.d.ts +5 -0
- package/redshift/index.js +21 -0
- package/redshift/index.js.map +1 -1
- package/redshift/usageLimit.d.ts +177 -0
- package/redshift/usageLimit.js +102 -0
- package/redshift/usageLimit.js.map +1 -0
- package/route53/getResolverRules.d.ts +27 -2
- package/route53/getResolverRules.js +15 -2
- package/route53/getResolverRules.js.map +1 -1
- package/s3/bucketObjectv2.js +2 -0
- package/s3/bucketObjectv2.js.map +1 -1
- package/s3/bucketV2.d.ts +1 -1
- package/s3/bucketV2.js +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +42 -1
- package/s3/bucketWebsiteConfigurationV2.js +28 -0
- package/s3/bucketWebsiteConfigurationV2.js.map +1 -1
- package/secretsmanager/getSecretVersion.d.ts +1 -1
- package/transfer/server.d.ts +3 -3
- package/types/input.d.ts +1112 -247
- package/types/output.d.ts +768 -27
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Location Service Place Index.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = new aws.location.PlaceIndex("example", {
|
|
13
|
+
* dataSource: "Here",
|
|
14
|
+
* indexName: "example",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* `aws_location_place_index` resources can be imported using the place index name, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:location/placeIndex:PlaceIndex example example
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class PlaceIndex extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing PlaceIndex 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?: PlaceIndexState, opts?: pulumi.CustomResourceOptions): PlaceIndex;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of PlaceIndex. 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 PlaceIndex;
|
|
42
|
+
/**
|
|
43
|
+
* The timestamp for when the place index resource was created in ISO 8601 format.
|
|
44
|
+
*/
|
|
45
|
+
readonly createTime: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the geospatial data provider for the new place index.
|
|
48
|
+
*/
|
|
49
|
+
readonly dataSource: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Configuration block with the data storage option chosen for requesting Places. Detailed below.
|
|
52
|
+
*/
|
|
53
|
+
readonly dataSourceConfiguration: pulumi.Output<outputs.location.PlaceIndexDataSourceConfiguration>;
|
|
54
|
+
/**
|
|
55
|
+
* The optional description for the place index resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
|
|
60
|
+
*/
|
|
61
|
+
readonly indexArn: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the place index resource.
|
|
64
|
+
*/
|
|
65
|
+
readonly indexName: pulumi.Output<string>;
|
|
66
|
+
readonly tags: pulumi.Output<{
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
} | undefined>;
|
|
69
|
+
readonly tagsAll: pulumi.Output<{
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
}>;
|
|
72
|
+
/**
|
|
73
|
+
* The timestamp for when the place index resource was last update in ISO 8601.
|
|
74
|
+
*/
|
|
75
|
+
readonly updateTime: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Create a PlaceIndex resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name: string, args: PlaceIndexArgs, opts?: pulumi.CustomResourceOptions);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Input properties used for looking up and filtering PlaceIndex resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface PlaceIndexState {
|
|
89
|
+
/**
|
|
90
|
+
* The timestamp for when the place index resource was created in ISO 8601 format.
|
|
91
|
+
*/
|
|
92
|
+
createTime?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Specifies the geospatial data provider for the new place index.
|
|
95
|
+
*/
|
|
96
|
+
dataSource?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Configuration block with the data storage option chosen for requesting Places. Detailed below.
|
|
99
|
+
*/
|
|
100
|
+
dataSourceConfiguration?: pulumi.Input<inputs.location.PlaceIndexDataSourceConfiguration>;
|
|
101
|
+
/**
|
|
102
|
+
* The optional description for the place index resource.
|
|
103
|
+
*/
|
|
104
|
+
description?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS.
|
|
107
|
+
*/
|
|
108
|
+
indexArn?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of the place index resource.
|
|
111
|
+
*/
|
|
112
|
+
indexName?: pulumi.Input<string>;
|
|
113
|
+
tags?: pulumi.Input<{
|
|
114
|
+
[key: string]: pulumi.Input<string>;
|
|
115
|
+
}>;
|
|
116
|
+
tagsAll?: pulumi.Input<{
|
|
117
|
+
[key: string]: pulumi.Input<string>;
|
|
118
|
+
}>;
|
|
119
|
+
/**
|
|
120
|
+
* The timestamp for when the place index resource was last update in ISO 8601.
|
|
121
|
+
*/
|
|
122
|
+
updateTime?: pulumi.Input<string>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The set of arguments for constructing a PlaceIndex resource.
|
|
126
|
+
*/
|
|
127
|
+
export interface PlaceIndexArgs {
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the geospatial data provider for the new place index.
|
|
130
|
+
*/
|
|
131
|
+
dataSource: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Configuration block with the data storage option chosen for requesting Places. Detailed below.
|
|
134
|
+
*/
|
|
135
|
+
dataSourceConfiguration?: pulumi.Input<inputs.location.PlaceIndexDataSourceConfiguration>;
|
|
136
|
+
/**
|
|
137
|
+
* The optional description for the place index resource.
|
|
138
|
+
*/
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the place index resource.
|
|
142
|
+
*/
|
|
143
|
+
indexName: pulumi.Input<string>;
|
|
144
|
+
tags?: pulumi.Input<{
|
|
145
|
+
[key: string]: pulumi.Input<string>;
|
|
146
|
+
}>;
|
|
147
|
+
tagsAll?: pulumi.Input<{
|
|
148
|
+
[key: string]: pulumi.Input<string>;
|
|
149
|
+
}>;
|
|
150
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.PlaceIndex = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Location Service Place Index.
|
|
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.location.PlaceIndex("example", {
|
|
18
|
+
* dataSource: "Here",
|
|
19
|
+
* indexName: "example",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* `aws_location_place_index` resources can be imported using the place index name, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:location/placeIndex:PlaceIndex example example
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class PlaceIndex extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let resourceInputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
38
|
+
resourceInputs["dataSource"] = state ? state.dataSource : undefined;
|
|
39
|
+
resourceInputs["dataSourceConfiguration"] = state ? state.dataSourceConfiguration : undefined;
|
|
40
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
41
|
+
resourceInputs["indexArn"] = state ? state.indexArn : undefined;
|
|
42
|
+
resourceInputs["indexName"] = state ? state.indexName : undefined;
|
|
43
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
44
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
45
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.dataSource === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'dataSource'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.indexName === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'indexName'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["dataSource"] = args ? args.dataSource : undefined;
|
|
56
|
+
resourceInputs["dataSourceConfiguration"] = args ? args.dataSourceConfiguration : undefined;
|
|
57
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
58
|
+
resourceInputs["indexName"] = args ? args.indexName : undefined;
|
|
59
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
60
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
61
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["indexArn"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
64
|
+
}
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
super(PlaceIndex.__pulumiType, name, resourceInputs, opts);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing PlaceIndex resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new PlaceIndex(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of PlaceIndex. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === PlaceIndex.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.PlaceIndex = PlaceIndex;
|
|
92
|
+
/** @internal */
|
|
93
|
+
PlaceIndex.__pulumiType = 'aws:location/placeIndex:PlaceIndex';
|
|
94
|
+
//# sourceMappingURL=placeIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"placeIndex.js","sourceRoot":"","sources":["../../location/placeIndex.ts"],"names":[],"mappings":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S,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAsGC;AAxFG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/msk/cluster.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
4
4
|
* Manages AWS Managed Streaming for Kafka cluster
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
|
+
* ### Basic
|
|
7
8
|
*
|
|
8
9
|
* ```typescript
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -65,12 +66,16 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
65
66
|
* numberOfBrokerNodes: 3,
|
|
66
67
|
* brokerNodeGroupInfo: {
|
|
67
68
|
* instanceType: "kafka.m5.large",
|
|
68
|
-
* ebsVolumeSize: 1000,
|
|
69
69
|
* clientSubnets: [
|
|
70
70
|
* subnetAz1.id,
|
|
71
71
|
* subnetAz2.id,
|
|
72
72
|
* subnetAz3.id,
|
|
73
73
|
* ],
|
|
74
|
+
* storageInfo: {
|
|
75
|
+
* ebsStorageInfo: {
|
|
76
|
+
* volumeSize: 1000,
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
74
79
|
* securityGroups: [sg.id],
|
|
75
80
|
* },
|
|
76
81
|
* encryptionInfo: {
|
|
@@ -110,6 +115,35 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
110
115
|
* export const zookeeperConnectString = example.zookeeperConnectString;
|
|
111
116
|
* export const bootstrapBrokersTls = example.bootstrapBrokersTls;
|
|
112
117
|
* ```
|
|
118
|
+
* ### With volumeThroughput argument
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as aws from "@pulumi/aws";
|
|
123
|
+
*
|
|
124
|
+
* const example = new aws.msk.Cluster("example", {
|
|
125
|
+
* kafkaVersion: "2.7.1",
|
|
126
|
+
* numberOfBrokerNodes: 3,
|
|
127
|
+
* brokerNodeGroupInfo: {
|
|
128
|
+
* instanceType: "kafka.m5.4xlarge",
|
|
129
|
+
* clientSubnets: [
|
|
130
|
+
* aws_subnet.subnet_az1.id,
|
|
131
|
+
* aws_subnet.subnet_az2.id,
|
|
132
|
+
* aws_subnet.subnet_az3.id,
|
|
133
|
+
* ],
|
|
134
|
+
* storageInfo: {
|
|
135
|
+
* ebsStorageInfo: {
|
|
136
|
+
* provisionedThroughput: {
|
|
137
|
+
* enabled: true,
|
|
138
|
+
* volumeThroughput: 250,
|
|
139
|
+
* },
|
|
140
|
+
* volumeSize: 1000,
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* securityGroups: [aws_security_group.sg.id],
|
|
144
|
+
* },
|
|
145
|
+
* });
|
|
146
|
+
* ```
|
|
113
147
|
*
|
|
114
148
|
* ## Import
|
|
115
149
|
*
|
package/msk/cluster.js
CHANGED
|
@@ -9,6 +9,7 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Manages AWS Managed Streaming for Kafka cluster
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
* ### Basic
|
|
12
13
|
*
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -70,12 +71,16 @@ const utilities = require("../utilities");
|
|
|
70
71
|
* numberOfBrokerNodes: 3,
|
|
71
72
|
* brokerNodeGroupInfo: {
|
|
72
73
|
* instanceType: "kafka.m5.large",
|
|
73
|
-
* ebsVolumeSize: 1000,
|
|
74
74
|
* clientSubnets: [
|
|
75
75
|
* subnetAz1.id,
|
|
76
76
|
* subnetAz2.id,
|
|
77
77
|
* subnetAz3.id,
|
|
78
78
|
* ],
|
|
79
|
+
* storageInfo: {
|
|
80
|
+
* ebsStorageInfo: {
|
|
81
|
+
* volumeSize: 1000,
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
79
84
|
* securityGroups: [sg.id],
|
|
80
85
|
* },
|
|
81
86
|
* encryptionInfo: {
|
|
@@ -115,6 +120,35 @@ const utilities = require("../utilities");
|
|
|
115
120
|
* export const zookeeperConnectString = example.zookeeperConnectString;
|
|
116
121
|
* export const bootstrapBrokersTls = example.bootstrapBrokersTls;
|
|
117
122
|
* ```
|
|
123
|
+
* ### With volumeThroughput argument
|
|
124
|
+
*
|
|
125
|
+
* ```typescript
|
|
126
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
127
|
+
* import * as aws from "@pulumi/aws";
|
|
128
|
+
*
|
|
129
|
+
* const example = new aws.msk.Cluster("example", {
|
|
130
|
+
* kafkaVersion: "2.7.1",
|
|
131
|
+
* numberOfBrokerNodes: 3,
|
|
132
|
+
* brokerNodeGroupInfo: {
|
|
133
|
+
* instanceType: "kafka.m5.4xlarge",
|
|
134
|
+
* clientSubnets: [
|
|
135
|
+
* aws_subnet.subnet_az1.id,
|
|
136
|
+
* aws_subnet.subnet_az2.id,
|
|
137
|
+
* aws_subnet.subnet_az3.id,
|
|
138
|
+
* ],
|
|
139
|
+
* storageInfo: {
|
|
140
|
+
* ebsStorageInfo: {
|
|
141
|
+
* provisionedThroughput: {
|
|
142
|
+
* enabled: true,
|
|
143
|
+
* volumeThroughput: 250,
|
|
144
|
+
* },
|
|
145
|
+
* volumeSize: 1000,
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* securityGroups: [aws_security_group.sg.id],
|
|
149
|
+
* },
|
|
150
|
+
* });
|
|
151
|
+
* ```
|
|
118
152
|
*
|
|
119
153
|
* ## Import
|
|
120
154
|
*
|
package/msk/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../msk/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../msk/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAkI9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG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AAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAlMD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAoMC;AAtLG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
* ### Basic Example
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const test = pulumi.output(aws.networkmanager.getCoreNetworkPolicyDocument({
|
|
12
|
+
* attachmentPolicies: [
|
|
13
|
+
* {
|
|
14
|
+
* action: {
|
|
15
|
+
* associationMethod: "constant",
|
|
16
|
+
* segment: "shared",
|
|
17
|
+
* },
|
|
18
|
+
* conditionLogic: "or",
|
|
19
|
+
* conditions: [{
|
|
20
|
+
* key: "segment",
|
|
21
|
+
* operator: "equals",
|
|
22
|
+
* type: "tag-value",
|
|
23
|
+
* value: "shared",
|
|
24
|
+
* }],
|
|
25
|
+
* ruleNumber: 100,
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* action: {
|
|
29
|
+
* associationMethod: "constant",
|
|
30
|
+
* segment: "prod",
|
|
31
|
+
* },
|
|
32
|
+
* conditionLogic: "or",
|
|
33
|
+
* conditions: [{
|
|
34
|
+
* key: "segment",
|
|
35
|
+
* operator: "equals",
|
|
36
|
+
* type: "tag-value",
|
|
37
|
+
* value: "prod",
|
|
38
|
+
* }],
|
|
39
|
+
* ruleNumber: 200,
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* coreNetworkConfigurations: [{
|
|
43
|
+
* asnRanges: ["64512-64555"],
|
|
44
|
+
* edgeLocations: [
|
|
45
|
+
* {
|
|
46
|
+
* asn: 64512,
|
|
47
|
+
* location: "us-east-1",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* asn: 64513,
|
|
51
|
+
* location: "eu-central-1",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* vpnEcmpSupport: false,
|
|
55
|
+
* }],
|
|
56
|
+
* segmentActions: [{
|
|
57
|
+
* action: "share",
|
|
58
|
+
* mode: "attachment-route",
|
|
59
|
+
* segment: "shared",
|
|
60
|
+
* shareWiths: ["*"],
|
|
61
|
+
* }],
|
|
62
|
+
* segments: [
|
|
63
|
+
* {
|
|
64
|
+
* description: "Segment for shared services",
|
|
65
|
+
* name: "shared",
|
|
66
|
+
* requireAttachmentAcceptance: true,
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* description: "Segment for prod services",
|
|
70
|
+
* name: "prod",
|
|
71
|
+
* requireAttachmentAcceptance: true,
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* }));
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to:
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare function getCoreNetworkPolicyDocument(args: GetCoreNetworkPolicyDocumentArgs, opts?: pulumi.InvokeOptions): Promise<GetCoreNetworkPolicyDocumentResult>;
|
|
84
|
+
/**
|
|
85
|
+
* A collection of arguments for invoking getCoreNetworkPolicyDocument.
|
|
86
|
+
*/
|
|
87
|
+
export interface GetCoreNetworkPolicyDocumentArgs {
|
|
88
|
+
/**
|
|
89
|
+
* In a core network, all attachments use the block argument `attachmentPolicies` section to map an attachment to a segment. Instead of manually associating a segment to each attachment, attachments use tags, and then the tags are used to associate the attachment to the specified segment. Detailed below.
|
|
90
|
+
*/
|
|
91
|
+
attachmentPolicies?: inputs.networkmanager.GetCoreNetworkPolicyDocumentAttachmentPolicy[];
|
|
92
|
+
/**
|
|
93
|
+
* The core network configuration section defines the Regions where a core network should operate. For AWS Regions that are defined in the policy, the core network creates a Core Network Edge where you can connect attachments. After it's created, each Core Network Edge is peered with every other defined Region and is configured with consistent segment and routing across all Regions. Regions cannot be removed until the associated attachments are deleted. Detailed below.
|
|
94
|
+
*/
|
|
95
|
+
coreNetworkConfigurations: inputs.networkmanager.GetCoreNetworkPolicyDocumentCoreNetworkConfiguration[];
|
|
96
|
+
/**
|
|
97
|
+
* A block argument, `segmentActions` define how routing works between segments. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
|
|
98
|
+
*/
|
|
99
|
+
segmentActions?: inputs.networkmanager.GetCoreNetworkPolicyDocumentSegmentAction[];
|
|
100
|
+
/**
|
|
101
|
+
* A block argument that defines the different segments in the network. Here you can provide descriptions, change defaults, and provide explicit Regional operational and route filters. The names defined for each segment are used in the `segmentActions` and `attachmentPolicies` section. Each segment is created, and operates, as a completely separated routing domain. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
|
|
102
|
+
*/
|
|
103
|
+
segments: inputs.networkmanager.GetCoreNetworkPolicyDocumentSegment[];
|
|
104
|
+
version?: string;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* A collection of values returned by getCoreNetworkPolicyDocument.
|
|
108
|
+
*/
|
|
109
|
+
export interface GetCoreNetworkPolicyDocumentResult {
|
|
110
|
+
readonly attachmentPolicies?: outputs.networkmanager.GetCoreNetworkPolicyDocumentAttachmentPolicy[];
|
|
111
|
+
readonly coreNetworkConfigurations: outputs.networkmanager.GetCoreNetworkPolicyDocumentCoreNetworkConfiguration[];
|
|
112
|
+
/**
|
|
113
|
+
* The provider-assigned unique ID for this managed resource.
|
|
114
|
+
*/
|
|
115
|
+
readonly id: string;
|
|
116
|
+
/**
|
|
117
|
+
* Standard JSON policy document rendered based on the arguments above.
|
|
118
|
+
*/
|
|
119
|
+
readonly json: string;
|
|
120
|
+
readonly segmentActions?: outputs.networkmanager.GetCoreNetworkPolicyDocumentSegmentAction[];
|
|
121
|
+
readonly segments: outputs.networkmanager.GetCoreNetworkPolicyDocumentSegment[];
|
|
122
|
+
readonly version?: string;
|
|
123
|
+
}
|
|
124
|
+
export declare function getCoreNetworkPolicyDocumentOutput(args: GetCoreNetworkPolicyDocumentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCoreNetworkPolicyDocumentResult>;
|
|
125
|
+
/**
|
|
126
|
+
* A collection of arguments for invoking getCoreNetworkPolicyDocument.
|
|
127
|
+
*/
|
|
128
|
+
export interface GetCoreNetworkPolicyDocumentOutputArgs {
|
|
129
|
+
/**
|
|
130
|
+
* In a core network, all attachments use the block argument `attachmentPolicies` section to map an attachment to a segment. Instead of manually associating a segment to each attachment, attachments use tags, and then the tags are used to associate the attachment to the specified segment. Detailed below.
|
|
131
|
+
*/
|
|
132
|
+
attachmentPolicies?: pulumi.Input<pulumi.Input<inputs.networkmanager.GetCoreNetworkPolicyDocumentAttachmentPolicyArgs>[]>;
|
|
133
|
+
/**
|
|
134
|
+
* The core network configuration section defines the Regions where a core network should operate. For AWS Regions that are defined in the policy, the core network creates a Core Network Edge where you can connect attachments. After it's created, each Core Network Edge is peered with every other defined Region and is configured with consistent segment and routing across all Regions. Regions cannot be removed until the associated attachments are deleted. Detailed below.
|
|
135
|
+
*/
|
|
136
|
+
coreNetworkConfigurations: pulumi.Input<pulumi.Input<inputs.networkmanager.GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs>[]>;
|
|
137
|
+
/**
|
|
138
|
+
* A block argument, `segmentActions` define how routing works between segments. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
|
|
139
|
+
*/
|
|
140
|
+
segmentActions?: pulumi.Input<pulumi.Input<inputs.networkmanager.GetCoreNetworkPolicyDocumentSegmentActionArgs>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* A block argument that defines the different segments in the network. Here you can provide descriptions, change defaults, and provide explicit Regional operational and route filters. The names defined for each segment are used in the `segmentActions` and `attachmentPolicies` section. Each segment is created, and operates, as a completely separated routing domain. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
|
|
143
|
+
*/
|
|
144
|
+
segments: pulumi.Input<pulumi.Input<inputs.networkmanager.GetCoreNetworkPolicyDocumentSegmentArgs>[]>;
|
|
145
|
+
version?: pulumi.Input<string>;
|
|
146
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.getCoreNetworkPolicyDocumentOutput = exports.getCoreNetworkPolicyDocument = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic Example
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const test = pulumi.output(aws.networkmanager.getCoreNetworkPolicyDocument({
|
|
17
|
+
* attachmentPolicies: [
|
|
18
|
+
* {
|
|
19
|
+
* action: {
|
|
20
|
+
* associationMethod: "constant",
|
|
21
|
+
* segment: "shared",
|
|
22
|
+
* },
|
|
23
|
+
* conditionLogic: "or",
|
|
24
|
+
* conditions: [{
|
|
25
|
+
* key: "segment",
|
|
26
|
+
* operator: "equals",
|
|
27
|
+
* type: "tag-value",
|
|
28
|
+
* value: "shared",
|
|
29
|
+
* }],
|
|
30
|
+
* ruleNumber: 100,
|
|
31
|
+
* },
|
|
32
|
+
* {
|
|
33
|
+
* action: {
|
|
34
|
+
* associationMethod: "constant",
|
|
35
|
+
* segment: "prod",
|
|
36
|
+
* },
|
|
37
|
+
* conditionLogic: "or",
|
|
38
|
+
* conditions: [{
|
|
39
|
+
* key: "segment",
|
|
40
|
+
* operator: "equals",
|
|
41
|
+
* type: "tag-value",
|
|
42
|
+
* value: "prod",
|
|
43
|
+
* }],
|
|
44
|
+
* ruleNumber: 200,
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* coreNetworkConfigurations: [{
|
|
48
|
+
* asnRanges: ["64512-64555"],
|
|
49
|
+
* edgeLocations: [
|
|
50
|
+
* {
|
|
51
|
+
* asn: 64512,
|
|
52
|
+
* location: "us-east-1",
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* asn: 64513,
|
|
56
|
+
* location: "eu-central-1",
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* vpnEcmpSupport: false,
|
|
60
|
+
* }],
|
|
61
|
+
* segmentActions: [{
|
|
62
|
+
* action: "share",
|
|
63
|
+
* mode: "attachment-route",
|
|
64
|
+
* segment: "shared",
|
|
65
|
+
* shareWiths: ["*"],
|
|
66
|
+
* }],
|
|
67
|
+
* segments: [
|
|
68
|
+
* {
|
|
69
|
+
* description: "Segment for shared services",
|
|
70
|
+
* name: "shared",
|
|
71
|
+
* requireAttachmentAcceptance: true,
|
|
72
|
+
* },
|
|
73
|
+
* {
|
|
74
|
+
* description: "Segment for prod services",
|
|
75
|
+
* name: "prod",
|
|
76
|
+
* requireAttachmentAcceptance: true,
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* }));
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* `data.aws_networkmanager_core_network_policy_document.test.json` will evaluate to:
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
function getCoreNetworkPolicyDocument(args, opts) {
|
|
89
|
+
if (!opts) {
|
|
90
|
+
opts = {};
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
return pulumi.runtime.invoke("aws:networkmanager/getCoreNetworkPolicyDocument:getCoreNetworkPolicyDocument", {
|
|
94
|
+
"attachmentPolicies": args.attachmentPolicies,
|
|
95
|
+
"coreNetworkConfigurations": args.coreNetworkConfigurations,
|
|
96
|
+
"segmentActions": args.segmentActions,
|
|
97
|
+
"segments": args.segments,
|
|
98
|
+
"version": args.version,
|
|
99
|
+
}, opts);
|
|
100
|
+
}
|
|
101
|
+
exports.getCoreNetworkPolicyDocument = getCoreNetworkPolicyDocument;
|
|
102
|
+
function getCoreNetworkPolicyDocumentOutput(args, opts) {
|
|
103
|
+
return pulumi.output(args).apply(a => getCoreNetworkPolicyDocument(a, opts));
|
|
104
|
+
}
|
|
105
|
+
exports.getCoreNetworkPolicyDocumentOutput = getCoreNetworkPolicyDocumentOutput;
|
|
106
|
+
//# sourceMappingURL=getCoreNetworkPolicyDocument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCoreNetworkPolicyDocument.js","sourceRoot":"","sources":["../../networkmanager/getCoreNetworkPolicyDocument.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,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,8EAA8E,EAAE;QACzG,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oEAaC;AA4CD,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,gFAEC"}
|
|
@@ -3,6 +3,7 @@ export * from "./customerGatewayAssociation";
|
|
|
3
3
|
export * from "./device";
|
|
4
4
|
export * from "./getConnection";
|
|
5
5
|
export * from "./getConnections";
|
|
6
|
+
export * from "./getCoreNetworkPolicyDocument";
|
|
6
7
|
export * from "./getDevice";
|
|
7
8
|
export * from "./getDevices";
|
|
8
9
|
export * from "./getGlobalNetwork";
|