@pulumi/aws 4.29.0 → 4.31.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/analyzer.d.ts +6 -0
- package/accessanalyzer/analyzer.js.map +1 -1
- package/account/alternativeContact.d.ts +133 -0
- package/account/alternativeContact.js +98 -0
- package/account/alternativeContact.js.map +1 -0
- package/account/index.d.ts +1 -0
- package/account/index.js +33 -0
- package/account/index.js.map +1 -0
- package/alb/getLoadBalancer.d.ts +2 -0
- package/alb/getLoadBalancer.js.map +1 -1
- package/alb/getTargetGroup.d.ts +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/loadBalancer.d.ts +27 -3
- package/alb/loadBalancer.js +4 -0
- package/alb/loadBalancer.js.map +1 -1
- package/alb/targetGroup.d.ts +12 -0
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/applicationloadbalancing/getLoadBalancer.d.ts +2 -0
- package/applicationloadbalancing/getLoadBalancer.js.map +1 -1
- package/applicationloadbalancing/getTargetGroup.d.ts +1 -0
- package/applicationloadbalancing/getTargetGroup.js.map +1 -1
- package/applicationloadbalancing/loadBalancer.d.ts +27 -3
- package/applicationloadbalancing/loadBalancer.js +4 -0
- package/applicationloadbalancing/loadBalancer.js.map +1 -1
- package/applicationloadbalancing/targetGroup.d.ts +12 -0
- package/applicationloadbalancing/targetGroup.js +2 -0
- package/applicationloadbalancing/targetGroup.js.map +1 -1
- package/appstream/fleetStackAssociation.d.ts +91 -0
- package/appstream/fleetStackAssociation.js +90 -0
- package/appstream/fleetStackAssociation.js.map +1 -0
- package/appstream/index.d.ts +3 -0
- package/appstream/index.js +15 -0
- package/appstream/index.js.map +1 -1
- package/appstream/user.d.ts +149 -0
- package/appstream/user.js +96 -0
- package/appstream/user.js.map +1 -0
- package/appstream/userStackAssociation.d.ts +113 -0
- package/appstream/userStackAssociation.js +95 -0
- package/appstream/userStackAssociation.js.map +1 -0
- package/cfg/remediationConfiguration.d.ts +74 -20
- package/cfg/remediationConfiguration.js +17 -0
- package/cfg/remediationConfiguration.js.map +1 -1
- package/codecommit/approvalRuleTemplate.d.ts +144 -0
- package/codecommit/approvalRuleTemplate.js +100 -0
- package/codecommit/approvalRuleTemplate.js.map +1 -0
- package/codecommit/getApprovalRuleTemplate.d.ts +73 -0
- package/codecommit/getApprovalRuleTemplate.js +38 -0
- package/codecommit/getApprovalRuleTemplate.js.map +1 -0
- package/codecommit/index.d.ts +2 -0
- package/codecommit/index.js +6 -0
- package/codecommit/index.js.map +1 -1
- package/dlm/lifecyclePolicy.d.ts +67 -1
- package/dlm/lifecyclePolicy.js +67 -1
- package/dlm/lifecyclePolicy.js.map +1 -1
- package/ec2/defaultVpc.d.ts +16 -0
- package/ec2/defaultVpc.js +9 -1
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getInstanceTypes.d.ts +70 -0
- package/ec2/getInstanceTypes.js +59 -0
- package/ec2/getInstanceTypes.js.map +1 -0
- package/ec2/getVpcIamPool.d.ts +151 -0
- package/ec2/getVpcIamPool.js +53 -0
- package/ec2/getVpcIamPool.js.map +1 -0
- package/ec2/index.d.ts +8 -0
- package/ec2/index.js +32 -0
- package/ec2/index.js.map +1 -1
- package/ec2/vpc.d.ts +69 -11
- package/ec2/vpc.js +36 -4
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +178 -0
- package/ec2/vpcIpam.js +121 -0
- package/ec2/vpcIpam.js.map +1 -0
- package/ec2/vpcIpamPool.d.ts +299 -0
- package/ec2/vpcIpamPool.js +151 -0
- package/ec2/vpcIpamPool.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +136 -0
- package/ec2/vpcIpamPoolCidr.js +121 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -0
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +150 -0
- package/ec2/vpcIpamPoolCidrAllocation.js +108 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -0
- package/ec2/vpcIpamScope.d.ts +132 -0
- package/ec2/vpcIpamScope.js +99 -0
- package/ec2/vpcIpamScope.js.map +1 -0
- package/ec2/vpcIpv4CidrBlockAssociation.d.ts +28 -4
- package/ec2/vpcIpv4CidrBlockAssociation.js +4 -3
- package/ec2/vpcIpv4CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +102 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js +90 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +71 -0
- package/ecs/accountSettingDefault.js +67 -0
- package/ecs/accountSettingDefault.js.map +1 -0
- package/ecs/capacityProvider.d.ts +1 -1
- package/ecs/capacityProvider.js +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/service.d.ts +30 -30
- package/elasticloadbalancing/getLoadBalancer.d.ts +1 -0
- package/elasticloadbalancing/getLoadBalancer.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +12 -0
- package/elasticloadbalancing/loadBalancer.js +2 -0
- package/elasticloadbalancing/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/getLoadBalancer.d.ts +2 -0
- package/elasticloadbalancingv2/getLoadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/getTargetGroup.d.ts +1 -0
- package/elasticloadbalancingv2/getTargetGroup.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +27 -3
- package/elasticloadbalancingv2/loadBalancer.js +4 -0
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
- package/elasticloadbalancingv2/targetGroup.js +2 -0
- package/elasticloadbalancingv2/targetGroup.js.map +1 -1
- package/elb/getLoadBalancer.d.ts +1 -0
- package/elb/getLoadBalancer.js.map +1 -1
- package/elb/loadBalancer.d.ts +12 -0
- package/elb/loadBalancer.js +2 -0
- package/elb/loadBalancer.js.map +1 -1
- package/fsx/index.d.ts +2 -0
- package/fsx/index.js +10 -0
- package/fsx/index.js.map +1 -1
- package/fsx/ontapStorageVirtualMachine.d.ts +210 -0
- package/fsx/ontapStorageVirtualMachine.js +134 -0
- package/fsx/ontapStorageVirtualMachine.js.map +1 -0
- package/fsx/ontapVolume.d.ts +240 -0
- package/fsx/ontapVolume.js +137 -0
- package/fsx/ontapVolume.js.map +1 -0
- package/imagebuilder/getImageRecipes.d.ts +67 -0
- package/imagebuilder/getImageRecipes.js +44 -0
- package/imagebuilder/getImageRecipes.js.map +1 -0
- package/imagebuilder/index.d.ts +1 -0
- package/imagebuilder/index.js +1 -0
- package/imagebuilder/index.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingGroup.d.ts +0 -3
- package/iot/thingGroup.js +1 -1
- package/iot/thingGroup.js.map +1 -1
- package/iot/thingType.d.ts +0 -6
- package/iot/thingType.js +1 -1
- package/iot/thingType.js.map +1 -1
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lb/getLoadBalancer.d.ts +2 -0
- package/lb/getLoadBalancer.js.map +1 -1
- package/lb/getTargetGroup.d.ts +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/loadBalancer.d.ts +27 -3
- package/lb/loadBalancer.js +4 -0
- package/lb/loadBalancer.js.map +1 -1
- package/lb/targetGroup.d.ts +12 -0
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/user.d.ts +6 -6
- package/synthetics/canary.d.ts +15 -3
- package/synthetics/canary.js +2 -0
- package/synthetics/canary.js.map +1 -1
- package/types/input.d.ts +1556 -126
- package/types/output.d.ts +1424 -18
- package/wafv2/ruleGroup.d.ts +15 -3
- package/wafv2/ruleGroup.js +2 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAcl.d.ts +20 -7
- package/wafv2/webAcl.js +7 -4
- package/wafv2/webAcl.js.map +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
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.User = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an AppStream user.
|
|
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.appstream.User("example", {
|
|
18
|
+
* authenticationType: "USERPOOL",
|
|
19
|
+
* firstName: "FIRST NAME",
|
|
20
|
+
* lastName: "LAST NAME",
|
|
21
|
+
* userName: "EMAIL ADDRESS",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* `aws_appstream_user` can be imported using the `user_name` and `authentication_type` separated by a slash (`/`), e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:appstream/user:User example UserName/AuthenticationType
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class User extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let inputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
40
|
+
inputs["authenticationType"] = state ? state.authenticationType : undefined;
|
|
41
|
+
inputs["createdTime"] = state ? state.createdTime : undefined;
|
|
42
|
+
inputs["enabled"] = state ? state.enabled : undefined;
|
|
43
|
+
inputs["firstName"] = state ? state.firstName : undefined;
|
|
44
|
+
inputs["lastName"] = state ? state.lastName : undefined;
|
|
45
|
+
inputs["sendEmailNotification"] = state ? state.sendEmailNotification : undefined;
|
|
46
|
+
inputs["userName"] = state ? state.userName : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.authenticationType === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'authenticationType'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'userName'");
|
|
55
|
+
}
|
|
56
|
+
inputs["authenticationType"] = args ? args.authenticationType : undefined;
|
|
57
|
+
inputs["enabled"] = args ? args.enabled : undefined;
|
|
58
|
+
inputs["firstName"] = args ? args.firstName : undefined;
|
|
59
|
+
inputs["lastName"] = args ? args.lastName : undefined;
|
|
60
|
+
inputs["sendEmailNotification"] = args ? args.sendEmailNotification : undefined;
|
|
61
|
+
inputs["userName"] = args ? args.userName : undefined;
|
|
62
|
+
inputs["arn"] = undefined /*out*/;
|
|
63
|
+
inputs["createdTime"] = undefined /*out*/;
|
|
64
|
+
}
|
|
65
|
+
if (!opts.version) {
|
|
66
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
67
|
+
}
|
|
68
|
+
super(User.__pulumiType, name, inputs, opts);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.User = User;
|
|
94
|
+
/** @internal */
|
|
95
|
+
User.__pulumiType = 'aws:appstream/user:User';
|
|
96
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../appstream/user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAqE3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,C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AAgB;AACO,iBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an AppStream User Stack 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 testStack = new aws.appstream.Stack("testStack", {});
|
|
12
|
+
* const testUser = new aws.appstream.User("testUser", {
|
|
13
|
+
* authenticationType: "USERPOOL",
|
|
14
|
+
* userName: "EMAIL",
|
|
15
|
+
* });
|
|
16
|
+
* const testUserStackAssociation = new aws.appstream.UserStackAssociation("testUserStackAssociation", {
|
|
17
|
+
* authenticationType: testUser.authenticationType,
|
|
18
|
+
* stackName: testStack.name,
|
|
19
|
+
* userName: testUser.userName,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* AppStream User Stack Association can be imported by using the `user_name`, `authentication_type`, and `stack_name`, separated by a slash (`/`), e.g.,
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:appstream/userStackAssociation:UserStackAssociation example userName/auhtenticationType/stackName
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class UserStackAssociation extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing UserStackAssociation 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: string, id: pulumi.Input<pulumi.ID>, state?: UserStackAssociationState, opts?: pulumi.CustomResourceOptions): UserStackAssociation;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of UserStackAssociation. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is UserStackAssociation;
|
|
47
|
+
/**
|
|
48
|
+
* Authentication type for the user.
|
|
49
|
+
*/
|
|
50
|
+
readonly authenticationType: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
|
53
|
+
*/
|
|
54
|
+
readonly sendEmailNotification: pulumi.Output<boolean | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Name of the stack that is associated with the user.
|
|
57
|
+
*/
|
|
58
|
+
readonly stackName: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Email address of the user who is associated with the stack.
|
|
61
|
+
*/
|
|
62
|
+
readonly userName: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a UserStackAssociation 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: UserStackAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering UserStackAssociation resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface UserStackAssociationState {
|
|
76
|
+
/**
|
|
77
|
+
* Authentication type for the user.
|
|
78
|
+
*/
|
|
79
|
+
authenticationType?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
|
82
|
+
*/
|
|
83
|
+
sendEmailNotification?: pulumi.Input<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the stack that is associated with the user.
|
|
86
|
+
*/
|
|
87
|
+
stackName?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Email address of the user who is associated with the stack.
|
|
90
|
+
*/
|
|
91
|
+
userName?: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a UserStackAssociation resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface UserStackAssociationArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Authentication type for the user.
|
|
99
|
+
*/
|
|
100
|
+
authenticationType: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
|
103
|
+
*/
|
|
104
|
+
sendEmailNotification?: pulumi.Input<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Name of the stack that is associated with the user.
|
|
107
|
+
*/
|
|
108
|
+
stackName: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Email address of the user who is associated with the stack.
|
|
111
|
+
*/
|
|
112
|
+
userName: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -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.UserStackAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AppStream User Stack 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 testStack = new aws.appstream.Stack("testStack", {});
|
|
18
|
+
* const testUser = new aws.appstream.User("testUser", {
|
|
19
|
+
* authenticationType: "USERPOOL",
|
|
20
|
+
* userName: "EMAIL",
|
|
21
|
+
* });
|
|
22
|
+
* const testUserStackAssociation = new aws.appstream.UserStackAssociation("testUserStackAssociation", {
|
|
23
|
+
* authenticationType: testUser.authenticationType,
|
|
24
|
+
* stackName: testStack.name,
|
|
25
|
+
* userName: testUser.userName,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* AppStream User Stack Association can be imported by using the `user_name`, `authentication_type`, and `stack_name`, separated by a slash (`/`), e.g.,
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import aws:appstream/userStackAssociation:UserStackAssociation example userName/auhtenticationType/stackName
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class UserStackAssociation extends pulumi.CustomResource {
|
|
38
|
+
constructor(name, argsOrState, opts) {
|
|
39
|
+
let inputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (opts.id) {
|
|
42
|
+
const state = argsOrState;
|
|
43
|
+
inputs["authenticationType"] = state ? state.authenticationType : undefined;
|
|
44
|
+
inputs["sendEmailNotification"] = state ? state.sendEmailNotification : undefined;
|
|
45
|
+
inputs["stackName"] = state ? state.stackName : undefined;
|
|
46
|
+
inputs["userName"] = state ? state.userName : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.authenticationType === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'authenticationType'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.stackName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'stackName'");
|
|
55
|
+
}
|
|
56
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'userName'");
|
|
58
|
+
}
|
|
59
|
+
inputs["authenticationType"] = args ? args.authenticationType : undefined;
|
|
60
|
+
inputs["sendEmailNotification"] = args ? args.sendEmailNotification : undefined;
|
|
61
|
+
inputs["stackName"] = args ? args.stackName : undefined;
|
|
62
|
+
inputs["userName"] = args ? args.userName : undefined;
|
|
63
|
+
}
|
|
64
|
+
if (!opts.version) {
|
|
65
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
66
|
+
}
|
|
67
|
+
super(UserStackAssociation.__pulumiType, name, inputs, opts);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing UserStackAssociation resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name, id, state, opts) {
|
|
79
|
+
return new UserStackAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns true if the given object is an instance of UserStackAssociation. This is designed to work even
|
|
83
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
|
+
*/
|
|
85
|
+
static isInstance(obj) {
|
|
86
|
+
if (obj === undefined || obj === null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return obj['__pulumiType'] === UserStackAssociation.__pulumiType;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.UserStackAssociation = UserStackAssociation;
|
|
93
|
+
/** @internal */
|
|
94
|
+
UserStackAssociation.__pulumiType = 'aws:appstream/userStackAssociation:UserStackAssociation';
|
|
95
|
+
//# sourceMappingURL=userStackAssoci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SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDAmFC;AArEG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -37,6 +37,15 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
37
37
|
* staticValue: "AES256",
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
+
* automatic: true,
|
|
41
|
+
* maximumAutomaticAttempts: 10,
|
|
42
|
+
* retryAttemptSeconds: 600,
|
|
43
|
+
* executionControls: {
|
|
44
|
+
* ssmControls: {
|
|
45
|
+
* concurrentExecutionRatePercentage: 25,
|
|
46
|
+
* errorPercentage: 20,
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
40
49
|
* });
|
|
41
50
|
* ```
|
|
42
51
|
*
|
|
@@ -65,28 +74,43 @@ export declare class RemediationConfiguration extends pulumi.CustomResource {
|
|
|
65
74
|
*/
|
|
66
75
|
static isInstance(obj: any): obj is RemediationConfiguration;
|
|
67
76
|
/**
|
|
68
|
-
*
|
|
77
|
+
* ARN of the Config Remediation Configuration.
|
|
69
78
|
*/
|
|
70
79
|
readonly arn: pulumi.Output<string>;
|
|
71
80
|
/**
|
|
72
|
-
*
|
|
81
|
+
* Remediation is triggered automatically if `true`.
|
|
82
|
+
*/
|
|
83
|
+
readonly automatic: pulumi.Output<boolean | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the AWS Config rule.
|
|
73
86
|
*/
|
|
74
87
|
readonly configRuleName: pulumi.Output<string>;
|
|
75
88
|
/**
|
|
76
|
-
*
|
|
77
|
-
|
|
89
|
+
* Configuration block for execution controls. See below.
|
|
90
|
+
*/
|
|
91
|
+
readonly executionControls: pulumi.Output<outputs.cfg.RemediationConfigurationExecutionControls | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5.
|
|
94
|
+
*/
|
|
95
|
+
readonly maximumAutomaticAttempts: pulumi.Output<number | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Can be specified multiple times for each parameter. Each parameter block supports arguments below.
|
|
78
98
|
*/
|
|
79
99
|
readonly parameters: pulumi.Output<outputs.cfg.RemediationConfigurationParameter[] | undefined>;
|
|
80
100
|
/**
|
|
81
|
-
*
|
|
101
|
+
* Type of resource.
|
|
82
102
|
*/
|
|
83
103
|
readonly resourceType: pulumi.Output<string | undefined>;
|
|
84
104
|
/**
|
|
85
|
-
*
|
|
105
|
+
* Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds.
|
|
106
|
+
*/
|
|
107
|
+
readonly retryAttemptSeconds: pulumi.Output<number | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Target ID is the name of the public document.
|
|
86
110
|
*/
|
|
87
111
|
readonly targetId: pulumi.Output<string>;
|
|
88
112
|
/**
|
|
89
|
-
*
|
|
113
|
+
* Type of the target. Target executes remediation. For example, SSM document.
|
|
90
114
|
*/
|
|
91
115
|
readonly targetType: pulumi.Output<string>;
|
|
92
116
|
/**
|
|
@@ -107,28 +131,43 @@ export declare class RemediationConfiguration extends pulumi.CustomResource {
|
|
|
107
131
|
*/
|
|
108
132
|
export interface RemediationConfigurationState {
|
|
109
133
|
/**
|
|
110
|
-
*
|
|
134
|
+
* ARN of the Config Remediation Configuration.
|
|
111
135
|
*/
|
|
112
136
|
arn?: pulumi.Input<string>;
|
|
113
137
|
/**
|
|
114
|
-
*
|
|
138
|
+
* Remediation is triggered automatically if `true`.
|
|
139
|
+
*/
|
|
140
|
+
automatic?: pulumi.Input<boolean>;
|
|
141
|
+
/**
|
|
142
|
+
* Name of the AWS Config rule.
|
|
115
143
|
*/
|
|
116
144
|
configRuleName?: pulumi.Input<string>;
|
|
117
145
|
/**
|
|
118
|
-
*
|
|
119
|
-
|
|
146
|
+
* Configuration block for execution controls. See below.
|
|
147
|
+
*/
|
|
148
|
+
executionControls?: pulumi.Input<inputs.cfg.RemediationConfigurationExecutionControls>;
|
|
149
|
+
/**
|
|
150
|
+
* Maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5.
|
|
151
|
+
*/
|
|
152
|
+
maximumAutomaticAttempts?: pulumi.Input<number>;
|
|
153
|
+
/**
|
|
154
|
+
* Can be specified multiple times for each parameter. Each parameter block supports arguments below.
|
|
120
155
|
*/
|
|
121
156
|
parameters?: pulumi.Input<pulumi.Input<inputs.cfg.RemediationConfigurationParameter>[]>;
|
|
122
157
|
/**
|
|
123
|
-
*
|
|
158
|
+
* Type of resource.
|
|
124
159
|
*/
|
|
125
160
|
resourceType?: pulumi.Input<string>;
|
|
126
161
|
/**
|
|
127
|
-
*
|
|
162
|
+
* Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds.
|
|
163
|
+
*/
|
|
164
|
+
retryAttemptSeconds?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* Target ID is the name of the public document.
|
|
128
167
|
*/
|
|
129
168
|
targetId?: pulumi.Input<string>;
|
|
130
169
|
/**
|
|
131
|
-
*
|
|
170
|
+
* Type of the target. Target executes remediation. For example, SSM document.
|
|
132
171
|
*/
|
|
133
172
|
targetType?: pulumi.Input<string>;
|
|
134
173
|
/**
|
|
@@ -141,24 +180,39 @@ export interface RemediationConfigurationState {
|
|
|
141
180
|
*/
|
|
142
181
|
export interface RemediationConfigurationArgs {
|
|
143
182
|
/**
|
|
144
|
-
*
|
|
183
|
+
* Remediation is triggered automatically if `true`.
|
|
184
|
+
*/
|
|
185
|
+
automatic?: pulumi.Input<boolean>;
|
|
186
|
+
/**
|
|
187
|
+
* Name of the AWS Config rule.
|
|
145
188
|
*/
|
|
146
189
|
configRuleName: pulumi.Input<string>;
|
|
147
190
|
/**
|
|
148
|
-
*
|
|
149
|
-
|
|
191
|
+
* Configuration block for execution controls. See below.
|
|
192
|
+
*/
|
|
193
|
+
executionControls?: pulumi.Input<inputs.cfg.RemediationConfigurationExecutionControls>;
|
|
194
|
+
/**
|
|
195
|
+
* Maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5.
|
|
196
|
+
*/
|
|
197
|
+
maximumAutomaticAttempts?: pulumi.Input<number>;
|
|
198
|
+
/**
|
|
199
|
+
* Can be specified multiple times for each parameter. Each parameter block supports arguments below.
|
|
150
200
|
*/
|
|
151
201
|
parameters?: pulumi.Input<pulumi.Input<inputs.cfg.RemediationConfigurationParameter>[]>;
|
|
152
202
|
/**
|
|
153
|
-
*
|
|
203
|
+
* Type of resource.
|
|
154
204
|
*/
|
|
155
205
|
resourceType?: pulumi.Input<string>;
|
|
156
206
|
/**
|
|
157
|
-
*
|
|
207
|
+
* Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds.
|
|
208
|
+
*/
|
|
209
|
+
retryAttemptSeconds?: pulumi.Input<number>;
|
|
210
|
+
/**
|
|
211
|
+
* Target ID is the name of the public document.
|
|
158
212
|
*/
|
|
159
213
|
targetId: pulumi.Input<string>;
|
|
160
214
|
/**
|
|
161
|
-
*
|
|
215
|
+
* Type of the target. Target executes remediation. For example, SSM document.
|
|
162
216
|
*/
|
|
163
217
|
targetType: pulumi.Input<string>;
|
|
164
218
|
/**
|
|
@@ -42,6 +42,15 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* staticValue: "AES256",
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
+
* automatic: true,
|
|
46
|
+
* maximumAutomaticAttempts: 10,
|
|
47
|
+
* retryAttemptSeconds: 600,
|
|
48
|
+
* executionControls: {
|
|
49
|
+
* ssmControls: {
|
|
50
|
+
* concurrentExecutionRatePercentage: 25,
|
|
51
|
+
* errorPercentage: 20,
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
45
54
|
* });
|
|
46
55
|
* ```
|
|
47
56
|
*
|
|
@@ -60,9 +69,13 @@ class RemediationConfiguration extends pulumi.CustomResource {
|
|
|
60
69
|
if (opts.id) {
|
|
61
70
|
const state = argsOrState;
|
|
62
71
|
inputs["arn"] = state ? state.arn : undefined;
|
|
72
|
+
inputs["automatic"] = state ? state.automatic : undefined;
|
|
63
73
|
inputs["configRuleName"] = state ? state.configRuleName : undefined;
|
|
74
|
+
inputs["executionControls"] = state ? state.executionControls : undefined;
|
|
75
|
+
inputs["maximumAutomaticAttempts"] = state ? state.maximumAutomaticAttempts : undefined;
|
|
64
76
|
inputs["parameters"] = state ? state.parameters : undefined;
|
|
65
77
|
inputs["resourceType"] = state ? state.resourceType : undefined;
|
|
78
|
+
inputs["retryAttemptSeconds"] = state ? state.retryAttemptSeconds : undefined;
|
|
66
79
|
inputs["targetId"] = state ? state.targetId : undefined;
|
|
67
80
|
inputs["targetType"] = state ? state.targetType : undefined;
|
|
68
81
|
inputs["targetVersion"] = state ? state.targetVersion : undefined;
|
|
@@ -78,9 +91,13 @@ class RemediationConfiguration extends pulumi.CustomResource {
|
|
|
78
91
|
if ((!args || args.targetType === undefined) && !opts.urn) {
|
|
79
92
|
throw new Error("Missing required property 'targetType'");
|
|
80
93
|
}
|
|
94
|
+
inputs["automatic"] = args ? args.automatic : undefined;
|
|
81
95
|
inputs["configRuleName"] = args ? args.configRuleName : undefined;
|
|
96
|
+
inputs["executionControls"] = args ? args.executionControls : undefined;
|
|
97
|
+
inputs["maximumAutomaticAttempts"] = args ? args.maximumAutomaticAttempts : undefined;
|
|
82
98
|
inputs["parameters"] = args ? args.parameters : undefined;
|
|
83
99
|
inputs["resourceType"] = args ? args.resourceType : undefined;
|
|
100
|
+
inputs["retryAttemptSeconds"] = args ? args.retryAttemptSeconds : undefined;
|
|
84
101
|
inputs["targetId"] = args ? args.targetId : undefined;
|
|
85
102
|
inputs["targetType"] = args ? args.targetType : undefined;
|
|
86
103
|
inputs["targetVersion"] = args ? args.targetVersion : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remediationConfiguration.js","sourceRoot":"","sources":["../../cfg/remediationConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"remediationConfiguration.js","sourceRoot":"","sources":["../../cfg/remediationConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAiF/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,C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