@pulumi/aws-native 0.68.1-alpha.1689713004 → 0.69.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/applicationinsights/getApplication.d.ts +0 -21
- package/applicationinsights/getApplication.js.map +1 -1
- package/cloudformation/getStackSet.d.ts +0 -4
- package/cloudformation/getStackSet.js.map +1 -1
- package/connect/getQueue.d.ts +69 -0
- package/connect/getQueue.js +25 -0
- package/connect/getQueue.js.map +1 -0
- package/connect/getRoutingProfile.d.ts +56 -0
- package/connect/getRoutingProfile.js +25 -0
- package/connect/getRoutingProfile.js.map +1 -0
- package/connect/index.d.ts +12 -0
- package/connect/index.js +16 -1
- package/connect/index.js.map +1 -1
- package/connect/queue.d.ts +116 -0
- package/connect/queue.js +82 -0
- package/connect/queue.js.map +1 -0
- package/connect/routingProfile.d.ts +95 -0
- package/connect/routingProfile.js +82 -0
- package/connect/routingProfile.js.map +1 -0
- package/ec2/eipassociation.d.ts +31 -4
- package/ec2/eipassociation.js +1 -6
- package/ec2/eipassociation.js.map +1 -1
- package/ec2/getEIPAssociation.d.ts +14 -6
- package/ec2/getEIPAssociation.js +2 -2
- package/ec2/getEIPAssociation.js.map +1 -1
- package/iam/getGroupPolicy.d.ts +35 -0
- package/iam/getGroupPolicy.js +26 -0
- package/iam/getGroupPolicy.js.map +1 -0
- package/iam/getRolePolicy.d.ts +35 -0
- package/iam/getRolePolicy.js +26 -0
- package/iam/getRolePolicy.js.map +1 -0
- package/iam/getUserPolicy.d.ts +35 -0
- package/iam/getUserPolicy.js +26 -0
- package/iam/getUserPolicy.js.map +1 -0
- package/iam/groupPolicy.d.ts +57 -0
- package/iam/groupPolicy.js +66 -0
- package/iam/groupPolicy.js.map +1 -0
- package/iam/index.d.ts +18 -0
- package/iam/index.js +22 -1
- package/iam/index.js.map +1 -1
- package/iam/rolePolicy.d.ts +57 -0
- package/iam/rolePolicy.js +66 -0
- package/iam/rolePolicy.js.map +1 -0
- package/iam/userPolicy.d.ts +57 -0
- package/iam/userPolicy.js +66 -0
- package/iam/userPolicy.js.map +1 -0
- package/index.d.ts +1 -2
- package/index.js +3 -5
- package/index.js.map +1 -1
- package/logs/accountPolicy.d.ts +85 -0
- package/logs/accountPolicy.js +78 -0
- package/logs/accountPolicy.js.map +1 -0
- package/logs/getAccountPolicy.d.ts +58 -0
- package/logs/getAccountPolicy.js +27 -0
- package/logs/getAccountPolicy.js.map +1 -0
- package/logs/index.d.ts +6 -0
- package/logs/index.js +8 -1
- package/logs/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/s3/getBucket.d.ts +0 -5
- package/s3/getBucket.js.map +1 -1
- package/types/enums/connect/index.d.ts +33 -0
- package/types/enums/connect/index.js +18 -1
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/index.d.ts +1 -2
- package/types/enums/index.js +3 -5
- package/types/enums/index.js.map +1 -1
- package/types/enums/logs/index.d.ts +14 -0
- package/types/enums/logs/index.js +7 -1
- package/types/enums/logs/index.js.map +1 -1
- package/types/enums/s3/index.d.ts +1 -0
- package/types/enums/s3/index.js +1 -0
- package/types/enums/s3/index.js.map +1 -1
- package/types/input.d.ts +63 -53
- package/types/output.d.ts +63 -53
- package/gamecast/application.d.ts +0 -91
- package/gamecast/application.js +0 -72
- package/gamecast/application.js.map +0 -1
- package/gamecast/getApplication.d.ts +0 -47
- package/gamecast/getApplication.js +0 -25
- package/gamecast/getApplication.js.map +0 -1
- package/gamecast/getStreamGroup.d.ts +0 -38
- package/gamecast/getStreamGroup.js +0 -25
- package/gamecast/getStreamGroup.js.map +0 -1
- package/gamecast/index.d.ts +0 -13
- package/gamecast/index.js +0 -48
- package/gamecast/index.js.map +0 -1
- package/gamecast/streamGroup.d.ts +0 -62
- package/gamecast/streamGroup.js +0 -69
- package/gamecast/streamGroup.js.map +0 -1
- package/types/enums/gamecast/index.d.ts +0 -20
- package/types/enums/gamecast/index.js +0 -16
- package/types/enums/gamecast/index.js.map +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::Connect::RoutingProfile
|
|
6
|
+
*/
|
|
7
|
+
export declare class RoutingProfile extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing RoutingProfile resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RoutingProfile;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of RoutingProfile. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is RoutingProfile;
|
|
22
|
+
/**
|
|
23
|
+
* The identifier of the default outbound queue for this routing profile.
|
|
24
|
+
*/
|
|
25
|
+
readonly defaultOutboundQueueArn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The description of the routing profile.
|
|
28
|
+
*/
|
|
29
|
+
readonly description: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The identifier of the Amazon Connect instance.
|
|
32
|
+
*/
|
|
33
|
+
readonly instanceArn: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
|
|
36
|
+
*/
|
|
37
|
+
readonly mediaConcurrencies: pulumi.Output<outputs.connect.RoutingProfileMediaConcurrency[]>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the routing profile.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The queues to associate with this routing profile.
|
|
44
|
+
*/
|
|
45
|
+
readonly queueConfigs: pulumi.Output<outputs.connect.RoutingProfileQueueConfig[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* The Amazon Resource Name (ARN) of the routing profile.
|
|
48
|
+
*/
|
|
49
|
+
readonly routingProfileArn: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* An array of key-value pairs to apply to this resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<outputs.connect.RoutingProfileTag[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a RoutingProfile resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: RoutingProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The set of arguments for constructing a RoutingProfile resource.
|
|
65
|
+
*/
|
|
66
|
+
export interface RoutingProfileArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The identifier of the default outbound queue for this routing profile.
|
|
69
|
+
*/
|
|
70
|
+
defaultOutboundQueueArn: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The description of the routing profile.
|
|
73
|
+
*/
|
|
74
|
+
description: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The identifier of the Amazon Connect instance.
|
|
77
|
+
*/
|
|
78
|
+
instanceArn: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
|
|
81
|
+
*/
|
|
82
|
+
mediaConcurrencies: pulumi.Input<pulumi.Input<inputs.connect.RoutingProfileMediaConcurrencyArgs>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the routing profile.
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The queues to associate with this routing profile.
|
|
89
|
+
*/
|
|
90
|
+
queueConfigs?: pulumi.Input<pulumi.Input<inputs.connect.RoutingProfileQueueConfigArgs>[]>;
|
|
91
|
+
/**
|
|
92
|
+
* An array of key-value pairs to apply to this resource.
|
|
93
|
+
*/
|
|
94
|
+
tags?: pulumi.Input<pulumi.Input<inputs.connect.RoutingProfileTagArgs>[]>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RoutingProfile = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::Connect::RoutingProfile
|
|
10
|
+
*/
|
|
11
|
+
class RoutingProfile extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing RoutingProfile resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new RoutingProfile(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of RoutingProfile. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === RoutingProfile.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a RoutingProfile resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.defaultOutboundQueueArn === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'defaultOutboundQueueArn'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'description'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.instanceArn === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'instanceArn'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.mediaConcurrencies === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'mediaConcurrencies'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["defaultOutboundQueueArn"] = args ? args.defaultOutboundQueueArn : undefined;
|
|
57
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
58
|
+
resourceInputs["instanceArn"] = args ? args.instanceArn : undefined;
|
|
59
|
+
resourceInputs["mediaConcurrencies"] = args ? args.mediaConcurrencies : undefined;
|
|
60
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
|
+
resourceInputs["queueConfigs"] = args ? args.queueConfigs : undefined;
|
|
62
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
63
|
+
resourceInputs["routingProfileArn"] = undefined /*out*/;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
resourceInputs["defaultOutboundQueueArn"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["instanceArn"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["mediaConcurrencies"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["queueConfigs"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["routingProfileArn"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(RoutingProfile.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.RoutingProfile = RoutingProfile;
|
|
80
|
+
/** @internal */
|
|
81
|
+
RoutingProfile.__pulumiType = 'aws-native:connect:RoutingProfile';
|
|
82
|
+
//# sourceMappingURL=routingProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingProfile.js","sourceRoot":"","sources":["../../connect/routingProfile.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CA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AAC;;AAvGL,wCAwGC;AA3FG,gBAAgB;AACO,2BAAY,GAAG,mCAAmC,CAAC"}
|
package/ec2/eipassociation.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
4
|
-
*
|
|
5
|
-
* @deprecated EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
3
|
+
* Resource schema for EC2 EIP association.
|
|
6
4
|
*/
|
|
7
5
|
export declare class EIPAssociation extends pulumi.CustomResource {
|
|
8
6
|
/**
|
|
@@ -19,10 +17,25 @@ export declare class EIPAssociation extends pulumi.CustomResource {
|
|
|
19
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
18
|
*/
|
|
21
19
|
static isInstance(obj: any): obj is EIPAssociation;
|
|
20
|
+
/**
|
|
21
|
+
* The allocation ID. This is required for EC2-VPC.
|
|
22
|
+
*/
|
|
22
23
|
readonly allocationId: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The Elastic IP address to associate with the instance.
|
|
26
|
+
*/
|
|
23
27
|
readonly eIP: pulumi.Output<string | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the instance.
|
|
30
|
+
*/
|
|
24
31
|
readonly instanceId: pulumi.Output<string | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the network interface.
|
|
34
|
+
*/
|
|
25
35
|
readonly networkInterfaceId: pulumi.Output<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The primary or secondary private IP address to associate with the Elastic IP address.
|
|
38
|
+
*/
|
|
26
39
|
readonly privateIpAddress: pulumi.Output<string | undefined>;
|
|
27
40
|
/**
|
|
28
41
|
* Create a EIPAssociation resource with the given unique name, arguments, and options.
|
|
@@ -31,16 +44,30 @@ export declare class EIPAssociation extends pulumi.CustomResource {
|
|
|
31
44
|
* @param args The arguments to use to populate this resource's properties.
|
|
32
45
|
* @param opts A bag of options that control this resource's behavior.
|
|
33
46
|
*/
|
|
34
|
-
/** @deprecated EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
35
47
|
constructor(name: string, args?: EIPAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* The set of arguments for constructing a EIPAssociation resource.
|
|
39
51
|
*/
|
|
40
52
|
export interface EIPAssociationArgs {
|
|
53
|
+
/**
|
|
54
|
+
* The allocation ID. This is required for EC2-VPC.
|
|
55
|
+
*/
|
|
41
56
|
allocationId?: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The Elastic IP address to associate with the instance.
|
|
59
|
+
*/
|
|
42
60
|
eIP?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the instance.
|
|
63
|
+
*/
|
|
43
64
|
instanceId?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the network interface.
|
|
67
|
+
*/
|
|
44
68
|
networkInterfaceId?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The primary or secondary private IP address to associate with the Elastic IP address.
|
|
71
|
+
*/
|
|
45
72
|
privateIpAddress?: pulumi.Input<string>;
|
|
46
73
|
}
|
package/ec2/eipassociation.js
CHANGED
|
@@ -6,9 +6,7 @@ exports.EIPAssociation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Resource
|
|
10
|
-
*
|
|
11
|
-
* @deprecated EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
9
|
+
* Resource schema for EC2 EIP association.
|
|
12
10
|
*/
|
|
13
11
|
class EIPAssociation extends pulumi.CustomResource {
|
|
14
12
|
/**
|
|
@@ -20,7 +18,6 @@ class EIPAssociation extends pulumi.CustomResource {
|
|
|
20
18
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
19
|
*/
|
|
22
20
|
static get(name, id, opts) {
|
|
23
|
-
pulumi.log.warn("EIPAssociation is deprecated: EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
21
|
return new EIPAssociation(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
@@ -40,9 +37,7 @@ class EIPAssociation extends pulumi.CustomResource {
|
|
|
40
37
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
38
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
39
|
*/
|
|
43
|
-
/** @deprecated EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
44
40
|
constructor(name, args, opts) {
|
|
45
|
-
pulumi.log.warn("EIPAssociation is deprecated: EIPAssociation is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
46
41
|
let resourceInputs = {};
|
|
47
42
|
opts = opts || {};
|
|
48
43
|
if (!opts.id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eipassociation.js","sourceRoot":"","sources":["../../ec2/eipassociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"eipassociation.js","sourceRoot":"","sources":["../../ec2/eipassociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,E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,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAzEL,wCA0EC;AA7DG,gBAAgB;AACO,2BAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource schema for EC2 EIP association.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getEIPAssociation(args: GetEIPAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetEIPAssociationResult>;
|
|
6
6
|
export interface GetEIPAssociationArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Composite ID of non-empty properties, to determine the identification.
|
|
9
|
+
*/
|
|
7
10
|
id: string;
|
|
8
11
|
}
|
|
9
12
|
export interface GetEIPAssociationResult {
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* The Elastic IP address to associate with the instance.
|
|
15
|
+
*/
|
|
11
16
|
readonly eIP?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Composite ID of non-empty properties, to determine the identification.
|
|
19
|
+
*/
|
|
12
20
|
readonly id?: string;
|
|
13
|
-
readonly instanceId?: string;
|
|
14
|
-
readonly networkInterfaceId?: string;
|
|
15
|
-
readonly privateIpAddress?: string;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
|
-
* Resource
|
|
23
|
+
* Resource schema for EC2 EIP association.
|
|
19
24
|
*/
|
|
20
25
|
export declare function getEIPAssociationOutput(args: GetEIPAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEIPAssociationResult>;
|
|
21
26
|
export interface GetEIPAssociationOutputArgs {
|
|
27
|
+
/**
|
|
28
|
+
* Composite ID of non-empty properties, to determine the identification.
|
|
29
|
+
*/
|
|
22
30
|
id: pulumi.Input<string>;
|
|
23
31
|
}
|
package/ec2/getEIPAssociation.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getEIPAssociationOutput = exports.getEIPAssociation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Resource
|
|
9
|
+
* Resource schema for EC2 EIP association.
|
|
10
10
|
*/
|
|
11
11
|
function getEIPAssociation(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -16,7 +16,7 @@ function getEIPAssociation(args, opts) {
|
|
|
16
16
|
}
|
|
17
17
|
exports.getEIPAssociation = getEIPAssociation;
|
|
18
18
|
/**
|
|
19
|
-
* Resource
|
|
19
|
+
* Resource schema for EC2 EIP association.
|
|
20
20
|
*/
|
|
21
21
|
function getEIPAssociationOutput(args, opts) {
|
|
22
22
|
return pulumi.output(args).apply((a) => getEIPAssociation(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEIPAssociation.js","sourceRoot":"","sources":["../../ec2/getEIPAssociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;
|
|
1
|
+
{"version":3,"file":"getEIPAssociation.js","sourceRoot":"","sources":["../../ec2/getEIPAssociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAmBD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for IAM Group Policy
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGroupPolicy(args: GetGroupPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupPolicyResult>;
|
|
6
|
+
export interface GetGroupPolicyArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The name of the group to associate the policy with.
|
|
9
|
+
*/
|
|
10
|
+
groupName: string;
|
|
11
|
+
/**
|
|
12
|
+
* The name of the policy document.
|
|
13
|
+
*/
|
|
14
|
+
policyName: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetGroupPolicyResult {
|
|
17
|
+
/**
|
|
18
|
+
* The policy document.
|
|
19
|
+
*/
|
|
20
|
+
readonly policyDocument?: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Schema for IAM Group Policy
|
|
24
|
+
*/
|
|
25
|
+
export declare function getGroupPolicyOutput(args: GetGroupPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupPolicyResult>;
|
|
26
|
+
export interface GetGroupPolicyOutputArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The name of the group to associate the policy with.
|
|
29
|
+
*/
|
|
30
|
+
groupName: pulumi.Input<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the policy document.
|
|
33
|
+
*/
|
|
34
|
+
policyName: pulumi.Input<string>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGroupPolicyOutput = exports.getGroupPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for IAM Group Policy
|
|
10
|
+
*/
|
|
11
|
+
function getGroupPolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:iam:getGroupPolicy", {
|
|
14
|
+
"groupName": args.groupName,
|
|
15
|
+
"policyName": args.policyName,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getGroupPolicy = getGroupPolicy;
|
|
19
|
+
/**
|
|
20
|
+
* Schema for IAM Group Policy
|
|
21
|
+
*/
|
|
22
|
+
function getGroupPolicyOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getGroupPolicy(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getGroupPolicyOutput = getGroupPolicyOutput;
|
|
26
|
+
//# sourceMappingURL=getGroupPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupPolicy.js","sourceRoot":"","sources":["../../iam/getGroupPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAmBD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for IAM Role Policy
|
|
4
|
+
*/
|
|
5
|
+
export declare function getRolePolicy(args: GetRolePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRolePolicyResult>;
|
|
6
|
+
export interface GetRolePolicyArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The friendly name (not ARN) identifying the policy.
|
|
9
|
+
*/
|
|
10
|
+
policyName: string;
|
|
11
|
+
/**
|
|
12
|
+
* The name of the policy document.
|
|
13
|
+
*/
|
|
14
|
+
roleName: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetRolePolicyResult {
|
|
17
|
+
/**
|
|
18
|
+
* The policy document.
|
|
19
|
+
*/
|
|
20
|
+
readonly policyDocument?: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Schema for IAM Role Policy
|
|
24
|
+
*/
|
|
25
|
+
export declare function getRolePolicyOutput(args: GetRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRolePolicyResult>;
|
|
26
|
+
export interface GetRolePolicyOutputArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The friendly name (not ARN) identifying the policy.
|
|
29
|
+
*/
|
|
30
|
+
policyName: pulumi.Input<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the policy document.
|
|
33
|
+
*/
|
|
34
|
+
roleName: pulumi.Input<string>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRolePolicyOutput = exports.getRolePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for IAM Role Policy
|
|
10
|
+
*/
|
|
11
|
+
function getRolePolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:iam:getRolePolicy", {
|
|
14
|
+
"policyName": args.policyName,
|
|
15
|
+
"roleName": args.roleName,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getRolePolicy = getRolePolicy;
|
|
19
|
+
/**
|
|
20
|
+
* Schema for IAM Role Policy
|
|
21
|
+
*/
|
|
22
|
+
function getRolePolicyOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getRolePolicy(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getRolePolicyOutput = getRolePolicyOutput;
|
|
26
|
+
//# sourceMappingURL=getRolePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRolePolicy.js","sourceRoot":"","sources":["../../iam/getRolePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAmBD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for IAM User Policy
|
|
4
|
+
*/
|
|
5
|
+
export declare function getUserPolicy(args: GetUserPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetUserPolicyResult>;
|
|
6
|
+
export interface GetUserPolicyArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The name of the policy document.
|
|
9
|
+
*/
|
|
10
|
+
policyName: string;
|
|
11
|
+
/**
|
|
12
|
+
* The name of the user to associate the policy with.
|
|
13
|
+
*/
|
|
14
|
+
userName: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetUserPolicyResult {
|
|
17
|
+
/**
|
|
18
|
+
* The policy document.
|
|
19
|
+
*/
|
|
20
|
+
readonly policyDocument?: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Schema for IAM User Policy
|
|
24
|
+
*/
|
|
25
|
+
export declare function getUserPolicyOutput(args: GetUserPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserPolicyResult>;
|
|
26
|
+
export interface GetUserPolicyOutputArgs {
|
|
27
|
+
/**
|
|
28
|
+
* The name of the policy document.
|
|
29
|
+
*/
|
|
30
|
+
policyName: pulumi.Input<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the user to associate the policy with.
|
|
33
|
+
*/
|
|
34
|
+
userName: pulumi.Input<string>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUserPolicyOutput = exports.getUserPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for IAM User Policy
|
|
10
|
+
*/
|
|
11
|
+
function getUserPolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:iam:getUserPolicy", {
|
|
14
|
+
"policyName": args.policyName,
|
|
15
|
+
"userName": args.userName,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getUserPolicy = getUserPolicy;
|
|
19
|
+
/**
|
|
20
|
+
* Schema for IAM User Policy
|
|
21
|
+
*/
|
|
22
|
+
function getUserPolicyOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getUserPolicy(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getUserPolicyOutput = getUserPolicyOutput;
|
|
26
|
+
//# sourceMappingURL=getUserPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserPolicy.js","sourceRoot":"","sources":["../../iam/getUserPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAmBD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for IAM Group Policy
|
|
4
|
+
*/
|
|
5
|
+
export declare class GroupPolicy extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing GroupPolicy resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GroupPolicy;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of GroupPolicy. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is GroupPolicy;
|
|
20
|
+
/**
|
|
21
|
+
* The name of the group to associate the policy with.
|
|
22
|
+
*/
|
|
23
|
+
readonly groupName: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The policy document.
|
|
26
|
+
*/
|
|
27
|
+
readonly policyDocument: pulumi.Output<any | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the policy document.
|
|
30
|
+
*/
|
|
31
|
+
readonly policyName: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Create a GroupPolicy resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: GroupPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a GroupPolicy resource.
|
|
43
|
+
*/
|
|
44
|
+
export interface GroupPolicyArgs {
|
|
45
|
+
/**
|
|
46
|
+
* The name of the group to associate the policy with.
|
|
47
|
+
*/
|
|
48
|
+
groupName: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The policy document.
|
|
51
|
+
*/
|
|
52
|
+
policyDocument?: any;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the policy document.
|
|
55
|
+
*/
|
|
56
|
+
policyName: pulumi.Input<string>;
|
|
57
|
+
}
|