@pulumi/aws 5.5.0 → 5.6.0-alpha.1653692940
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/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/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,111 @@
|
|
|
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.ReplicationConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a replica of an existing EFS file system in the same or another region. Creating this resource causes the source EFS file system to be replicated to a new read-only destination EFS file system. Deleting this resource will cause the replication from source to destination to stop and the destination file system will no longer be read only.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Deleting this resource does **not** delete the destination file system that was created.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Will create a replica using regional storage in us-west-2 that will be encrypted by the default EFS KMS key `/aws/elasticfilesystem`.
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as aws from "@pulumi/aws";
|
|
20
|
+
*
|
|
21
|
+
* const exampleFileSystem = new aws.efs.FileSystem("exampleFileSystem", {});
|
|
22
|
+
* const exampleReplicationConfiguration = new aws.efs.ReplicationConfiguration("exampleReplicationConfiguration", {
|
|
23
|
+
* sourceFileSystemId: exampleFileSystem.id,
|
|
24
|
+
* destination: {
|
|
25
|
+
* region: "us-west-2",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* Replica will be created as One Zone storage in the us-west-2b Availability Zone and encrypted with the specified KMS key.
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as aws from "@pulumi/aws";
|
|
35
|
+
*
|
|
36
|
+
* const exampleFileSystem = new aws.efs.FileSystem("exampleFileSystem", {});
|
|
37
|
+
* const exampleReplicationConfiguration = new aws.efs.ReplicationConfiguration("exampleReplicationConfiguration", {
|
|
38
|
+
* sourceFileSystemId: exampleFileSystem.id,
|
|
39
|
+
* destination: {
|
|
40
|
+
* availabilityZoneName: "us-west-2b",
|
|
41
|
+
* kmsKeyId: "1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* EFS Replication Configurations can be imported using the file system ID of either the source or destination file system. When importing, the `availability_zone_name` and `kms_key_id` attributes must **not** be set in the configuration. The AWS API does not return these values when querying the replication configuration and their presence will therefore show as a diff in a subsequent plan.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import aws:efs/replicationConfiguration:ReplicationConfiguration example fs-id
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
class ReplicationConfiguration extends pulumi.CustomResource {
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
61
|
+
resourceInputs["destination"] = state ? state.destination : undefined;
|
|
62
|
+
resourceInputs["originalSourceFileSystemArn"] = state ? state.originalSourceFileSystemArn : undefined;
|
|
63
|
+
resourceInputs["sourceFileSystemArn"] = state ? state.sourceFileSystemArn : undefined;
|
|
64
|
+
resourceInputs["sourceFileSystemId"] = state ? state.sourceFileSystemId : undefined;
|
|
65
|
+
resourceInputs["sourceFileSystemRegion"] = state ? state.sourceFileSystemRegion : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.destination === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'destination'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.sourceFileSystemId === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'sourceFileSystemId'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["destination"] = args ? args.destination : undefined;
|
|
76
|
+
resourceInputs["sourceFileSystemId"] = args ? args.sourceFileSystemId : undefined;
|
|
77
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["originalSourceFileSystemArn"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["sourceFileSystemArn"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["sourceFileSystemRegion"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(ReplicationConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing ReplicationConfiguration resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new ReplicationConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of ReplicationConfiguration. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === ReplicationConfiguration.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ReplicationConfiguration = ReplicationConfiguration;
|
|
109
|
+
/** @internal */
|
|
110
|
+
ReplicationConfiguration.__pulumiType = 'aws:efs/replicationConfiguration:ReplicationConfiguration';
|
|
111
|
+
//# sourceMappingURL=replicationConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replicationConfiguration.js","sourceRoot":"","sources":["../../efs/replicationConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IA+D/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC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;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DA4FC;AA9EG,gBAAgB;AACO,qCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -1,36 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides an ElastiCache Global Replication Group resource, which manages replication between two or more Replication Groups in different regions. For more information, see the [ElastiCache User Guide](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html).
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
* ### Global replication group with one secondary replication group
|
|
7
|
-
*
|
|
8
|
-
* The global replication group depends on the primary group existing. Secondary replication groups depend on the global replication group. the provider dependency management will handle this transparently using resource value references.
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as aws from "@pulumi/aws";
|
|
13
|
-
*
|
|
14
|
-
* const primary = new aws.elasticache.ReplicationGroup("primary", {
|
|
15
|
-
* replicationGroupDescription: "primary replication group",
|
|
16
|
-
* engine: "redis",
|
|
17
|
-
* engineVersion: "5.0.6",
|
|
18
|
-
* nodeType: "cache.m5.large",
|
|
19
|
-
* numberCacheClusters: 1,
|
|
20
|
-
* });
|
|
21
|
-
* const example = new aws.elasticache.GlobalReplicationGroup("example", {
|
|
22
|
-
* globalReplicationGroupIdSuffix: "example",
|
|
23
|
-
* primaryReplicationGroupId: primary.id,
|
|
24
|
-
* });
|
|
25
|
-
* const secondary = new aws.elasticache.ReplicationGroup("secondary", {
|
|
26
|
-
* replicationGroupDescription: "secondary replication group",
|
|
27
|
-
* globalReplicationGroupId: example.globalReplicationGroupId,
|
|
28
|
-
* numberCacheClusters: 1,
|
|
29
|
-
* }, {
|
|
30
|
-
* provider: aws.other_region,
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
3
|
* ## Import
|
|
35
4
|
*
|
|
36
5
|
* ElastiCache Global Replication Groups can be imported using the `global_replication_group_id`, e.g.,
|
|
@@ -79,6 +48,16 @@ export declare class GlobalReplicationGroup extends pulumi.CustomResource {
|
|
|
79
48
|
* The name of the cache engine to be used for the clusters in this global replication group.
|
|
80
49
|
*/
|
|
81
50
|
readonly engine: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Redis version to use for the Global Replication Group.
|
|
53
|
+
* When creating, by default the Global Replication Group inherits the version of the primary replication group.
|
|
54
|
+
* If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version.
|
|
55
|
+
* Cannot be downgraded without replacing the Global Replication Group and all member replication groups.
|
|
56
|
+
* If the version is 6 or higher, the major and minor version can be set, e.g., `6.2`,
|
|
57
|
+
* or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`.
|
|
58
|
+
* The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below.
|
|
59
|
+
*/
|
|
60
|
+
readonly engineVersion: pulumi.Output<string>;
|
|
82
61
|
/**
|
|
83
62
|
* The full version number of the cache engine running on the members of this global replication group.
|
|
84
63
|
*/
|
|
@@ -95,6 +74,13 @@ export declare class GlobalReplicationGroup extends pulumi.CustomResource {
|
|
|
95
74
|
* The suffix name of a Global Datastore. If `globalReplicationGroupIdSuffix` is changed, creates a new resource.
|
|
96
75
|
*/
|
|
97
76
|
readonly globalReplicationGroupIdSuffix: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* An ElastiCache Parameter Group to use for the Global Replication Group.
|
|
79
|
+
* Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete.
|
|
80
|
+
* Specifying without a major version upgrade will fail.
|
|
81
|
+
* Note that ElastiCache creates a copy of this parameter group for each member replication group.
|
|
82
|
+
*/
|
|
83
|
+
readonly parameterGroupName: pulumi.Output<string | undefined>;
|
|
98
84
|
/**
|
|
99
85
|
* The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. If `primaryReplicationGroupId` is changed, creates a new resource.
|
|
100
86
|
*/
|
|
@@ -140,6 +126,16 @@ export interface GlobalReplicationGroupState {
|
|
|
140
126
|
* The name of the cache engine to be used for the clusters in this global replication group.
|
|
141
127
|
*/
|
|
142
128
|
engine?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Redis version to use for the Global Replication Group.
|
|
131
|
+
* When creating, by default the Global Replication Group inherits the version of the primary replication group.
|
|
132
|
+
* If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version.
|
|
133
|
+
* Cannot be downgraded without replacing the Global Replication Group and all member replication groups.
|
|
134
|
+
* If the version is 6 or higher, the major and minor version can be set, e.g., `6.2`,
|
|
135
|
+
* or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`.
|
|
136
|
+
* The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below.
|
|
137
|
+
*/
|
|
138
|
+
engineVersion?: pulumi.Input<string>;
|
|
143
139
|
/**
|
|
144
140
|
* The full version number of the cache engine running on the members of this global replication group.
|
|
145
141
|
*/
|
|
@@ -156,6 +152,13 @@ export interface GlobalReplicationGroupState {
|
|
|
156
152
|
* The suffix name of a Global Datastore. If `globalReplicationGroupIdSuffix` is changed, creates a new resource.
|
|
157
153
|
*/
|
|
158
154
|
globalReplicationGroupIdSuffix?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* An ElastiCache Parameter Group to use for the Global Replication Group.
|
|
157
|
+
* Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete.
|
|
158
|
+
* Specifying without a major version upgrade will fail.
|
|
159
|
+
* Note that ElastiCache creates a copy of this parameter group for each member replication group.
|
|
160
|
+
*/
|
|
161
|
+
parameterGroupName?: pulumi.Input<string>;
|
|
159
162
|
/**
|
|
160
163
|
* The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. If `primaryReplicationGroupId` is changed, creates a new resource.
|
|
161
164
|
*/
|
|
@@ -169,6 +172,16 @@ export interface GlobalReplicationGroupState {
|
|
|
169
172
|
* The set of arguments for constructing a GlobalReplicationGroup resource.
|
|
170
173
|
*/
|
|
171
174
|
export interface GlobalReplicationGroupArgs {
|
|
175
|
+
/**
|
|
176
|
+
* Redis version to use for the Global Replication Group.
|
|
177
|
+
* When creating, by default the Global Replication Group inherits the version of the primary replication group.
|
|
178
|
+
* If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version.
|
|
179
|
+
* Cannot be downgraded without replacing the Global Replication Group and all member replication groups.
|
|
180
|
+
* If the version is 6 or higher, the major and minor version can be set, e.g., `6.2`,
|
|
181
|
+
* or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`.
|
|
182
|
+
* The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below.
|
|
183
|
+
*/
|
|
184
|
+
engineVersion?: pulumi.Input<string>;
|
|
172
185
|
/**
|
|
173
186
|
* A user-created description for the global replication group.
|
|
174
187
|
*/
|
|
@@ -177,6 +190,13 @@ export interface GlobalReplicationGroupArgs {
|
|
|
177
190
|
* The suffix name of a Global Datastore. If `globalReplicationGroupIdSuffix` is changed, creates a new resource.
|
|
178
191
|
*/
|
|
179
192
|
globalReplicationGroupIdSuffix: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* An ElastiCache Parameter Group to use for the Global Replication Group.
|
|
195
|
+
* Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete.
|
|
196
|
+
* Specifying without a major version upgrade will fail.
|
|
197
|
+
* Note that ElastiCache creates a copy of this parameter group for each member replication group.
|
|
198
|
+
*/
|
|
199
|
+
parameterGroupName?: pulumi.Input<string>;
|
|
180
200
|
/**
|
|
181
201
|
* The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. If `primaryReplicationGroupId` is changed, creates a new resource.
|
|
182
202
|
*/
|
|
@@ -6,37 +6,6 @@ exports.GlobalReplicationGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides an ElastiCache Global Replication Group resource, which manages replication between two or more Replication Groups in different regions. For more information, see the [ElastiCache User Guide](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html).
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
* ### Global replication group with one secondary replication group
|
|
13
|
-
*
|
|
14
|
-
* The global replication group depends on the primary group existing. Secondary replication groups depend on the global replication group. the provider dependency management will handle this transparently using resource value references.
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as aws from "@pulumi/aws";
|
|
19
|
-
*
|
|
20
|
-
* const primary = new aws.elasticache.ReplicationGroup("primary", {
|
|
21
|
-
* replicationGroupDescription: "primary replication group",
|
|
22
|
-
* engine: "redis",
|
|
23
|
-
* engineVersion: "5.0.6",
|
|
24
|
-
* nodeType: "cache.m5.large",
|
|
25
|
-
* numberCacheClusters: 1,
|
|
26
|
-
* });
|
|
27
|
-
* const example = new aws.elasticache.GlobalReplicationGroup("example", {
|
|
28
|
-
* globalReplicationGroupIdSuffix: "example",
|
|
29
|
-
* primaryReplicationGroupId: primary.id,
|
|
30
|
-
* });
|
|
31
|
-
* const secondary = new aws.elasticache.ReplicationGroup("secondary", {
|
|
32
|
-
* replicationGroupDescription: "secondary replication group",
|
|
33
|
-
* globalReplicationGroupId: example.globalReplicationGroupId,
|
|
34
|
-
* numberCacheClusters: 1,
|
|
35
|
-
* }, {
|
|
36
|
-
* provider: aws.other_region,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
9
|
* ## Import
|
|
41
10
|
*
|
|
42
11
|
* ElastiCache Global Replication Groups can be imported using the `global_replication_group_id`, e.g.,
|
|
@@ -57,10 +26,12 @@ class GlobalReplicationGroup extends pulumi.CustomResource {
|
|
|
57
26
|
resourceInputs["cacheNodeType"] = state ? state.cacheNodeType : undefined;
|
|
58
27
|
resourceInputs["clusterEnabled"] = state ? state.clusterEnabled : undefined;
|
|
59
28
|
resourceInputs["engine"] = state ? state.engine : undefined;
|
|
29
|
+
resourceInputs["engineVersion"] = state ? state.engineVersion : undefined;
|
|
60
30
|
resourceInputs["engineVersionActual"] = state ? state.engineVersionActual : undefined;
|
|
61
31
|
resourceInputs["globalReplicationGroupDescription"] = state ? state.globalReplicationGroupDescription : undefined;
|
|
62
32
|
resourceInputs["globalReplicationGroupId"] = state ? state.globalReplicationGroupId : undefined;
|
|
63
33
|
resourceInputs["globalReplicationGroupIdSuffix"] = state ? state.globalReplicationGroupIdSuffix : undefined;
|
|
34
|
+
resourceInputs["parameterGroupName"] = state ? state.parameterGroupName : undefined;
|
|
64
35
|
resourceInputs["primaryReplicationGroupId"] = state ? state.primaryReplicationGroupId : undefined;
|
|
65
36
|
resourceInputs["transitEncryptionEnabled"] = state ? state.transitEncryptionEnabled : undefined;
|
|
66
37
|
}
|
|
@@ -72,8 +43,10 @@ class GlobalReplicationGroup extends pulumi.CustomResource {
|
|
|
72
43
|
if ((!args || args.primaryReplicationGroupId === undefined) && !opts.urn) {
|
|
73
44
|
throw new Error("Missing required property 'primaryReplicationGroupId'");
|
|
74
45
|
}
|
|
46
|
+
resourceInputs["engineVersion"] = args ? args.engineVersion : undefined;
|
|
75
47
|
resourceInputs["globalReplicationGroupDescription"] = args ? args.globalReplicationGroupDescription : undefined;
|
|
76
48
|
resourceInputs["globalReplicationGroupIdSuffix"] = args ? args.globalReplicationGroupIdSuffix : undefined;
|
|
49
|
+
resourceInputs["parameterGroupName"] = args ? args.parameterGroupName : undefined;
|
|
77
50
|
resourceInputs["primaryReplicationGroupId"] = args ? args.primaryReplicationGroupId : undefined;
|
|
78
51
|
resourceInputs["arn"] = undefined /*out*/;
|
|
79
52
|
resourceInputs["atRestEncryptionEnabled"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalReplicationGroup.js","sourceRoot":"","sources":["../../elasticache/globalReplicationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"globalReplicationGroup.js","sourceRoot":"","sources":["../../elasticache/globalReplicationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAsG7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,C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C,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IAjJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDAmJC;AArIG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -200,7 +200,7 @@ export declare class ReplicationGroup extends pulumi.CustomResource {
|
|
|
200
200
|
* Only supported for engine type `"redis"` and if the engine version is 6 or higher.
|
|
201
201
|
* Defaults to `true`.
|
|
202
202
|
*/
|
|
203
|
-
readonly autoMinorVersionUpgrade: pulumi.Output<boolean
|
|
203
|
+
readonly autoMinorVersionUpgrade: pulumi.Output<boolean>;
|
|
204
204
|
/**
|
|
205
205
|
* Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If enabled, `numberCacheClusters` must be greater than 1. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to `false`.
|
|
206
206
|
*/
|
package/getAmi.d.ts
CHANGED
|
@@ -216,6 +216,10 @@ export interface GetAmiResult {
|
|
|
216
216
|
readonly tags: {
|
|
217
217
|
[key: string]: string;
|
|
218
218
|
};
|
|
219
|
+
/**
|
|
220
|
+
* If the image is configured for NitroTPM support, the value is `v2.0`.
|
|
221
|
+
*/
|
|
222
|
+
readonly tpmSupport: string;
|
|
219
223
|
/**
|
|
220
224
|
* The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
|
|
221
225
|
*/
|
package/getAmi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAmi.js","sourceRoot":"","sources":["../getAmi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,4EAA4E;AAC5E,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAA;IAClG,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,yBAAyB,EAAE;QACpD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,wBAeC;
|
|
1
|
+
{"version":3,"file":"getAmi.js","sourceRoot":"","sources":["../getAmi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,4EAA4E;AAC5E,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAA;IAClG,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,yBAAyB,EAAE;QACpD,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,wBAeC;AAkMD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
|
|
@@ -44,6 +44,10 @@ export interface GetAutoscalingGroupsArgs {
|
|
|
44
44
|
* A filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
|
|
45
45
|
*/
|
|
46
46
|
filters?: inputs.GetAutoscalingGroupsFilter[];
|
|
47
|
+
/**
|
|
48
|
+
* A list of autoscaling group names
|
|
49
|
+
*/
|
|
50
|
+
names?: string[];
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
49
53
|
* A collection of values returned by getAutoscalingGroups.
|
|
@@ -72,4 +76,8 @@ export interface GetAutoscalingGroupsOutputArgs {
|
|
|
72
76
|
* A filter used to scope the list e.g., by tags. See [related docs](http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_Filter.html).
|
|
73
77
|
*/
|
|
74
78
|
filters?: pulumi.Input<pulumi.Input<inputs.GetAutoscalingGroupsFilterArgs>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* A list of autoscaling group names
|
|
81
|
+
*/
|
|
82
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
83
|
}
|
package/getAutoscalingGroups.js
CHANGED
|
@@ -49,6 +49,7 @@ function getAutoscalingGroups(args, opts) {
|
|
|
49
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
50
50
|
return pulumi.runtime.invoke("aws:index/getAutoscalingGroups:getAutoscalingGroups", {
|
|
51
51
|
"filters": args.filters,
|
|
52
|
+
"names": args.names,
|
|
52
53
|
}, opts);
|
|
53
54
|
}
|
|
54
55
|
exports.getAutoscalingGroups = getAutoscalingGroups;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAutoscalingGroups.js","sourceRoot":"","sources":["../getAutoscalingGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qGAAqG;AACrG,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wHAAwH,CAAC,CAAA;IACzI,IAAI,GAAG,IAAI,I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ED
package/keyspaces/index.js
CHANGED
|
@@ -20,18 +20,23 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./keyspace"), exports);
|
|
23
|
+
__exportStar(require("./table"), exports);
|
|
23
24
|
// Import resources to register:
|
|
24
25
|
const keyspace_1 = require("./keyspace");
|
|
26
|
+
const table_1 = require("./table");
|
|
25
27
|
const _module = {
|
|
26
28
|
version: utilities.getVersion(),
|
|
27
29
|
construct: (name, type, urn) => {
|
|
28
30
|
switch (type) {
|
|
29
31
|
case "aws:keyspaces/keyspace:Keyspace":
|
|
30
32
|
return new keyspace_1.Keyspace(name, undefined, { urn });
|
|
33
|
+
case "aws:keyspaces/table:Table":
|
|
34
|
+
return new table_1.Table(name, undefined, { urn });
|
|
31
35
|
default:
|
|
32
36
|
throw new Error(`unknown resource type ${type}`);
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
};
|
|
36
40
|
pulumi.runtime.registerResourceModule("aws", "keyspaces/keyspace", _module);
|
|
41
|
+
pulumi.runtime.registerResourceModule("aws", "keyspaces/table", _module);
|
|
37
42
|
//# sourceMappingURL=index.js.map
|
package/keyspaces/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../keyspaces/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,6CAA2B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../keyspaces/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,6CAA2B;AAC3B,0CAAwB;AAExB,gCAAgC;AAChC,yCAAsC;AACtC,mCAAgC;AAEhC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
package/keyspaces/keyspace.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
*
|
|
16
16
|
* ## Import
|
|
17
17
|
*
|
|
18
|
-
* Use the `name` to import a
|
|
18
|
+
* Use the `name` to import a keyspace. For example
|
|
19
19
|
*
|
|
20
20
|
* ```sh
|
|
21
21
|
* $ pulumi import aws:keyspaces/keyspace:Keyspace example my_keyspace
|
|
@@ -38,7 +38,7 @@ export declare class Keyspace extends pulumi.CustomResource {
|
|
|
38
38
|
*/
|
|
39
39
|
static isInstance(obj: any): obj is Keyspace;
|
|
40
40
|
/**
|
|
41
|
-
* The ARN of the
|
|
41
|
+
* The ARN of the keyspace.
|
|
42
42
|
*/
|
|
43
43
|
readonly arn: pulumi.Output<string>;
|
|
44
44
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class Keyspace extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
export interface KeyspaceState {
|
|
73
73
|
/**
|
|
74
|
-
* The ARN of the
|
|
74
|
+
* The ARN of the keyspace.
|
|
75
75
|
*/
|
|
76
76
|
arn?: pulumi.Input<string>;
|
|
77
77
|
/**
|
package/keyspaces/keyspace.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
|
-
* Use the `name` to import a
|
|
24
|
+
* Use the `name` to import a keyspace. For example
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
27
|
* $ pulumi import aws:keyspaces/keyspace:Keyspace example my_keyspace
|