@propulsionworks/cloudformation 0.1.13 → 0.1.15

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.
Files changed (59) hide show
  1. package/lib/builder.ts +5 -5
  2. package/out/exports/resources.generated/aws-accessanalyzer-analyzer.d.ts +11 -4
  3. package/out/exports/resources.generated/aws-aiops-investigationgroup.d.ts +133 -0
  4. package/out/exports/resources.generated/aws-arczonalshift-zonalautoshiftconfiguration.d.ts +7 -7
  5. package/out/exports/resources.generated/aws-b2bi-partnership.d.ts +108 -0
  6. package/out/exports/resources.generated/aws-b2bi-transformer.d.ts +35 -0
  7. package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +14 -0
  8. package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +37 -18
  9. package/out/exports/resources.generated/aws-cassandra-table.d.ts +29 -0
  10. package/out/exports/resources.generated/aws-cloudformation-guardhook.d.ts +1 -1
  11. package/out/exports/resources.generated/aws-cloudformation-hookversion.d.ts +1 -1
  12. package/out/exports/resources.generated/aws-cloudformation-moduleversion.d.ts +1 -1
  13. package/out/exports/resources.generated/aws-cloudformation-resourceversion.d.ts +1 -1
  14. package/out/exports/resources.generated/aws-cloudformation-stack.d.ts +1 -1
  15. package/out/exports/resources.generated/aws-cloudformation-stackset.d.ts +4 -4
  16. package/out/exports/resources.generated/aws-cloudformation-waitcondition.d.ts +1 -1
  17. package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +14 -5
  18. package/out/exports/resources.generated/aws-cloudfront-vpcorigin.d.ts +1 -1
  19. package/out/exports/resources.generated/aws-connectcampaignsv2-campaign.d.ts +10 -0
  20. package/out/exports/resources.generated/aws-datazone-connection.d.ts +1 -1
  21. package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +6 -0
  22. package/out/exports/resources.generated/aws-deadline-fleet.d.ts +0 -1
  23. package/out/exports/resources.generated/aws-dsql-cluster.d.ts +5 -0
  24. package/out/exports/resources.generated/aws-ec2-networkinterfacepermission.d.ts +2 -2
  25. package/out/exports/resources.generated/aws-ec2-trafficmirrorfilterrule.d.ts +3 -2
  26. package/out/exports/resources.generated/aws-ecs-service.d.ts +2 -2
  27. package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +3 -3
  28. package/out/exports/resources.generated/aws-elasticloadbalancingv2-listener.d.ts +2 -0
  29. package/out/exports/resources.generated/aws-emrserverless-application.d.ts +19 -0
  30. package/out/exports/resources.generated/aws-fsx-s3accesspointattachment.d.ts +140 -0
  31. package/out/exports/resources.generated/aws-gamelift-containerfleet.d.ts +8 -0
  32. package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +1 -1
  33. package/out/exports/resources.generated/aws-inspectorv2-filter.d.ts +1 -0
  34. package/out/exports/resources.generated/aws-kendra-datasource.d.ts +15 -0
  35. package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +22 -0
  36. package/out/exports/resources.generated/aws-lex-bot.d.ts +34 -0
  37. package/out/exports/resources.generated/aws-logs-transformer.d.ts +36 -0
  38. package/out/exports/resources.generated/aws-mediatailor-playbackconfiguration.d.ts +9 -0
  39. package/out/exports/resources.generated/aws-mpa-approvalteam.d.ts +25 -2
  40. package/out/exports/resources.generated/aws-mpa-identitysource.d.ts +16 -2
  41. package/out/exports/resources.generated/aws-neptune-dbinstance.d.ts +0 -4
  42. package/out/exports/resources.generated/aws-networkmanager-vpcattachment.d.ts +12 -0
  43. package/out/exports/resources.generated/aws-rolesanywhere-trustanchor.d.ts +1 -1
  44. package/out/exports/resources.generated/aws-route53resolver-resolverendpoint.d.ts +4 -1
  45. package/out/exports/resources.generated/aws-route53resolver-resolverrule.d.ts +8 -1
  46. package/out/exports/resources.generated/aws-s3-bucket.d.ts +2 -0
  47. package/out/exports/resources.generated/aws-s3tables-namespace.d.ts +27 -0
  48. package/out/exports/resources.generated/aws-securityhub-aggregatorv2.d.ts +7 -7
  49. package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +123 -70
  50. package/out/exports/resources.generated/aws-securityhub-hubv2.d.ts +5 -1
  51. package/out/exports/resources.generated/aws-synthetics-canary.d.ts +1 -1
  52. package/out/exports/resources.generated/aws-workspacesinstances-volume.d.ts +89 -0
  53. package/out/exports/resources.generated/aws-workspacesinstances-volumeassociation.d.ts +36 -0
  54. package/out/exports/resources.generated/aws-workspacesinstances-workspaceinstance.d.ts +311 -0
  55. package/out/lib/builder.d.ts +3 -3
  56. package/out/lib/builder.d.ts.map +1 -1
  57. package/out/lib/builder.js +2 -2
  58. package/out/lib/builder.js.map +1 -1
  59. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html}
5
+ */
6
+ export type WorkspacesInstancesVolume = ResourceDefinitionWithAttributes<"AWS::WorkspacesInstances::Volume", WorkspacesInstancesVolumeProps, WorkspacesInstancesVolumeAttribs>;
7
+ /**
8
+ * Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html}
10
+ */
11
+ export type WorkspacesInstancesVolumeProps = {
12
+ /**
13
+ * The Availability Zone in which to create the volume
14
+ * @pattern ^[a-z]{2}-[a-z]+-\d[a-z](-[a-z0-9]+)?$
15
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-availabilityzone}
16
+ */
17
+ AvailabilityZone: string;
18
+ /**
19
+ * Indicates whether the volume should be encrypted
20
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-encrypted}
21
+ */
22
+ Encrypted?: boolean | undefined;
23
+ /**
24
+ * The number of I/O operations per second (IOPS)
25
+ * @min 0
26
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-iops}
27
+ */
28
+ Iops?: number | undefined;
29
+ /**
30
+ * The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption
31
+ * @maxLength 128
32
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-kmskeyid}
33
+ */
34
+ KmsKeyId?: string | undefined;
35
+ /**
36
+ * The size of the volume, in GiBs
37
+ * @min 0
38
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-sizeingb}
39
+ */
40
+ SizeInGB?: number | undefined;
41
+ /**
42
+ * The snapshot from which to create the volume
43
+ * @pattern ^snap-[0-9a-zA-Z]{1,63}$
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-snapshotid}
45
+ */
46
+ SnapshotId?: string | undefined;
47
+ /**
48
+ * The tags passed to EBS volume
49
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-tagspecifications}
50
+ */
51
+ TagSpecifications?: TagSpecification[] | undefined;
52
+ /**
53
+ * The throughput to provision for a volume, with a maximum of 1,000 MiB/s
54
+ * @min 0
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-throughput}
56
+ */
57
+ Throughput?: number | undefined;
58
+ /**
59
+ * The volume type
60
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-volumetype}
61
+ */
62
+ VolumeType?: "standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | undefined;
63
+ };
64
+ /**
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#aws-resource-workspacesinstances-volume-return-values}
66
+ */
67
+ export type WorkspacesInstancesVolumeAttribs = {
68
+ /**
69
+ * Unique identifier for the volume
70
+ * @pattern ^vol-[0-9a-zA-Z]{1,63}$
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volume.html#cfn-workspacesinstances-volume-volumeid}
72
+ */
73
+ VolumeId: string;
74
+ };
75
+ /**
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-volume-tagspecification.html}
77
+ */
78
+ export type TagSpecification = {
79
+ /**
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-volume-tagspecification.html#cfn-workspacesinstances-volume-tagspecification-resourcetype}
81
+ */
82
+ ResourceType?: "instance" | "volume" | "spot-instances-request" | "network-interface" | undefined;
83
+ /**
84
+ * The tags to apply to the resource
85
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-volume-tagspecification.html#cfn-workspacesinstances-volume-tagspecification-tags}
86
+ */
87
+ Tags?: Tag[] | undefined;
88
+ };
89
+ //# sourceMappingURL=aws-workspacesinstances-volume.d.ts.map
@@ -0,0 +1,36 @@
1
+ import type { ResourceDefinition } from "../main.ts";
2
+ /**
3
+ * Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html}
5
+ */
6
+ export type WorkspacesInstancesVolumeAssociation = ResourceDefinition<"AWS::WorkspacesInstances::VolumeAssociation", WorkspacesInstancesVolumeAssociationProps>;
7
+ /**
8
+ * Resource Type definition for AWS::WorkspacesInstances::VolumeAssociation
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html}
10
+ */
11
+ export type WorkspacesInstancesVolumeAssociationProps = {
12
+ /**
13
+ * The device name for the volume attachment
14
+ * @maxLength 32
15
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-device}
16
+ */
17
+ Device: string;
18
+ /**
19
+ * Mode to use when disassociating the volume
20
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-disassociatemode}
21
+ */
22
+ DisassociateMode?: "FORCE" | "NO_FORCE" | undefined;
23
+ /**
24
+ * ID of the volume to attach to the workspace instance
25
+ * @pattern ^vol-[0-9a-zA-Z]{1,63}$
26
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-volumeid}
27
+ */
28
+ VolumeId: string;
29
+ /**
30
+ * ID of the workspace instance to associate with the volume
31
+ * @pattern ^wsinst-[0-9a-zA-Z]{8,63}$
32
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-volumeassociation.html#cfn-workspacesinstances-volumeassociation-workspaceinstanceid}
33
+ */
34
+ WorkspaceInstanceId: string;
35
+ };
36
+ //# sourceMappingURL=aws-workspacesinstances-volumeassociation.d.ts.map
@@ -0,0 +1,311 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html}
5
+ */
6
+ export type WorkspacesInstancesWorkspaceInstance = ResourceDefinitionWithAttributes<"AWS::WorkspacesInstances::WorkspaceInstance", WorkspacesInstancesWorkspaceInstanceProps, WorkspacesInstancesWorkspaceInstanceAttribs>;
7
+ /**
8
+ * Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html}
10
+ */
11
+ export type WorkspacesInstancesWorkspaceInstanceProps = {
12
+ /**
13
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-managedinstance}
14
+ */
15
+ ManagedInstance?: {
16
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
17
+ CpuOptions?: CpuOptionsRequest | undefined;
18
+ CreditSpecification?: CreditSpecificationRequest | undefined;
19
+ DisableApiStop?: boolean | undefined;
20
+ EbsOptimized?: boolean | undefined;
21
+ EnclaveOptions?: EnclaveOptionsRequest | undefined;
22
+ HibernationOptions?: HibernationOptionsRequest | undefined;
23
+ IamInstanceProfile?: IamInstanceProfileSpecification | undefined;
24
+ /**
25
+ * @pattern ^ami-[0-9a-zA-Z]{1,63}$
26
+ */
27
+ ImageId: string;
28
+ /**
29
+ * @pattern ^([a-z0-9-]+)\.([a-z0-9]+)$
30
+ */
31
+ InstanceType: string;
32
+ /**
33
+ * @maxLength 64
34
+ */
35
+ KeyName?: string | undefined;
36
+ MaintenanceOptions?: InstanceMaintenanceOptionsRequest | undefined;
37
+ MetadataOptions?: InstanceMetadataOptionsRequest | undefined;
38
+ Monitoring?: RunInstancesMonitoringEnabled | undefined;
39
+ NetworkInterfaces?: InstanceNetworkInterfaceSpecification[] | undefined;
40
+ NetworkPerformanceOptions?: InstanceNetworkPerformanceOptionsRequest | undefined;
41
+ Placement?: Placement | undefined;
42
+ PrivateDnsNameOptions?: PrivateDnsNameOptionsRequest | undefined;
43
+ TagSpecifications?: TagSpecification[] | undefined;
44
+ /**
45
+ * @maxLength 16000
46
+ */
47
+ UserData?: string | undefined;
48
+ } | undefined;
49
+ /**
50
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-tags}
51
+ */
52
+ Tags?: Tag[] | undefined;
53
+ };
54
+ /**
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#aws-resource-workspacesinstances-workspaceinstance-return-values}
56
+ */
57
+ export type WorkspacesInstancesWorkspaceInstanceAttribs = {
58
+ /**
59
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ec2managedinstance.html#cfn-workspacesinstances-workspaceinstance-ec2managedinstance-instanceid}
60
+ */
61
+ "EC2ManagedInstance.InstanceId": string;
62
+ /**
63
+ * The current state of the workspace instance
64
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-provisionstate}
65
+ */
66
+ ProvisionState: "ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING";
67
+ /**
68
+ * Unique identifier for the workspace instance
69
+ * @pattern ^wsinst-[0-9a-zA-Z]{8,63}$
70
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesinstances-workspaceinstance.html#cfn-workspacesinstances-workspaceinstance-workspaceinstanceid}
71
+ */
72
+ WorkspaceInstanceId: string;
73
+ };
74
+ /**
75
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html}
76
+ */
77
+ export type BlockDeviceMapping = {
78
+ /**
79
+ * @maxLength 32
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-devicename}
81
+ */
82
+ DeviceName?: string | undefined;
83
+ /**
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-ebs}
85
+ */
86
+ Ebs?: EbsBlockDevice | undefined;
87
+ /**
88
+ * @maxLength 32
89
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-nodevice}
90
+ */
91
+ NoDevice?: string | undefined;
92
+ /**
93
+ * @pattern ^ephemeral(0|[1-9][0-9]{0,2})$
94
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-blockdevicemapping.html#cfn-workspacesinstances-workspaceinstance-blockdevicemapping-virtualname}
95
+ */
96
+ VirtualName?: string | undefined;
97
+ };
98
+ /**
99
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-cpuoptionsrequest.html}
100
+ */
101
+ export type CpuOptionsRequest = {
102
+ /**
103
+ * @min 0
104
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-cpuoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-cpuoptionsrequest-corecount}
105
+ */
106
+ CoreCount?: number | undefined;
107
+ /**
108
+ * @min 0
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-cpuoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-cpuoptionsrequest-threadspercore}
110
+ */
111
+ ThreadsPerCore?: number | undefined;
112
+ };
113
+ /**
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-creditspecificationrequest.html}
115
+ */
116
+ export type CreditSpecificationRequest = {
117
+ /**
118
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-creditspecificationrequest.html#cfn-workspacesinstances-workspaceinstance-creditspecificationrequest-cpucredits}
119
+ */
120
+ CpuCredits?: "standard" | "unlimited" | undefined;
121
+ };
122
+ /**
123
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html}
124
+ */
125
+ export type EbsBlockDevice = {
126
+ /**
127
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-encrypted}
128
+ */
129
+ Encrypted?: boolean | undefined;
130
+ /**
131
+ * @min 0
132
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-iops}
133
+ */
134
+ Iops?: number | undefined;
135
+ /**
136
+ * @maxLength 128
137
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-kmskeyid}
138
+ */
139
+ KmsKeyId?: string | undefined;
140
+ /**
141
+ * @min 0
142
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-throughput}
143
+ */
144
+ Throughput?: number | undefined;
145
+ /**
146
+ * @min 0
147
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-volumesize}
148
+ */
149
+ VolumeSize?: number | undefined;
150
+ /**
151
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-ebsblockdevice.html#cfn-workspacesinstances-workspaceinstance-ebsblockdevice-volumetype}
152
+ */
153
+ VolumeType?: "standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | undefined;
154
+ };
155
+ /**
156
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-enclaveoptionsrequest.html}
157
+ */
158
+ export type EnclaveOptionsRequest = {
159
+ /**
160
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-enclaveoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-enclaveoptionsrequest-enabled}
161
+ */
162
+ Enabled?: boolean | undefined;
163
+ };
164
+ /**
165
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-hibernationoptionsrequest.html}
166
+ */
167
+ export type HibernationOptionsRequest = {
168
+ /**
169
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-hibernationoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-hibernationoptionsrequest-configured}
170
+ */
171
+ Configured?: boolean | undefined;
172
+ };
173
+ /**
174
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-iaminstanceprofilespecification.html}
175
+ */
176
+ export type IamInstanceProfileSpecification = {
177
+ /**
178
+ * @maxLength 64
179
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-iaminstanceprofilespecification.html#cfn-workspacesinstances-workspaceinstance-iaminstanceprofilespecification-name}
180
+ */
181
+ Name?: string | undefined;
182
+ };
183
+ /**
184
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemaintenanceoptionsrequest.html}
185
+ */
186
+ export type InstanceMaintenanceOptionsRequest = {
187
+ /**
188
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemaintenanceoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemaintenanceoptionsrequest-autorecovery}
189
+ */
190
+ AutoRecovery?: "disabled" | "default" | undefined;
191
+ };
192
+ /**
193
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html}
194
+ */
195
+ export type InstanceMetadataOptionsRequest = {
196
+ /**
197
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpendpoint}
198
+ */
199
+ HttpEndpoint?: "enabled" | "disabled" | undefined;
200
+ /**
201
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpprotocolipv6}
202
+ */
203
+ HttpProtocolIpv6?: "enabled" | "disabled" | undefined;
204
+ /**
205
+ * @min 1
206
+ * @max 64
207
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httpputresponsehoplimit}
208
+ */
209
+ HttpPutResponseHopLimit?: number | undefined;
210
+ /**
211
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-httptokens}
212
+ */
213
+ HttpTokens?: "optional" | "required" | undefined;
214
+ /**
215
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancemetadataoptionsrequest-instancemetadatatags}
216
+ */
217
+ InstanceMetadataTags?: "enabled" | "disabled" | undefined;
218
+ };
219
+ /**
220
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html}
221
+ */
222
+ export type InstanceNetworkInterfaceSpecification = {
223
+ /**
224
+ * @maxLength 1000
225
+ * @pattern ^[\S\s]*$
226
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-description}
227
+ */
228
+ Description?: string | undefined;
229
+ /**
230
+ * @min 0
231
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-deviceindex}
232
+ */
233
+ DeviceIndex?: number | undefined;
234
+ /**
235
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-groups}
236
+ */
237
+ Groups?: string[] | undefined;
238
+ /**
239
+ * @pattern ^subnet-[0-9a-zA-Z]{1,63}$
240
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification.html#cfn-workspacesinstances-workspaceinstance-instancenetworkinterfacespecification-subnetid}
241
+ */
242
+ SubnetId?: string | undefined;
243
+ };
244
+ /**
245
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkperformanceoptionsrequest.html}
246
+ */
247
+ export type InstanceNetworkPerformanceOptionsRequest = {
248
+ /**
249
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-instancenetworkperformanceoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-instancenetworkperformanceoptionsrequest-bandwidthweighting}
250
+ */
251
+ BandwidthWeighting?: "default" | "vpc-1" | "ebs-1" | undefined;
252
+ };
253
+ /**
254
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html}
255
+ */
256
+ export type Placement = {
257
+ /**
258
+ * @pattern ^[a-z]{2}-[a-z]+-\d[a-z](-[a-z0-9]+)?$
259
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-availabilityzone}
260
+ */
261
+ AvailabilityZone?: string | undefined;
262
+ /**
263
+ * @maxLength 255
264
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-groupname}
265
+ */
266
+ GroupName?: string | undefined;
267
+ /**
268
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-placement.html#cfn-workspacesinstances-workspaceinstance-placement-tenancy}
269
+ */
270
+ Tenancy?: "default" | "dedicated" | "host" | undefined;
271
+ };
272
+ /**
273
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html}
274
+ */
275
+ export type PrivateDnsNameOptionsRequest = {
276
+ /**
277
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-enableresourcenamednsaaaarecord}
278
+ */
279
+ EnableResourceNameDnsAAAARecord?: boolean | undefined;
280
+ /**
281
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-enableresourcenamednsarecord}
282
+ */
283
+ EnableResourceNameDnsARecord?: boolean | undefined;
284
+ /**
285
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest.html#cfn-workspacesinstances-workspaceinstance-privatednsnameoptionsrequest-hostnametype}
286
+ */
287
+ HostnameType?: "ip-name" | "resource-name" | undefined;
288
+ };
289
+ /**
290
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-runinstancesmonitoringenabled.html}
291
+ */
292
+ export type RunInstancesMonitoringEnabled = {
293
+ /**
294
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-runinstancesmonitoringenabled.html#cfn-workspacesinstances-workspaceinstance-runinstancesmonitoringenabled-enabled}
295
+ */
296
+ Enabled?: boolean | undefined;
297
+ };
298
+ /**
299
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-tagspecification.html}
300
+ */
301
+ export type TagSpecification = {
302
+ /**
303
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-tagspecification.html#cfn-workspacesinstances-workspaceinstance-tagspecification-resourcetype}
304
+ */
305
+ ResourceType?: "instance" | "volume" | "spot-instances-request" | "network-interface" | undefined;
306
+ /**
307
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesinstances-workspaceinstance-tagspecification.html#cfn-workspacesinstances-workspaceinstance-tagspecification-tags}
308
+ */
309
+ Tags?: Tag[] | undefined;
310
+ };
311
+ //# sourceMappingURL=aws-workspacesinstances-workspaceinstance.d.ts.map
@@ -28,7 +28,7 @@ export type ResourceDefinitionWithAttributes<Type extends string = string, Props
28
28
  */
29
29
  export type ConditionInstance = {
30
30
  name: string;
31
- ref: FnCondition;
31
+ ref: () => FnCondition;
32
32
  };
33
33
  /**
34
34
  * Represents a mapping that has been added to a template.
@@ -42,11 +42,11 @@ export type MappingInstance<TopLevelKey extends string = string, SecondLevelKey
42
42
  */
43
43
  export type ParameterInstance<T extends ParameterType> = T extends FnValueOfType ? {
44
44
  name: string;
45
- ref: Ref<ParameterTypeMap[T]>;
45
+ ref: () => Ref<ParameterTypeMap[T]>;
46
46
  valueOf: <Attr extends keyof FnValueOfTypeMap[T]>(attribute: Attr) => Required<FnValueOf<FnValueOfTypeMap[T][Attr]>>;
47
47
  } : {
48
48
  name: string;
49
- ref: Ref<ParameterTypeMap[T]>;
49
+ ref: () => Ref<ParameterTypeMap[T]>;
50
50
  };
51
51
  /**
52
52
  * Represents a resource that has been added to a template.
@@ -1 +1 @@
1
- {"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../lib/builder.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK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;IA+BtD;;;;;;;;OAQG;IACI,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,GAAG,IAAI;IAIlE;;;;;;OAMG;IACI,YAAY,CAAC,CAAC,SAAS,aAAa,EACzC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC,GACjC,iBAAiB,CAAC,CAAC,CAAC;IASvB;;;;;;OAMG;IACI,WAAW,CAAC,CAAC,SAAS,YAAY,CAAC,MAAM,CAAC,EAC/C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,EACP,UAAU,EAAE,OAAO,CAAC,YAAY,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC,YAAY,CAAC,EAC5D,OAAO,CAAC,EAAE,eAAe,GACxB,gBAAgB,CAAC,OAAO,CAAC,YAAY,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IAavD;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,GAAG,IAAI;CA8C/D"}
@@ -43,7 +43,7 @@ export class TemplateBuilder {
43
43
  this.#addSection("Conditions", name, definition);
44
44
  return {
45
45
  name,
46
- ref: Condition(name),
46
+ ref: () => Condition(name),
47
47
  };
48
48
  }
49
49
  /**
@@ -94,7 +94,7 @@ export class TemplateBuilder {
94
94
  this.#addSection("Parameters", name, definition);
95
95
  return {
96
96
  name,
97
- ref: Ref(name),
97
+ ref: () => Ref(name),
98
98
  valueOf: Fn.ValueOf.bind(Fn, name),
99
99
  };
100
100
  }
@@ -1 +1 @@
1
- {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../lib/builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,SAAS,EACT,EAAE,EACF,GAAG,GAQJ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,eAA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AG,EAAE,CAAC;YAChB,MAAM,IAAI,4BAA4B,CACpC,IAAI,CAAC,CAAC,CAAoB,EAC1B,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CACxB,CAAC;QACJ,CAAC;QACD,sEAAsE;QACtE,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;IACpB,CAAC;CACF;AAED;;;GAGG;AACH,SAAS,qBAAqB,CAAC,WAA4B;IACzD,OAAO,CACL,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CACnE,CAAC,WAAW,EAAE,CAAC;AAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propulsionworks/cloudformation",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "author": {
5
5
  "name": "Gordon Leigh"
6
6
  },