@pulumi/aws 5.12.1 → 5.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessanalyzer/archiveRule.d.ts +1 -1
- package/accessanalyzer/archiveRule.js +1 -1
- package/ec2/getNetworkInsightsAnalysis.d.ts +112 -0
- package/ec2/getNetworkInsightsAnalysis.js +39 -0
- package/ec2/getNetworkInsightsAnalysis.js.map +1 -0
- package/ec2/getNetworkInsightsPath.d.ts +101 -0
- package/ec2/getNetworkInsightsPath.js +39 -0
- package/ec2/getNetworkInsightsPath.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +7 -0
- package/ec2/index.js.map +1 -1
- package/ec2/launchConfiguration.d.ts +12 -0
- package/ec2/launchConfiguration.js.map +1 -1
- package/ec2/networkInsightsAnalysis.d.ts +214 -0
- package/ec2/networkInsightsAnalysis.js +105 -0
- package/ec2/networkInsightsAnalysis.js.map +1 -0
- package/ec2/vpc.d.ts +12 -0
- package/ec2/vpc.js.map +1 -1
- package/ec2transitgateway/getAttachment.d.ts +110 -0
- package/ec2transitgateway/getAttachment.js +48 -0
- package/ec2transitgateway/getAttachment.js.map +1 -0
- package/ec2transitgateway/index.d.ts +3 -0
- package/ec2transitgateway/index.js +11 -0
- package/ec2transitgateway/index.js.map +1 -1
- package/ec2transitgateway/policyTable.d.ts +107 -0
- package/ec2transitgateway/policyTable.js +85 -0
- package/ec2transitgateway/policyTable.js.map +1 -0
- package/ec2transitgateway/policyTableAssociation.d.ts +99 -0
- package/ec2transitgateway/policyTableAssociation.js +84 -0
- package/ec2transitgateway/policyTableAssociation.js.map +1 -0
- package/elasticache/cluster.d.ts +6 -0
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/securityGroup.d.ts +0 -7
- package/elasticache/securityGroup.js +0 -7
- package/elasticache/securityGroup.js.map +1 -1
- package/grafana/index.d.ts +1 -0
- package/grafana/index.js +5 -0
- package/grafana/index.js.map +1 -1
- package/grafana/workspaceApiKey.d.ts +110 -0
- package/grafana/workspaceApiKey.js +87 -0
- package/grafana/workspaceApiKey.js.map +1 -0
- package/kendra/index_.d.ts +474 -16
- package/kendra/index_.js +455 -1
- package/kendra/index_.js.map +1 -1
- package/location/getTrackerAssociation.d.ts +56 -0
- package/location/getTrackerAssociation.js +39 -0
- package/location/getTrackerAssociation.js.map +1 -0
- package/location/index.d.ts +1 -0
- package/location/index.js +1 -0
- package/location/index.js.map +1 -1
- package/networkmanager/index.d.ts +2 -0
- package/networkmanager/index.js +10 -0
- package/networkmanager/index.js.map +1 -1
- package/networkmanager/transitGatewayPeering.d.ts +157 -0
- package/networkmanager/transitGatewayPeering.js +98 -0
- package/networkmanager/transitGatewayPeering.js.map +1 -0
- package/networkmanager/transitGatewayRouteTableAttachment.d.ts +181 -0
- package/networkmanager/transitGatewayRouteTableAttachment.js +104 -0
- package/networkmanager/transitGatewayRouteTableAttachment.js.map +1 -0
- package/networkmanager/vpcAttachment.d.ts +1 -1
- package/networkmanager/vpcAttachment.js +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/getInstance.d.ts +4 -0
- package/rds/getInstance.js.map +1 -1
- package/rds/getOrderableDbInstance.d.ts +4 -0
- package/rds/getOrderableDbInstance.js.map +1 -1
- package/rds/getSubnetGroup.d.ts +5 -1
- package/rds/getSubnetGroup.js.map +1 -1
- package/rds/instance.d.ts +18 -0
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/securityGroup.d.ts +0 -5
- package/rds/securityGroup.js +0 -5
- package/rds/securityGroup.js.map +1 -1
- package/rds/subnetGroup.d.ts +8 -0
- package/rds/subnetGroup.js +2 -0
- package/rds/subnetGroup.js.map +1 -1
- package/redshift/cluster.d.ts +6 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/securityGroup.d.ts +0 -2
- package/redshift/securityGroup.js +0 -2
- package/redshift/securityGroup.js.map +1 -1
- package/redshiftserverless/index.d.ts +1 -0
- package/redshiftserverless/index.js +5 -0
- package/redshiftserverless/index.js.map +1 -1
- package/redshiftserverless/namespace.d.ts +2 -2
- package/redshiftserverless/namespace.js +1 -1
- package/redshiftserverless/workgroup.d.ts +181 -0
- package/redshiftserverless/workgroup.js +100 -0
- package/redshiftserverless/workgroup.js.map +1 -0
- package/route53/record.d.ts +5 -3
- package/route53/record.js +2 -0
- package/route53/record.js.map +1 -1
- package/types/input.d.ts +994 -133
- package/types/output.d.ts +2277 -687
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an EC2 Transit Gateway Policy Table.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.ec2transitgateway.PolicyTable("example", {
|
|
12
|
+
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
13
|
+
* tags: {
|
|
14
|
+
* Name: "Example Policy Table",
|
|
15
|
+
* },
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* `aws_ec2_transit_gateway_policy_table` can be imported by using the EC2 Transit Gateway Policy Table identifier, e.g.,
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import aws:ec2transitgateway/policyTable:PolicyTable example tgw-rtb-12345678
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class PolicyTable extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing PolicyTable resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyTableState, opts?: pulumi.CustomResourceOptions): PolicyTable;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of PolicyTable. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is PolicyTable;
|
|
43
|
+
/**
|
|
44
|
+
* EC2 Transit Gateway Policy Table Amazon Resource Name (ARN).
|
|
45
|
+
*/
|
|
46
|
+
readonly arn: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The state of the EC2 Transit Gateway Policy Table.
|
|
49
|
+
*/
|
|
50
|
+
readonly state: pulumi.Output<string>;
|
|
51
|
+
readonly tags: pulumi.Output<{
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
} | undefined>;
|
|
54
|
+
readonly tagsAll: pulumi.Output<{
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* EC2 Transit Gateway identifier.
|
|
59
|
+
*/
|
|
60
|
+
readonly transitGatewayId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a PolicyTable resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: PolicyTableArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering PolicyTable resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface PolicyTableState {
|
|
74
|
+
/**
|
|
75
|
+
* EC2 Transit Gateway Policy Table Amazon Resource Name (ARN).
|
|
76
|
+
*/
|
|
77
|
+
arn?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The state of the EC2 Transit Gateway Policy Table.
|
|
80
|
+
*/
|
|
81
|
+
state?: pulumi.Input<string>;
|
|
82
|
+
tags?: pulumi.Input<{
|
|
83
|
+
[key: string]: pulumi.Input<string>;
|
|
84
|
+
}>;
|
|
85
|
+
tagsAll?: pulumi.Input<{
|
|
86
|
+
[key: string]: pulumi.Input<string>;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* EC2 Transit Gateway identifier.
|
|
90
|
+
*/
|
|
91
|
+
transitGatewayId?: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a PolicyTable resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface PolicyTableArgs {
|
|
97
|
+
tags?: pulumi.Input<{
|
|
98
|
+
[key: string]: pulumi.Input<string>;
|
|
99
|
+
}>;
|
|
100
|
+
tagsAll?: pulumi.Input<{
|
|
101
|
+
[key: string]: pulumi.Input<string>;
|
|
102
|
+
}>;
|
|
103
|
+
/**
|
|
104
|
+
* EC2 Transit Gateway identifier.
|
|
105
|
+
*/
|
|
106
|
+
transitGatewayId: pulumi.Input<string>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.PolicyTable = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an EC2 Transit Gateway Policy Table.
|
|
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.ec2transitgateway.PolicyTable("example", {
|
|
18
|
+
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
19
|
+
* tags: {
|
|
20
|
+
* Name: "Example Policy Table",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* `aws_ec2_transit_gateway_policy_table` can be imported by using the EC2 Transit Gateway Policy Table identifier, e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:ec2transitgateway/policyTable:PolicyTable example tgw-rtb-12345678
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class PolicyTable extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
40
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
41
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
42
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
43
|
+
resourceInputs["transitGatewayId"] = state ? state.transitGatewayId : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.transitGatewayId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'transitGatewayId'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
51
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
52
|
+
resourceInputs["transitGatewayId"] = args ? args.transitGatewayId : undefined;
|
|
53
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(PolicyTable.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing PolicyTable resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name, id, state, opts) {
|
|
69
|
+
return new PolicyTable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of PolicyTable. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj) {
|
|
76
|
+
if (obj === undefined || obj === null) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return obj['__pulumiType'] === PolicyTable.__pulumiType;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.PolicyTable = PolicyTable;
|
|
83
|
+
/** @internal */
|
|
84
|
+
PolicyTable.__pulumiType = 'aws:ec2transitgateway/policyTable:PolicyTable';
|
|
85
|
+
//# sourceMappingURL=policyTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policyTable.js","sourceRoot":"","sources":["../../ec2transitgateway/policyTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GA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C5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA2EC;AA7DG,gBAAgB;AACO,wBAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an EC2 Transit Gateway Policy Table association.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.ec2transitgateway.PolicyTableAssociation("example", {
|
|
12
|
+
* transitGatewayAttachmentId: aws_networkmanager_transit_gateway_peering.example.transit_gateway_peering_attachment_id,
|
|
13
|
+
* transitGatewayPolicyTableId: aws_ec2_transit_gateway_policy_table.example.id,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* `aws_ec2_transit_gateway_policy_table_association` can be imported by using the EC2 Transit Gateway Policy Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.,
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import aws:ec2transitgateway/policyTableAssociation:PolicyTableAssociation example tgw-rtb-12345678_tgw-attach-87654321
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class PolicyTableAssociation extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing PolicyTableAssociation resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyTableAssociationState, opts?: pulumi.CustomResourceOptions): PolicyTableAssociation;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of PolicyTableAssociation. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is PolicyTableAssociation;
|
|
41
|
+
/**
|
|
42
|
+
* Identifier of the resource
|
|
43
|
+
*/
|
|
44
|
+
readonly resourceId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Type of the resource
|
|
47
|
+
*/
|
|
48
|
+
readonly resourceType: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Identifier of EC2 Transit Gateway Attachment.
|
|
51
|
+
*/
|
|
52
|
+
readonly transitGatewayAttachmentId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Identifier of EC2 Transit Gateway Policy Table.
|
|
55
|
+
*/
|
|
56
|
+
readonly transitGatewayPolicyTableId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a PolicyTableAssociation resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: PolicyTableAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering PolicyTableAssociation resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface PolicyTableAssociationState {
|
|
70
|
+
/**
|
|
71
|
+
* Identifier of the resource
|
|
72
|
+
*/
|
|
73
|
+
resourceId?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Type of the resource
|
|
76
|
+
*/
|
|
77
|
+
resourceType?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of EC2 Transit Gateway Attachment.
|
|
80
|
+
*/
|
|
81
|
+
transitGatewayAttachmentId?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Identifier of EC2 Transit Gateway Policy Table.
|
|
84
|
+
*/
|
|
85
|
+
transitGatewayPolicyTableId?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a PolicyTableAssociation resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface PolicyTableAssociationArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Identifier of EC2 Transit Gateway Attachment.
|
|
93
|
+
*/
|
|
94
|
+
transitGatewayAttachmentId: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Identifier of EC2 Transit Gateway Policy Table.
|
|
97
|
+
*/
|
|
98
|
+
transitGatewayPolicyTableId: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.PolicyTableAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an EC2 Transit Gateway Policy Table association.
|
|
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.ec2transitgateway.PolicyTableAssociation("example", {
|
|
18
|
+
* transitGatewayAttachmentId: aws_networkmanager_transit_gateway_peering.example.transit_gateway_peering_attachment_id,
|
|
19
|
+
* transitGatewayPolicyTableId: aws_ec2_transit_gateway_policy_table.example.id,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* `aws_ec2_transit_gateway_policy_table_association` can be imported by using the EC2 Transit Gateway Policy Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.,
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:ec2transitgateway/policyTableAssociation:PolicyTableAssociation example tgw-rtb-12345678_tgw-attach-87654321
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class PolicyTableAssociation extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let resourceInputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
resourceInputs["resourceId"] = state ? state.resourceId : undefined;
|
|
38
|
+
resourceInputs["resourceType"] = state ? state.resourceType : undefined;
|
|
39
|
+
resourceInputs["transitGatewayAttachmentId"] = state ? state.transitGatewayAttachmentId : undefined;
|
|
40
|
+
resourceInputs["transitGatewayPolicyTableId"] = state ? state.transitGatewayPolicyTableId : undefined;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const args = argsOrState;
|
|
44
|
+
if ((!args || args.transitGatewayAttachmentId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'transitGatewayAttachmentId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.transitGatewayPolicyTableId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'transitGatewayPolicyTableId'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["transitGatewayAttachmentId"] = args ? args.transitGatewayAttachmentId : undefined;
|
|
51
|
+
resourceInputs["transitGatewayPolicyTableId"] = args ? args.transitGatewayPolicyTableId : undefined;
|
|
52
|
+
resourceInputs["resourceId"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["resourceType"] = undefined /*out*/;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(PolicyTableAssociation.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing PolicyTableAssociation resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new PolicyTableAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of PolicyTableAssociation. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === PolicyTableAssociation.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.PolicyTableAssociation = PolicyTableAssociation;
|
|
82
|
+
/** @internal */
|
|
83
|
+
PolicyTableAssociation.__pulumiType = 'aws:ec2transitgateway/policyTableAssociation:PolicyTableAssociation';
|
|
84
|
+
//# sourceMappingURL=policyTableAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policyTableAssociation.js","sourceRoot":"","sources":["../../ec2transitgateway/policyTableAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAqD7D,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,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAA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I,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IA5ED;;;;;;;;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,wDA8EC;AAhEG,gBAAgB;AACO,mCAAY,GAAG,qEAAqE,CAAC"}
|
package/elasticache/cluster.d.ts
CHANGED
|
@@ -218,6 +218,8 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
218
218
|
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
219
219
|
/**
|
|
220
220
|
* List of security group names to associate with this cache cluster. Changing this value will re-create the resource.
|
|
221
|
+
*
|
|
222
|
+
* @deprecated With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version.
|
|
221
223
|
*/
|
|
222
224
|
readonly securityGroupNames: pulumi.Output<string[]>;
|
|
223
225
|
/**
|
|
@@ -366,6 +368,8 @@ export interface ClusterState {
|
|
|
366
368
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
367
369
|
/**
|
|
368
370
|
* List of security group names to associate with this cache cluster. Changing this value will re-create the resource.
|
|
371
|
+
*
|
|
372
|
+
* @deprecated With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version.
|
|
369
373
|
*/
|
|
370
374
|
securityGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
371
375
|
/**
|
|
@@ -486,6 +490,8 @@ export interface ClusterArgs {
|
|
|
486
490
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
487
491
|
/**
|
|
488
492
|
* List of security group names to associate with this cache cluster. Changing this value will re-create the resource.
|
|
493
|
+
*
|
|
494
|
+
* @deprecated With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version.
|
|
489
495
|
*/
|
|
490
496
|
securityGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
491
497
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../elasticache/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../elasticache/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA0K9C,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,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,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
-
* clusters.
|
|
5
|
-
*
|
|
6
|
-
* > **NOTE:** ElastiCache Security Groups are for use only when working with an
|
|
7
|
-
* ElastiCache cluster **outside** of a VPC. If you are using a VPC, see the
|
|
8
|
-
* ElastiCache Subnet Group resource.
|
|
9
|
-
*
|
|
10
3
|
* ## Example Usage
|
|
11
4
|
*
|
|
12
5
|
* ```typescript
|
|
@@ -6,13 +6,6 @@ exports.SecurityGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides an ElastiCache Security Group to control access to one or more cache
|
|
10
|
-
* clusters.
|
|
11
|
-
*
|
|
12
|
-
* > **NOTE:** ElastiCache Security Groups are for use only when working with an
|
|
13
|
-
* ElastiCache cluster **outside** of a VPC. If you are using a VPC, see the
|
|
14
|
-
* ElastiCache Subnet Group resource.
|
|
15
|
-
*
|
|
16
9
|
* ## Example Usage
|
|
17
10
|
*
|
|
18
11
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityGroup.js","sourceRoot":"","sources":["../../elasticache/securityGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"securityGroup.js","sourceRoot":"","sources":["../../elasticache/securityGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAkDpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D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AAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAsEC;AAxDG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/grafana/index.d.ts
CHANGED
package/grafana/index.js
CHANGED
|
@@ -23,11 +23,13 @@ __exportStar(require("./getWorkspace"), exports);
|
|
|
23
23
|
__exportStar(require("./licenseAssociation"), exports);
|
|
24
24
|
__exportStar(require("./roleAssociation"), exports);
|
|
25
25
|
__exportStar(require("./workspace"), exports);
|
|
26
|
+
__exportStar(require("./workspaceApiKey"), exports);
|
|
26
27
|
__exportStar(require("./workspaceSamlConfiguration"), exports);
|
|
27
28
|
// Import resources to register:
|
|
28
29
|
const licenseAssociation_1 = require("./licenseAssociation");
|
|
29
30
|
const roleAssociation_1 = require("./roleAssociation");
|
|
30
31
|
const workspace_1 = require("./workspace");
|
|
32
|
+
const workspaceApiKey_1 = require("./workspaceApiKey");
|
|
31
33
|
const workspaceSamlConfiguration_1 = require("./workspaceSamlConfiguration");
|
|
32
34
|
const _module = {
|
|
33
35
|
version: utilities.getVersion(),
|
|
@@ -39,6 +41,8 @@ const _module = {
|
|
|
39
41
|
return new roleAssociation_1.RoleAssociation(name, undefined, { urn });
|
|
40
42
|
case "aws:grafana/workspace:Workspace":
|
|
41
43
|
return new workspace_1.Workspace(name, undefined, { urn });
|
|
44
|
+
case "aws:grafana/workspaceApiKey:WorkspaceApiKey":
|
|
45
|
+
return new workspaceApiKey_1.WorkspaceApiKey(name, undefined, { urn });
|
|
42
46
|
case "aws:grafana/workspaceSamlConfiguration:WorkspaceSamlConfiguration":
|
|
43
47
|
return new workspaceSamlConfiguration_1.WorkspaceSamlConfiguration(name, undefined, { urn });
|
|
44
48
|
default:
|
|
@@ -49,5 +53,6 @@ const _module = {
|
|
|
49
53
|
pulumi.runtime.registerResourceModule("aws", "grafana/licenseAssociation", _module);
|
|
50
54
|
pulumi.runtime.registerResourceModule("aws", "grafana/roleAssociation", _module);
|
|
51
55
|
pulumi.runtime.registerResourceModule("aws", "grafana/workspace", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("aws", "grafana/workspaceApiKey", _module);
|
|
52
57
|
pulumi.runtime.registerResourceModule("aws", "grafana/workspaceSamlConfiguration", _module);
|
|
53
58
|
//# sourceMappingURL=index.js.map
|
package/grafana/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../grafana/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,iDAA+B;AAC/B,uDAAqC;AACrC,oDAAkC;AAClC,8CAA4B;AAC5B,+DAA6C;AAE7C,gCAAgC;AAChC,6DAA0D;AAC1D,uDAAoD;AACpD,2CAAwC;AACxC,6EAA0E;AAE1E,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,mDAAmD;gBACpD,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,qBAAS,CAAC,IAAI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AAK,6CAA6C;gBAC9C,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,KAAK,mEAAmE;gBACpE,OAAO,IAAI,uDAA0B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Amazon Managed Grafana workspace API Key resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Basic configuration
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const key = new aws.grafana.WorkspaceApiKey("key", {
|
|
13
|
+
* keyName: "test-key",
|
|
14
|
+
* keyRole: "VIEWER",
|
|
15
|
+
* secondsToLive: 3600,
|
|
16
|
+
* workspaceId: aws_grafana_workspace.test.id,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class WorkspaceApiKey extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing WorkspaceApiKey resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceApiKeyState, opts?: pulumi.CustomResourceOptions): WorkspaceApiKey;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of WorkspaceApiKey. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is WorkspaceApiKey;
|
|
36
|
+
/**
|
|
37
|
+
* The key token in JSON format. Use this value as a bearer token to authenticate HTTP requests to the workspace.
|
|
38
|
+
*/
|
|
39
|
+
readonly key: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies the name of the API key. Key names must be unique to the workspace.
|
|
42
|
+
*/
|
|
43
|
+
readonly keyName: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the permission level of the API key. Valid values are `VIEWER`, `EDITOR`, or `ADMIN`.
|
|
46
|
+
*/
|
|
47
|
+
readonly keyRole: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
|
|
50
|
+
*/
|
|
51
|
+
readonly secondsToLive: pulumi.Output<number>;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the workspace that the API key is valid for.
|
|
54
|
+
*/
|
|
55
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a WorkspaceApiKey resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: WorkspaceApiKeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering WorkspaceApiKey resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface WorkspaceApiKeyState {
|
|
69
|
+
/**
|
|
70
|
+
* The key token in JSON format. Use this value as a bearer token to authenticate HTTP requests to the workspace.
|
|
71
|
+
*/
|
|
72
|
+
key?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies the name of the API key. Key names must be unique to the workspace.
|
|
75
|
+
*/
|
|
76
|
+
keyName?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies the permission level of the API key. Valid values are `VIEWER`, `EDITOR`, or `ADMIN`.
|
|
79
|
+
*/
|
|
80
|
+
keyRole?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
|
|
83
|
+
*/
|
|
84
|
+
secondsToLive?: pulumi.Input<number>;
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the workspace that the API key is valid for.
|
|
87
|
+
*/
|
|
88
|
+
workspaceId?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a WorkspaceApiKey resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface WorkspaceApiKeyArgs {
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the name of the API key. Key names must be unique to the workspace.
|
|
96
|
+
*/
|
|
97
|
+
keyName: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the permission level of the API key. Valid values are `VIEWER`, `EDITOR`, or `ADMIN`.
|
|
100
|
+
*/
|
|
101
|
+
keyRole: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
|
|
104
|
+
*/
|
|
105
|
+
secondsToLive: pulumi.Input<number>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the workspace that the API key is valid for.
|
|
108
|
+
*/
|
|
109
|
+
workspaceId: pulumi.Input<string>;
|
|
110
|
+
}
|