@volcengine/pulumi 0.0.18 → 0.0.21
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/scalingConfiguration.d.ts +18 -0
- package/autoscaling/scalingConfiguration.js +2 -0
- package/autoscaling/scalingConfiguration.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +62 -4
- package/autoscaling/scalingGroup.js +11 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingGroups.d.ts +12 -0
- package/autoscaling/scalingGroups.js +1 -0
- package/autoscaling/scalingGroups.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +31 -6
- package/autoscaling/scalingLifecycleHook.js +16 -3
- package/autoscaling/scalingLifecycleHook.js.map +1 -1
- package/bioos/cluster.d.ts +11 -11
- package/bioos/cluster.js +6 -6
- package/bioos/cluster.js.map +1 -1
- package/bioos/clusters.d.ts +3 -0
- package/bioos/clusters.js.map +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/clb.d.ts +68 -18
- package/clb/clb.js +38 -17
- package/clb/clb.js.map +1 -1
- package/clb/listener.d.ts +101 -0
- package/clb/listener.js +26 -0
- package/clb/listener.js.map +1 -1
- package/clb/serverGroup.d.ts +12 -0
- package/clb/serverGroup.js +2 -0
- package/clb/serverGroup.js.map +1 -1
- package/direct_connect/bgpPeer.d.ts +175 -0
- package/direct_connect/bgpPeer.js +100 -0
- package/direct_connect/bgpPeer.js.map +1 -0
- package/direct_connect/bgpPeers.d.ts +129 -0
- package/direct_connect/bgpPeers.js +52 -0
- package/direct_connect/bgpPeers.js.map +1 -0
- package/direct_connect/connection.d.ts +217 -0
- package/direct_connect/connection.js +133 -0
- package/direct_connect/connection.js.map +1 -0
- package/direct_connect/connections.d.ts +154 -0
- package/direct_connect/connections.js +54 -0
- package/direct_connect/connections.js.map +1 -0
- package/direct_connect/gateway.d.ts +100 -0
- package/direct_connect/gateway.js +79 -0
- package/direct_connect/gateway.js.map +1 -0
- package/direct_connect/gatewayRoute.d.ts +143 -0
- package/direct_connect/gatewayRoute.js +97 -0
- package/direct_connect/gatewayRoute.js.map +1 -0
- package/direct_connect/gatewayRoutes.d.ts +141 -0
- package/direct_connect/gatewayRoutes.js +58 -0
- package/direct_connect/gatewayRoutes.js.map +1 -0
- package/direct_connect/gateways.d.ts +118 -0
- package/direct_connect/gateways.js +51 -0
- package/direct_connect/gateways.js.map +1 -0
- package/direct_connect/index.d.ts +30 -0
- package/direct_connect/index.js +57 -0
- package/direct_connect/index.js.map +1 -0
- package/direct_connect/virtualInterface.d.ts +263 -0
- package/direct_connect/virtualInterface.js +127 -0
- package/direct_connect/virtualInterface.js.map +1 -0
- package/direct_connect/virtualInterfaces.d.ts +178 -0
- package/direct_connect/virtualInterfaces.js +56 -0
- package/direct_connect/virtualInterfaces.js.map +1 -0
- package/ebs/volume.d.ts +1 -1
- package/ecs/availableResources.d.ts +114 -0
- package/ecs/availableResources.js +50 -0
- package/ecs/availableResources.js.map +1 -0
- package/ecs/index.d.ts +3 -0
- package/ecs/index.js +4 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +24 -3
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/eip/address.d.ts +1 -1
- package/iam/index.d.ts +15 -0
- package/iam/index.js +22 -1
- package/iam/index.js.map +1 -1
- package/iam/userGroup.d.ts +95 -0
- package/iam/userGroup.js +79 -0
- package/iam/userGroup.js.map +1 -0
- package/iam/userGroupAttachment.d.ts +92 -0
- package/iam/userGroupAttachment.js +89 -0
- package/iam/userGroupAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +105 -0
- package/iam/userGroupPolicyAttachment.js +95 -0
- package/iam/userGroupPolicyAttachment.js.map +1 -0
- package/iam/userGroupPolicyAttachments.d.ts +107 -0
- package/iam/userGroupPolicyAttachments.js +78 -0
- package/iam/userGroupPolicyAttachments.js.map +1 -0
- package/iam/userGroups.d.ts +87 -0
- package/iam/userGroups.js +59 -0
- package/iam/userGroups.js.map +1 -0
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +0 -12
- package/mongodb/mongoAllowList.js +0 -2
- package/mongodb/mongoAllowList.js.map +1 -1
- package/nas/fileSystem.d.ts +241 -0
- package/nas/fileSystem.js +123 -0
- package/nas/fileSystem.js.map +1 -0
- package/nas/fileSystems.d.ts +231 -0
- package/nas/fileSystems.js +90 -0
- package/nas/fileSystems.js.map +1 -0
- package/nas/index.d.ts +30 -0
- package/nas/index.js +55 -0
- package/nas/index.js.map +1 -0
- package/nas/mountPoint.d.ts +103 -0
- package/nas/mountPoint.js +80 -0
- package/nas/mountPoint.js.map +1 -0
- package/nas/mountPoints.d.ts +91 -0
- package/nas/mountPoints.js +29 -0
- package/nas/mountPoints.js.map +1 -0
- package/nas/permissionGroup.d.ts +116 -0
- package/nas/permissionGroup.js +92 -0
- package/nas/permissionGroup.js.map +1 -0
- package/nas/permissionGroups.d.ts +116 -0
- package/nas/permissionGroups.js +87 -0
- package/nas/permissionGroups.js.map +1 -0
- package/nas/regions.d.ts +62 -0
- package/nas/regions.js +42 -0
- package/nas/regions.js.map +1 -0
- package/nas/snapshot.d.ts +167 -0
- package/nas/snapshot.js +100 -0
- package/nas/snapshot.js.map +1 -0
- package/nas/snapshots.d.ts +131 -0
- package/nas/snapshots.js +59 -0
- package/nas/snapshots.js.map +1 -0
- package/nas/zones.d.ts +62 -0
- package/nas/zones.js +42 -0
- package/nas/zones.js.map +1 -0
- package/nat/gateway.d.ts +1 -1
- package/package.json +2 -2
- package/redis/instance.d.ts +7 -4
- package/redis/instance.js +1 -1
- package/redis/instance.js.map +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/transit_router/bandwidthPackage.d.ts +211 -0
- package/transit_router/bandwidthPackage.js +102 -0
- package/transit_router/bandwidthPackage.js.map +1 -0
- package/transit_router/bandwidthPackages.d.ts +115 -0
- package/transit_router/bandwidthPackages.js +65 -0
- package/transit_router/bandwidthPackages.js.map +1 -0
- package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
- package/transit_router/directConnectGatewayAttachment.js +87 -0
- package/transit_router/directConnectGatewayAttachment.js.map +1 -0
- package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
- package/transit_router/directConnectGatewayAttachments.js +48 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -0
- package/transit_router/grantRule.d.ts +95 -0
- package/transit_router/grantRule.js +82 -0
- package/transit_router/grantRule.js.map +1 -0
- package/transit_router/grantRules.d.ts +90 -0
- package/transit_router/grantRules.js +47 -0
- package/transit_router/grantRules.js.map +1 -0
- package/transit_router/index.d.ts +69 -0
- package/transit_router/index.js +110 -0
- package/transit_router/index.js.map +1 -0
- package/transit_router/peerAttachment.d.ts +179 -0
- package/transit_router/peerAttachment.js +105 -0
- package/transit_router/peerAttachment.js.map +1 -0
- package/transit_router/peerAttachments.d.ts +132 -0
- package/transit_router/peerAttachments.js +52 -0
- package/transit_router/peerAttachments.js.map +1 -0
- package/transit_router/routeEntries.d.ts +122 -0
- package/transit_router/routeEntries.js +52 -0
- package/transit_router/routeEntries.js.map +1 -0
- package/transit_router/routeEntry.d.ts +173 -0
- package/transit_router/routeEntry.js +103 -0
- package/transit_router/routeEntry.js.map +1 -0
- package/transit_router/routeTable.d.ts +135 -0
- package/transit_router/routeTable.js +89 -0
- package/transit_router/routeTable.js.map +1 -0
- package/transit_router/routeTableAssociation.d.ts +82 -0
- package/transit_router/routeTableAssociation.js +79 -0
- package/transit_router/routeTableAssociation.js.map +1 -0
- package/transit_router/routeTableAssociations.d.ts +92 -0
- package/transit_router/routeTableAssociations.js +49 -0
- package/transit_router/routeTableAssociations.js.map +1 -0
- package/transit_router/routeTablePropagation.d.ts +82 -0
- package/transit_router/routeTablePropagation.js +79 -0
- package/transit_router/routeTablePropagation.js.map +1 -0
- package/transit_router/routeTablePropagations.d.ts +92 -0
- package/transit_router/routeTablePropagations.js +49 -0
- package/transit_router/routeTablePropagations.js.map +1 -0
- package/transit_router/routeTables.d.ts +98 -0
- package/transit_router/routeTables.js +50 -0
- package/transit_router/routeTables.js.map +1 -0
- package/transit_router/sharedTransitRouterState.d.ts +82 -0
- package/transit_router/sharedTransitRouterState.js +79 -0
- package/transit_router/sharedTransitRouterState.js.map +1 -0
- package/transit_router/transitRouter.d.ts +148 -0
- package/transit_router/transitRouter.js +89 -0
- package/transit_router/transitRouter.js.map +1 -0
- package/transit_router/transitRouters.d.ts +89 -0
- package/transit_router/transitRouters.js +50 -0
- package/transit_router/transitRouters.js.map +1 -0
- package/transit_router/vpcAttachment.d.ts +164 -0
- package/transit_router/vpcAttachment.js +108 -0
- package/transit_router/vpcAttachment.js.map +1 -0
- package/transit_router/vpcAttachments.d.ts +101 -0
- package/transit_router/vpcAttachments.js +50 -0
- package/transit_router/vpcAttachments.js.map +1 -0
- package/transit_router/vpnAttachment.d.ts +153 -0
- package/transit_router/vpnAttachment.js +99 -0
- package/transit_router/vpnAttachment.js.map +1 -0
- package/transit_router/vpnAttachments.d.ts +101 -0
- package/transit_router/vpnAttachments.js +50 -0
- package/transit_router/vpnAttachments.js.map +1 -0
- package/types/input.d.ts +299 -4
- package/types/output.d.ts +5396 -3373
- package/vke/index.d.ts +3 -0
- package/vke/index.js +4 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +3 -3
- package/vke/nodePool.js +3 -3
- package/vke/supportResourceTypes.d.ts +80 -0
- package/vke/supportResourceTypes.js +44 -0
- package/vke/supportResourceTypes.js.map +1 -0
- package/vpc/haVip.d.ts +206 -0
- package/vpc/haVip.js +120 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/haVipAssociate.d.ts +131 -0
- package/vpc/haVipAssociate.js +118 -0
- package/vpc/haVipAssociate.js.map +1 -0
- package/vpc/haVips.d.ts +192 -0
- package/vpc/haVips.js +90 -0
- package/vpc/haVips.js.map +1 -0
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +22 -1
- package/vpc/index.js.map +1 -1
- package/vpc/networkAcl.d.ts +1 -1
- package/vpc/networkInterface.d.ts +31 -1
- package/vpc/networkInterface.js +4 -0
- package/vpc/networkInterface.js.map +1 -1
- package/vpc/prefixList.d.ts +166 -0
- package/vpc/prefixList.js +106 -0
- package/vpc/prefixList.js.map +1 -0
- package/vpc/prefixLists.d.ts +151 -0
- package/vpc/prefixLists.js +92 -0
- package/vpc/prefixLists.js.map +1 -0
- package/vpc/routeTable.d.ts +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/gateway.d.ts +37 -1
- package/vpn/gateway.js +6 -0
- package/vpn/gateway.js.map +1 -1
- package/vpn/index.d.ts +12 -0
- package/vpn/index.js +17 -1
- package/vpn/index.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +201 -0
- package/vpn/sslVpnClientCert.js +131 -0
- package/vpn/sslVpnClientCert.js.map +1 -0
- package/vpn/sslVpnClientCerts.d.ts +192 -0
- package/vpn/sslVpnClientCerts.js +134 -0
- package/vpn/sslVpnClientCerts.js.map +1 -0
- package/vpn/sslVpnServer.d.ts +231 -0
- package/vpn/sslVpnServer.js +128 -0
- package/vpn/sslVpnServer.js.map +1 -0
- package/vpn/sslVpnServers.d.ts +167 -0
- package/vpn/sslVpnServers.js +117 -0
- package/vpn/sslVpnServers.js.map +1 -0
package/iam/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.usersOutput = exports.users = exports.UserPolicyAttachment = exports.User = exports.rolesOutput = exports.roles = exports.RolePolicyAttachment = exports.Role = exports.Policy = exports.policiesOutput = exports.policies = exports.LoginProfile = exports.AccessKey = void 0;
|
|
5
|
+
exports.usersOutput = exports.users = exports.UserPolicyAttachment = exports.userGroupsOutput = exports.userGroups = exports.userGroupPolicyAttachmentsOutput = exports.userGroupPolicyAttachments = exports.UserGroupPolicyAttachment = exports.UserGroupAttachment = exports.UserGroup = exports.User = exports.rolesOutput = exports.roles = exports.RolePolicyAttachment = exports.Role = exports.Policy = exports.policiesOutput = exports.policies = exports.LoginProfile = exports.AccessKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AccessKey = null;
|
|
@@ -23,6 +23,18 @@ exports.rolesOutput = null;
|
|
|
23
23
|
utilities.lazyLoad(exports, ["roles", "rolesOutput"], () => require("./roles"));
|
|
24
24
|
exports.User = null;
|
|
25
25
|
utilities.lazyLoad(exports, ["User"], () => require("./user"));
|
|
26
|
+
exports.UserGroup = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["UserGroup"], () => require("./userGroup"));
|
|
28
|
+
exports.UserGroupAttachment = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["UserGroupAttachment"], () => require("./userGroupAttachment"));
|
|
30
|
+
exports.UserGroupPolicyAttachment = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["UserGroupPolicyAttachment"], () => require("./userGroupPolicyAttachment"));
|
|
32
|
+
exports.userGroupPolicyAttachments = null;
|
|
33
|
+
exports.userGroupPolicyAttachmentsOutput = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["userGroupPolicyAttachments", "userGroupPolicyAttachmentsOutput"], () => require("./userGroupPolicyAttachments"));
|
|
35
|
+
exports.userGroups = null;
|
|
36
|
+
exports.userGroupsOutput = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["userGroups", "userGroupsOutput"], () => require("./userGroups"));
|
|
26
38
|
exports.UserPolicyAttachment = null;
|
|
27
39
|
utilities.lazyLoad(exports, ["UserPolicyAttachment"], () => require("./userPolicyAttachment"));
|
|
28
40
|
exports.users = null;
|
|
@@ -44,6 +56,12 @@ const _module = {
|
|
|
44
56
|
return new exports.RolePolicyAttachment(name, undefined, { urn });
|
|
45
57
|
case "volcengine:iam/user:User":
|
|
46
58
|
return new exports.User(name, undefined, { urn });
|
|
59
|
+
case "volcengine:iam/userGroup:UserGroup":
|
|
60
|
+
return new exports.UserGroup(name, undefined, { urn });
|
|
61
|
+
case "volcengine:iam/userGroupAttachment:UserGroupAttachment":
|
|
62
|
+
return new exports.UserGroupAttachment(name, undefined, { urn });
|
|
63
|
+
case "volcengine:iam/userGroupPolicyAttachment:UserGroupPolicyAttachment":
|
|
64
|
+
return new exports.UserGroupPolicyAttachment(name, undefined, { urn });
|
|
47
65
|
case "volcengine:iam/userPolicyAttachment:UserPolicyAttachment":
|
|
48
66
|
return new exports.UserPolicyAttachment(name, undefined, { urn });
|
|
49
67
|
default:
|
|
@@ -57,5 +75,8 @@ pulumi.runtime.registerResourceModule("volcengine", "iam/policy", _module);
|
|
|
57
75
|
pulumi.runtime.registerResourceModule("volcengine", "iam/role", _module);
|
|
58
76
|
pulumi.runtime.registerResourceModule("volcengine", "iam/rolePolicyAttachment", _module);
|
|
59
77
|
pulumi.runtime.registerResourceModule("volcengine", "iam/user", _module);
|
|
78
|
+
pulumi.runtime.registerResourceModule("volcengine", "iam/userGroup", _module);
|
|
79
|
+
pulumi.runtime.registerResourceModule("volcengine", "iam/userGroupAttachment", _module);
|
|
80
|
+
pulumi.runtime.registerResourceModule("volcengine", "iam/userGroupPolicyAttachment", _module);
|
|
60
81
|
pulumi.runtime.registerResourceModule("volcengine", "iam/userPolicyAttachment", _module);
|
|
61
82
|
//# sourceMappingURL=index.js.map
|
package/iam/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../iam/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;A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|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.iam.UserGroup("foo", {
|
|
11
|
+
* description: "acc-test",
|
|
12
|
+
* displayName: "acctest",
|
|
13
|
+
* userGroupName: "acc-test-group",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* IamUserGroup can be imported using the id, e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import volcengine:iam/userGroup:UserGroup default user_group_name
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class UserGroup extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing UserGroup 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?: UserGroupState, opts?: pulumi.CustomResourceOptions): UserGroup;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of UserGroup. 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 UserGroup;
|
|
41
|
+
/**
|
|
42
|
+
* The description of the user group.
|
|
43
|
+
*/
|
|
44
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The display name of the user group.
|
|
47
|
+
*/
|
|
48
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the user group.
|
|
51
|
+
*/
|
|
52
|
+
readonly userGroupName: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a UserGroup resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: UserGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering UserGroup resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface UserGroupState {
|
|
66
|
+
/**
|
|
67
|
+
* The description of the user group.
|
|
68
|
+
*/
|
|
69
|
+
description?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The display name of the user group.
|
|
72
|
+
*/
|
|
73
|
+
displayName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the user group.
|
|
76
|
+
*/
|
|
77
|
+
userGroupName?: pulumi.Input<string>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a UserGroup resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface UserGroupArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The description of the user group.
|
|
85
|
+
*/
|
|
86
|
+
description?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The display name of the user group.
|
|
89
|
+
*/
|
|
90
|
+
displayName?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The name of the user group.
|
|
93
|
+
*/
|
|
94
|
+
userGroupName: pulumi.Input<string>;
|
|
95
|
+
}
|
package/iam/userGroup.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
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.UserGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage iam user group
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.iam.UserGroup("foo", {
|
|
17
|
+
* description: "acc-test",
|
|
18
|
+
* displayName: "acctest",
|
|
19
|
+
* userGroupName: "acc-test-group",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* IamUserGroup can be imported using the id, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcengine:iam/userGroup:UserGroup default user_group_name
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class UserGroup extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing UserGroup resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new UserGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of UserGroup. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === UserGroup.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
60
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
61
|
+
resourceInputs["userGroupName"] = state ? state.userGroupName : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.userGroupName === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'userGroupName'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
69
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
70
|
+
resourceInputs["userGroupName"] = args ? args.userGroupName : undefined;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(UserGroup.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.UserGroup = UserGroup;
|
|
77
|
+
/** @internal */
|
|
78
|
+
UserGroup.__pulumiType = 'volcengine:iam/userGroup:UserGroup';
|
|
79
|
+
//# sourceMappingURL=userGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroup.js","sourceRoot":"","sources":["../../iam/userGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAs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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AApEL,8BAqEC;AAvDG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage iam user group attachment
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const fooUser = new volcengine.iam.User("fooUser", {
|
|
11
|
+
* userName: "acc-test-user",
|
|
12
|
+
* description: "acc test",
|
|
13
|
+
* displayName: "name",
|
|
14
|
+
* });
|
|
15
|
+
* const fooUserGroup = new volcengine.iam.UserGroup("fooUserGroup", {
|
|
16
|
+
* userGroupName: "acc-test-group",
|
|
17
|
+
* description: "acc-test",
|
|
18
|
+
* displayName: "acctest",
|
|
19
|
+
* });
|
|
20
|
+
* const fooUserGroupAttachment = new volcengine.iam.UserGroupAttachment("fooUserGroupAttachment", {
|
|
21
|
+
* userGroupName: fooUserGroup.userGroupName,
|
|
22
|
+
* userName: fooUser.userName,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* IamUserGroupAttachment can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:iam/userGroupAttachment:UserGroupAttachment default user_group_id:user_id
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class UserGroupAttachment extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing UserGroupAttachment resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserGroupAttachmentState, opts?: pulumi.CustomResourceOptions): UserGroupAttachment;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of UserGroupAttachment. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is UserGroupAttachment;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the user group.
|
|
52
|
+
*/
|
|
53
|
+
readonly userGroupName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the user.
|
|
56
|
+
*/
|
|
57
|
+
readonly userName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a UserGroupAttachment resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args: UserGroupAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering UserGroupAttachment resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface UserGroupAttachmentState {
|
|
71
|
+
/**
|
|
72
|
+
* The name of the user group.
|
|
73
|
+
*/
|
|
74
|
+
userGroupName?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of the user.
|
|
77
|
+
*/
|
|
78
|
+
userName?: pulumi.Input<string>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The set of arguments for constructing a UserGroupAttachment resource.
|
|
82
|
+
*/
|
|
83
|
+
export interface UserGroupAttachmentArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The name of the user group.
|
|
86
|
+
*/
|
|
87
|
+
userGroupName: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the user.
|
|
90
|
+
*/
|
|
91
|
+
userName: pulumi.Input<string>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.UserGroupAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage iam user group attachment
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooUser = new volcengine.iam.User("fooUser", {
|
|
17
|
+
* userName: "acc-test-user",
|
|
18
|
+
* description: "acc test",
|
|
19
|
+
* displayName: "name",
|
|
20
|
+
* });
|
|
21
|
+
* const fooUserGroup = new volcengine.iam.UserGroup("fooUserGroup", {
|
|
22
|
+
* userGroupName: "acc-test-group",
|
|
23
|
+
* description: "acc-test",
|
|
24
|
+
* displayName: "acctest",
|
|
25
|
+
* });
|
|
26
|
+
* const fooUserGroupAttachment = new volcengine.iam.UserGroupAttachment("fooUserGroupAttachment", {
|
|
27
|
+
* userGroupName: fooUserGroup.userGroupName,
|
|
28
|
+
* userName: fooUser.userName,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* IamUserGroupAttachment can be imported using the id, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcengine:iam/userGroupAttachment:UserGroupAttachment default user_group_id:user_id
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class UserGroupAttachment extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing UserGroupAttachment resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new UserGroupAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of UserGroupAttachment. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === UserGroupAttachment.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["userGroupName"] = state ? state.userGroupName : undefined;
|
|
69
|
+
resourceInputs["userName"] = state ? state.userName : undefined;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
const args = argsOrState;
|
|
73
|
+
if ((!args || args.userGroupName === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'userGroupName'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'userName'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["userGroupName"] = args ? args.userGroupName : undefined;
|
|
80
|
+
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(UserGroupAttachment.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.UserGroupAttachment = UserGroupAttachment;
|
|
87
|
+
/** @internal */
|
|
88
|
+
UserGroupAttachment.__pulumiType = 'volcengine:iam/userGroupAttachment:UserGroupAttachment';
|
|
89
|
+
//# sourceMappingURL=userGroupAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupAttachment.js","sourceRoot":"","sources":["../../iam/userGroupAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage iam user group policy attachment
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const fooPolicy = new volcengine.iam.Policy("fooPolicy", {
|
|
11
|
+
* policyName: "acc-test-policy",
|
|
12
|
+
* description: "acc-test",
|
|
13
|
+
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
14
|
+
* });
|
|
15
|
+
* const fooUserGroup = new volcengine.iam.UserGroup("fooUserGroup", {
|
|
16
|
+
* userGroupName: "acc-test-group",
|
|
17
|
+
* description: "acc-test",
|
|
18
|
+
* displayName: "acc-test",
|
|
19
|
+
* });
|
|
20
|
+
* const fooUserGroupPolicyAttachment = new volcengine.iam.UserGroupPolicyAttachment("fooUserGroupPolicyAttachment", {
|
|
21
|
+
* policyName: fooPolicy.policyName,
|
|
22
|
+
* policyType: "Custom",
|
|
23
|
+
* userGroupName: fooUserGroup.userGroupName,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* IamUserGroupPolicyAttachment can be imported using the user group name and policy name, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcengine:iam/userGroupPolicyAttachment:UserGroupPolicyAttachment default userGroupName:policyName
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class UserGroupPolicyAttachment extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing UserGroupPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserGroupPolicyAttachmentState, opts?: pulumi.CustomResourceOptions): UserGroupPolicyAttachment;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of UserGroupPolicyAttachment. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is UserGroupPolicyAttachment;
|
|
51
|
+
/**
|
|
52
|
+
* The policy name.
|
|
53
|
+
*/
|
|
54
|
+
readonly policyName: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Strategy types, System strategy, Custom strategy.
|
|
57
|
+
*/
|
|
58
|
+
readonly policyType: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The user group name.
|
|
61
|
+
*/
|
|
62
|
+
readonly userGroupName: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a UserGroupPolicyAttachment resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: UserGroupPolicyAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering UserGroupPolicyAttachment resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface UserGroupPolicyAttachmentState {
|
|
76
|
+
/**
|
|
77
|
+
* The policy name.
|
|
78
|
+
*/
|
|
79
|
+
policyName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Strategy types, System strategy, Custom strategy.
|
|
82
|
+
*/
|
|
83
|
+
policyType?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The user group name.
|
|
86
|
+
*/
|
|
87
|
+
userGroupName?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a UserGroupPolicyAttachment resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface UserGroupPolicyAttachmentArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The policy name.
|
|
95
|
+
*/
|
|
96
|
+
policyName: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Strategy types, System strategy, Custom strategy.
|
|
99
|
+
*/
|
|
100
|
+
policyType: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The user group name.
|
|
103
|
+
*/
|
|
104
|
+
userGroupName: pulumi.Input<string>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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.UserGroupPolicyAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage iam user group policy attachment
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooPolicy = new volcengine.iam.Policy("fooPolicy", {
|
|
17
|
+
* policyName: "acc-test-policy",
|
|
18
|
+
* description: "acc-test",
|
|
19
|
+
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
20
|
+
* });
|
|
21
|
+
* const fooUserGroup = new volcengine.iam.UserGroup("fooUserGroup", {
|
|
22
|
+
* userGroupName: "acc-test-group",
|
|
23
|
+
* description: "acc-test",
|
|
24
|
+
* displayName: "acc-test",
|
|
25
|
+
* });
|
|
26
|
+
* const fooUserGroupPolicyAttachment = new volcengine.iam.UserGroupPolicyAttachment("fooUserGroupPolicyAttachment", {
|
|
27
|
+
* policyName: fooPolicy.policyName,
|
|
28
|
+
* policyType: "Custom",
|
|
29
|
+
* userGroupName: fooUserGroup.userGroupName,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* IamUserGroupPolicyAttachment can be imported using the user group name and policy name, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:iam/userGroupPolicyAttachment:UserGroupPolicyAttachment default userGroupName:policyName
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class UserGroupPolicyAttachment extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing UserGroupPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new UserGroupPolicyAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of UserGroupPolicyAttachment. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === UserGroupPolicyAttachment.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["policyName"] = state ? state.policyName : undefined;
|
|
70
|
+
resourceInputs["policyType"] = state ? state.policyType : undefined;
|
|
71
|
+
resourceInputs["userGroupName"] = state ? state.userGroupName : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.policyName === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'policyName'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.policyType === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'policyType'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.userGroupName === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'userGroupName'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["policyName"] = args ? args.policyName : undefined;
|
|
85
|
+
resourceInputs["policyType"] = args ? args.policyType : undefined;
|
|
86
|
+
resourceInputs["userGroupName"] = args ? args.userGroupName : undefined;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(UserGroupPolicyAttachment.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.UserGroupPolicyAttachment = UserGroupPolicyAttachment;
|
|
93
|
+
/** @internal */
|
|
94
|
+
UserGroupPolicyAttachment.__pulumiType = 'volcengine:iam/userGroupPolicyAttachment:UserGroupPolicyAttachment';
|
|
95
|
+
//# sourceMappingURL=userGroupPolicyAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupPolicyAttachment.js","sourceRoot":"","sources":["../../iam/userGroupPolicyAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAA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