@pulumi/aws 4.28.0 → 4.30.0-alpha.1638204160
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/account/alternativeContact.d.ts +121 -0
- package/account/alternativeContact.js +96 -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/loadBalancer.d.ts +27 -3
- package/alb/loadBalancer.js +4 -0
- package/alb/loadBalancer.js.map +1 -1
- package/alb/targetGroupAttachment.d.ts +3 -3
- package/applicationloadbalancing/getLoadBalancer.d.ts +2 -0
- package/applicationloadbalancing/getLoadBalancer.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/targetGroupAttachment.d.ts +3 -3
- package/appstream/directoryConfig.d.ts +108 -0
- package/appstream/directoryConfig.js +93 -0
- package/appstream/directoryConfig.js.map +1 -0
- 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 +4 -0
- package/appstream/index.js +20 -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/autoscaling/group.d.ts +3 -3
- package/cfg/remediationConfiguration.d.ts +74 -20
- package/cfg/remediationConfiguration.js +17 -0
- package/cfg/remediationConfiguration.js.map +1 -1
- package/cloudfront/responseHeadersPolicy.d.ts +28 -4
- package/cloudfront/responseHeadersPolicy.js +25 -1
- package/cloudfront/responseHeadersPolicy.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/getInstanceType.d.ts +4 -0
- package/ec2/getInstanceType.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/index.d.ts +1 -0
- package/ec2/index.js +1 -0
- package/ec2/index.js.map +1 -1
- package/ecs/capacityProvider.d.ts +1 -1
- package/ecs/capacityProvider.js +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/loadBalancer.d.ts +27 -3
- package/elasticloadbalancingv2/loadBalancer.js +4 -0
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/targetGroupAttachment.d.ts +3 -3
- 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/emr/cluster.d.ts +12 -0
- package/emr/cluster.js +2 -0
- package/emr/cluster.js.map +1 -1
- package/emr/getReleaseLabels.d.ts +53 -0
- package/emr/getReleaseLabels.js +42 -0
- package/emr/getReleaseLabels.js.map +1 -0
- package/emr/index.d.ts +1 -0
- package/emr/index.js +1 -0
- package/emr/index.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 +216 -0
- package/fsx/ontapStorageVirtualMachine.js +134 -0
- package/fsx/ontapStorageVirtualMachine.js.map +1 -0
- package/fsx/ontapVolume.d.ts +246 -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/index.d.ts +2 -0
- package/iot/index.js +10 -0
- package/iot/index.js.map +1 -1
- package/iot/thingGroup.d.ts +153 -0
- package/iot/thingGroup.js +100 -0
- package/iot/thingGroup.js.map +1 -0
- package/iot/thingGroupMembership.d.ts +96 -0
- package/iot/thingGroupMembership.js +85 -0
- package/iot/thingGroupMembership.js.map +1 -0
- package/iot/thingType.d.ts +36 -0
- package/iot/thingType.js +4 -0
- package/iot/thingType.js.map +1 -1
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lambda/index.d.ts +1 -0
- package/lambda/index.js +5 -0
- package/lambda/index.js.map +1 -1
- package/lambda/layerVersion.d.ts +41 -83
- package/lambda/layerVersion.js +2 -45
- package/lambda/layerVersion.js.map +1 -1
- package/lambda/layerVersionPermission.d.ts +154 -0
- package/lambda/layerVersionPermission.js +110 -0
- package/lambda/layerVersionPermission.js.map +1 -0
- package/lb/getLoadBalancer.d.ts +2 -0
- package/lb/getLoadBalancer.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/targetGroupAttachment.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/user.d.ts +7 -7
- package/quicksight/user.js +1 -1
- package/s3/accessPoint.d.ts +20 -28
- package/s3/accessPoint.js +4 -28
- package/s3/accessPoint.js.map +1 -1
- package/s3/bucket.d.ts +2 -0
- package/s3/bucket.js +2 -0
- package/s3/bucket.js.map +1 -1
- package/s3/bucketReplicationConfig.d.ts +190 -0
- package/s3/bucketReplicationConfig.js +181 -0
- package/s3/bucketReplicationConfig.js.map +1 -0
- package/s3/index.d.ts +1 -0
- package/s3/index.js +5 -0
- package/s3/index.js.map +1 -1
- package/s3control/accessPointPolicy.d.ts +77 -0
- package/s3control/accessPointPolicy.js +70 -0
- package/s3control/accessPointPolicy.js.map +1 -0
- package/s3control/index.d.ts +5 -0
- package/s3control/index.js +25 -0
- package/s3control/index.js.map +1 -1
- package/s3control/multiRegionAccessPoint.d.ts +123 -0
- package/s3control/multiRegionAccessPoint.js +103 -0
- package/s3control/multiRegionAccessPoint.js.map +1 -0
- package/s3control/multiRegionAccessPointPolicy.d.ts +115 -0
- package/s3control/multiRegionAccessPointPolicy.js +107 -0
- package/s3control/multiRegionAccessPointPolicy.js.map +1 -0
- package/s3control/objectLambdaAccessPoint.d.ts +105 -0
- package/s3control/objectLambdaAccessPoint.js +93 -0
- package/s3control/objectLambdaAccessPoint.js.map +1 -0
- package/s3control/objectLambdaAccessPointPolicy.d.ts +114 -0
- package/s3control/objectLambdaAccessPointPolicy.js +103 -0
- package/s3control/objectLambdaAccessPointPolicy.js.map +1 -0
- package/sagemaker/endpoint.d.ts +19 -6
- package/sagemaker/endpoint.js +2 -0
- package/sagemaker/endpoint.js.map +1 -1
- package/securityhub/findingAggregator.d.ts +124 -0
- package/securityhub/findingAggregator.js +120 -0
- package/securityhub/findingAggregator.js.map +1 -0
- package/securityhub/index.d.ts +1 -0
- package/securityhub/index.js +5 -0
- package/securityhub/index.js.map +1 -1
- package/types/enums/iam/index.d.ts +1 -0
- package/types/enums/iam/index.js +1 -0
- package/types/enums/iam/index.js.map +1 -1
- package/types/input.d.ts +1997 -173
- package/types/output.d.ts +1842 -45
- 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
|
@@ -78,7 +78,7 @@ export declare class TargetGroupAttachment extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly targetGroupArn: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
81
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
|
|
81
|
+
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda. If the target type is alb, specify the arn of alb.
|
|
82
82
|
*/
|
|
83
83
|
readonly targetId: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
@@ -108,7 +108,7 @@ export interface TargetGroupAttachmentState {
|
|
|
108
108
|
*/
|
|
109
109
|
targetGroupArn?: pulumi.Input<string>;
|
|
110
110
|
/**
|
|
111
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
|
|
111
|
+
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda. If the target type is alb, specify the arn of alb.
|
|
112
112
|
*/
|
|
113
113
|
targetId?: pulumi.Input<string>;
|
|
114
114
|
}
|
|
@@ -129,7 +129,7 @@ export interface TargetGroupAttachmentArgs {
|
|
|
129
129
|
*/
|
|
130
130
|
targetGroupArn: pulumi.Input<string>;
|
|
131
131
|
/**
|
|
132
|
-
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.
|
|
132
|
+
* The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda. If the target type is alb, specify the arn of alb.
|
|
133
133
|
*/
|
|
134
134
|
targetId: pulumi.Input<string>;
|
|
135
135
|
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides an AppStream Directory Config.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = new aws.appstream.DirectoryConfig("example", {
|
|
13
|
+
* directoryName: "NAME OF DIRECTORY",
|
|
14
|
+
* organizationalUnitDistinguishedNames: ["DISTINGUISHED NAME"],
|
|
15
|
+
* serviceAccountCredentials: {
|
|
16
|
+
* accountName: "NAME OF ACCOUNT",
|
|
17
|
+
* accountPassword: "PASSWORD OF ACCOUNT",
|
|
18
|
+
* },
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* `aws_appstream_directory_config` can be imported using the id, e.g.,
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:appstream/directoryConfig:DirectoryConfig example directoryNameExample
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class DirectoryConfig extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing DirectoryConfig resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DirectoryConfigState, opts?: pulumi.CustomResourceOptions): DirectoryConfig;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of DirectoryConfig. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is DirectoryConfig;
|
|
46
|
+
/**
|
|
47
|
+
* Date and time, in UTC and extended RFC 3339 format, when the directory config was created.
|
|
48
|
+
*/
|
|
49
|
+
readonly createdTime: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Fully qualified name of the directory.
|
|
52
|
+
*/
|
|
53
|
+
readonly directoryName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Distinguished names of the organizational units for computer accounts.
|
|
56
|
+
*/
|
|
57
|
+
readonly organizationalUnitDistinguishedNames: pulumi.Output<string[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
|
|
60
|
+
*/
|
|
61
|
+
readonly serviceAccountCredentials: pulumi.Output<outputs.appstream.DirectoryConfigServiceAccountCredentials>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a DirectoryConfig resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: DirectoryConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering DirectoryConfig resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface DirectoryConfigState {
|
|
75
|
+
/**
|
|
76
|
+
* Date and time, in UTC and extended RFC 3339 format, when the directory config was created.
|
|
77
|
+
*/
|
|
78
|
+
createdTime?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Fully qualified name of the directory.
|
|
81
|
+
*/
|
|
82
|
+
directoryName?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Distinguished names of the organizational units for computer accounts.
|
|
85
|
+
*/
|
|
86
|
+
organizationalUnitDistinguishedNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
|
|
89
|
+
*/
|
|
90
|
+
serviceAccountCredentials?: pulumi.Input<inputs.appstream.DirectoryConfigServiceAccountCredentials>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a DirectoryConfig resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface DirectoryConfigArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Fully qualified name of the directory.
|
|
98
|
+
*/
|
|
99
|
+
directoryName: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Distinguished names of the organizational units for computer accounts.
|
|
102
|
+
*/
|
|
103
|
+
organizationalUnitDistinguishedNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
|
|
106
|
+
*/
|
|
107
|
+
serviceAccountCredentials: pulumi.Input<inputs.appstream.DirectoryConfigServiceAccountCredentials>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.DirectoryConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an AppStream Directory Config.
|
|
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.DirectoryConfig("example", {
|
|
18
|
+
* directoryName: "NAME OF DIRECTORY",
|
|
19
|
+
* organizationalUnitDistinguishedNames: ["DISTINGUISHED NAME"],
|
|
20
|
+
* serviceAccountCredentials: {
|
|
21
|
+
* accountName: "NAME OF ACCOUNT",
|
|
22
|
+
* accountPassword: "PASSWORD OF ACCOUNT",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* `aws_appstream_directory_config` can be imported using the id, e.g.,
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import aws:appstream/directoryConfig:DirectoryConfig example directoryNameExample
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class DirectoryConfig extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["createdTime"] = state ? state.createdTime : undefined;
|
|
42
|
+
inputs["directoryName"] = state ? state.directoryName : undefined;
|
|
43
|
+
inputs["organizationalUnitDistinguishedNames"] = state ? state.organizationalUnitDistinguishedNames : undefined;
|
|
44
|
+
inputs["serviceAccountCredentials"] = state ? state.serviceAccountCredentials : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.directoryName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'directoryName'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.organizationalUnitDistinguishedNames === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'organizationalUnitDistinguishedNames'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.serviceAccountCredentials === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'serviceAccountCredentials'");
|
|
56
|
+
}
|
|
57
|
+
inputs["directoryName"] = args ? args.directoryName : undefined;
|
|
58
|
+
inputs["organizationalUnitDistinguishedNames"] = args ? args.organizationalUnitDistinguishedNames : undefined;
|
|
59
|
+
inputs["serviceAccountCredentials"] = args ? args.serviceAccountCredentials : undefined;
|
|
60
|
+
inputs["createdTime"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(DirectoryConfig.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing DirectoryConfig resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new DirectoryConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of DirectoryConfig. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === DirectoryConfig.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.DirectoryConfig = DirectoryConfig;
|
|
91
|
+
/** @internal */
|
|
92
|
+
DirectoryConfig.__pulumiType = 'aws:appstream/directoryConfig:DirectoryConfig';
|
|
93
|
+
//# sourceMappingURL=directoryConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directoryConfig.js","sourceRoot":"","sources":["../../appstream/directoryConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAqDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,sCAAsC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChH,MAAM,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,CAAC,CA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AmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAmFC;AArEG,gBAAgB;AACO,4BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an AppStream Fleet 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 exampleFleet = new aws.appstream.Fleet("exampleFleet", {
|
|
12
|
+
* imageName: "Amazon-AppStream2-Sample-Image-02-04-2019",
|
|
13
|
+
* instanceType: "stream.standard.small",
|
|
14
|
+
* computeCapacity: {
|
|
15
|
+
* desiredInstances: 1,
|
|
16
|
+
* },
|
|
17
|
+
* });
|
|
18
|
+
* const exampleStack = new aws.appstream.Stack("exampleStack", {});
|
|
19
|
+
* const exampleFleetStackAssociation = new aws.appstream.FleetStackAssociation("exampleFleetStackAssociation", {
|
|
20
|
+
* fleetName: exampleFleet.name,
|
|
21
|
+
* stackName: exampleStack.name,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* AppStream Stack Fleet Association can be imported by using the `fleet_name` and `stack_name` separated by a slash (`/`), e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:appstream/fleetStackAssociation:FleetStackAssociation example fleetName/stackName
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class FleetStackAssociation extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing FleetStackAssociation resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FleetStackAssociationState, opts?: pulumi.CustomResourceOptions): FleetStackAssociation;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of FleetStackAssociation. 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: any): obj is FleetStackAssociation;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the fleet.
|
|
51
|
+
*/
|
|
52
|
+
readonly fleetName: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Name of the stack.
|
|
55
|
+
*/
|
|
56
|
+
readonly stackName: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a FleetStackAssociation resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: FleetStackAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering FleetStackAssociation resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface FleetStackAssociationState {
|
|
70
|
+
/**
|
|
71
|
+
* Name of the fleet.
|
|
72
|
+
*/
|
|
73
|
+
fleetName?: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Name of the stack.
|
|
76
|
+
*/
|
|
77
|
+
stackName?: pulumi.Input<string>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a FleetStackAssociation resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface FleetStackAssociationArgs {
|
|
83
|
+
/**
|
|
84
|
+
* Name of the fleet.
|
|
85
|
+
*/
|
|
86
|
+
fleetName: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Name of the stack.
|
|
89
|
+
*/
|
|
90
|
+
stackName: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.FleetStackAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AppStream Fleet 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 exampleFleet = new aws.appstream.Fleet("exampleFleet", {
|
|
18
|
+
* imageName: "Amazon-AppStream2-Sample-Image-02-04-2019",
|
|
19
|
+
* instanceType: "stream.standard.small",
|
|
20
|
+
* computeCapacity: {
|
|
21
|
+
* desiredInstances: 1,
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* const exampleStack = new aws.appstream.Stack("exampleStack", {});
|
|
25
|
+
* const exampleFleetStackAssociation = new aws.appstream.FleetStackAssociation("exampleFleetStackAssociation", {
|
|
26
|
+
* fleetName: exampleFleet.name,
|
|
27
|
+
* stackName: exampleStack.name,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* AppStream Stack Fleet Association can be imported by using the `fleet_name` and `stack_name` separated by a slash (`/`), e.g.,
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import aws:appstream/fleetStackAssociation:FleetStackAssociation example fleetName/stackName
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class FleetStackAssociation extends pulumi.CustomResource {
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let inputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
inputs["fleetName"] = state ? state.fleetName : undefined;
|
|
46
|
+
inputs["stackName"] = state ? state.stackName : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.fleetName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'fleetName'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.stackName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'stackName'");
|
|
55
|
+
}
|
|
56
|
+
inputs["fleetName"] = args ? args.fleetName : undefined;
|
|
57
|
+
inputs["stackName"] = args ? args.stackName : undefined;
|
|
58
|
+
}
|
|
59
|
+
if (!opts.version) {
|
|
60
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
61
|
+
}
|
|
62
|
+
super(FleetStackAssociation.__pulumiType, name, inputs, opts);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing FleetStackAssociation resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name, id, state, opts) {
|
|
74
|
+
return new FleetStackAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns true if the given object is an instance of FleetStackAssociation. This is designed to work even
|
|
78
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
79
|
+
*/
|
|
80
|
+
static isInstance(obj) {
|
|
81
|
+
if (obj === undefined || obj === null) {
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
return obj['__pulumiType'] === FleetStackAssociation.__pulumiType;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.FleetStackAssociation = FleetStackAssociation;
|
|
88
|
+
/** @internal */
|
|
89
|
+
FleetStackAssociation.__pulumiType = 'aws:appstream/fleetStackAssociation:FleetStackAssociation';
|
|
90
|
+
//# sourceMappingURL=fleetStackAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fleetStackAssociation.js","sourceRoot":"","sources":["../../appstream/fleetStackAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IA6C5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB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AE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAoEC;AAtDG,gBAAgB;AACO,kCAAY,GAAG,2DAA2D,CAAC"}
|
package/appstream/index.d.ts
CHANGED
package/appstream/index.js
CHANGED
|
@@ -15,29 +15,49 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const pulumi = require("@pulumi/pulumi");
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
|
+
__exportStar(require("./directoryConfig"), exports);
|
|
18
19
|
__exportStar(require("./fleet"), exports);
|
|
20
|
+
__exportStar(require("./fleetStackAssociation"), exports);
|
|
19
21
|
__exportStar(require("./imageBuilder"), exports);
|
|
20
22
|
__exportStar(require("./stack"), exports);
|
|
23
|
+
__exportStar(require("./user"), exports);
|
|
24
|
+
__exportStar(require("./userStackAssociation"), exports);
|
|
21
25
|
// Import resources to register:
|
|
26
|
+
const directoryConfig_1 = require("./directoryConfig");
|
|
22
27
|
const fleet_1 = require("./fleet");
|
|
28
|
+
const fleetStackAssociation_1 = require("./fleetStackAssociation");
|
|
23
29
|
const imageBuilder_1 = require("./imageBuilder");
|
|
24
30
|
const stack_1 = require("./stack");
|
|
31
|
+
const user_1 = require("./user");
|
|
32
|
+
const userStackAssociation_1 = require("./userStackAssociation");
|
|
25
33
|
const _module = {
|
|
26
34
|
version: utilities.getVersion(),
|
|
27
35
|
construct: (name, type, urn) => {
|
|
28
36
|
switch (type) {
|
|
37
|
+
case "aws:appstream/directoryConfig:DirectoryConfig":
|
|
38
|
+
return new directoryConfig_1.DirectoryConfig(name, undefined, { urn });
|
|
29
39
|
case "aws:appstream/fleet:Fleet":
|
|
30
40
|
return new fleet_1.Fleet(name, undefined, { urn });
|
|
41
|
+
case "aws:appstream/fleetStackAssociation:FleetStackAssociation":
|
|
42
|
+
return new fleetStackAssociation_1.FleetStackAssociation(name, undefined, { urn });
|
|
31
43
|
case "aws:appstream/imageBuilder:ImageBuilder":
|
|
32
44
|
return new imageBuilder_1.ImageBuilder(name, undefined, { urn });
|
|
33
45
|
case "aws:appstream/stack:Stack":
|
|
34
46
|
return new stack_1.Stack(name, undefined, { urn });
|
|
47
|
+
case "aws:appstream/user:User":
|
|
48
|
+
return new user_1.User(name, undefined, { urn });
|
|
49
|
+
case "aws:appstream/userStackAssociation:UserStackAssociation":
|
|
50
|
+
return new userStackAssociation_1.UserStackAssociation(name, undefined, { urn });
|
|
35
51
|
default:
|
|
36
52
|
throw new Error(`unknown resource type ${type}`);
|
|
37
53
|
}
|
|
38
54
|
},
|
|
39
55
|
};
|
|
56
|
+
pulumi.runtime.registerResourceModule("aws", "appstream/directoryConfig", _module);
|
|
40
57
|
pulumi.runtime.registerResourceModule("aws", "appstream/fleet", _module);
|
|
58
|
+
pulumi.runtime.registerResourceModule("aws", "appstream/fleetStackAssociation", _module);
|
|
41
59
|
pulumi.runtime.registerResourceModule("aws", "appstream/imageBuilder", _module);
|
|
42
60
|
pulumi.runtime.registerResourceModule("aws", "appstream/stack", _module);
|
|
61
|
+
pulumi.runtime.registerResourceModule("aws", "appstream/user", _module);
|
|
62
|
+
pulumi.runtime.registerResourceModule("aws", "appstream/userStackAssociation", _module);
|
|
43
63
|
//# sourceMappingURL=index.js.map
|
package/appstream/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appstream/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;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AAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,yDAAyD;gBAC1D,OAAO,IAAI,2CAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an AppStream user.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.appstream.User("example", {
|
|
12
|
+
* authenticationType: "USERPOOL",
|
|
13
|
+
* firstName: "FIRST NAME",
|
|
14
|
+
* lastName: "LAST NAME",
|
|
15
|
+
* userName: "EMAIL ADDRESS",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* `aws_appstream_user` can be imported using the `user_name` and `authentication_type` separated by a slash (`/`), e.g.,
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import aws:appstream/user:User example UserName/AuthenticationType
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class User extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState, opts?: pulumi.CustomResourceOptions): User;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is User;
|
|
43
|
+
/**
|
|
44
|
+
* ARN of the appstream user.
|
|
45
|
+
*/
|
|
46
|
+
readonly arn: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
|
|
49
|
+
*/
|
|
50
|
+
readonly authenticationType: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Date and time, in UTC and extended RFC 3339 format, when the user was created.
|
|
53
|
+
*/
|
|
54
|
+
readonly createdTime: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether the user in the user pool is enabled.
|
|
57
|
+
*/
|
|
58
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* First name, or given name, of the user.
|
|
61
|
+
*/
|
|
62
|
+
readonly firstName: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Last name, or surname, of the user.
|
|
65
|
+
*/
|
|
66
|
+
readonly lastName: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Send an email notification.
|
|
69
|
+
*/
|
|
70
|
+
readonly sendEmailNotification: pulumi.Output<boolean | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Email address of the user.
|
|
73
|
+
*/
|
|
74
|
+
readonly userName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a User resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering User resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface UserState {
|
|
88
|
+
/**
|
|
89
|
+
* ARN of the appstream user.
|
|
90
|
+
*/
|
|
91
|
+
arn?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
|
|
94
|
+
*/
|
|
95
|
+
authenticationType?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Date and time, in UTC and extended RFC 3339 format, when the user was created.
|
|
98
|
+
*/
|
|
99
|
+
createdTime?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Specifies whether the user in the user pool is enabled.
|
|
102
|
+
*/
|
|
103
|
+
enabled?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* First name, or given name, of the user.
|
|
106
|
+
*/
|
|
107
|
+
firstName?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Last name, or surname, of the user.
|
|
110
|
+
*/
|
|
111
|
+
lastName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Send an email notification.
|
|
114
|
+
*/
|
|
115
|
+
sendEmailNotification?: pulumi.Input<boolean>;
|
|
116
|
+
/**
|
|
117
|
+
* Email address of the user.
|
|
118
|
+
*/
|
|
119
|
+
userName?: pulumi.Input<string>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The set of arguments for constructing a User resource.
|
|
123
|
+
*/
|
|
124
|
+
export interface UserArgs {
|
|
125
|
+
/**
|
|
126
|
+
* Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
|
|
127
|
+
*/
|
|
128
|
+
authenticationType: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Specifies whether the user in the user pool is enabled.
|
|
131
|
+
*/
|
|
132
|
+
enabled?: pulumi.Input<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* First name, or given name, of the user.
|
|
135
|
+
*/
|
|
136
|
+
firstName?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Last name, or surname, of the user.
|
|
139
|
+
*/
|
|
140
|
+
lastName?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Send an email notification.
|
|
143
|
+
*/
|
|
144
|
+
sendEmailNotification?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Email address of the user.
|
|
147
|
+
*/
|
|
148
|
+
userName: pulumi.Input<string>;
|
|
149
|
+
}
|