@propulsionworks/cloudformation 0.1.21 → 0.1.23

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 (79) hide show
  1. package/out/exports/resources.generated/aws-apigateway-deployment.d.ts +1 -1
  2. package/out/exports/resources.generated/aws-appintegrations-application.d.ts +52 -0
  3. package/out/exports/resources.generated/aws-aps-resourcepolicy.d.ts +36 -0
  4. package/out/exports/resources.generated/aws-aps-workspace.d.ts +2 -4
  5. package/out/exports/resources.generated/aws-b2bi-transformer.d.ts +89 -0
  6. package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +12 -4
  7. package/out/exports/resources.generated/aws-batch-jobdefinition.d.ts +2 -2
  8. package/out/exports/resources.generated/aws-billingconductor-customlineitem.d.ts +2 -2
  9. package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +4 -0
  10. package/out/exports/resources.generated/aws-codepipeline-webhook.d.ts +20 -2
  11. package/out/exports/resources.generated/aws-connect-predefinedattribute.d.ts +3 -3
  12. package/out/exports/resources.generated/aws-connect-user.d.ts +5 -0
  13. package/out/exports/resources.generated/aws-datazone-policygrant.d.ts +298 -0
  14. package/out/exports/resources.generated/aws-deadline-fleet.d.ts +10 -2
  15. package/out/exports/resources.generated/aws-deadline-licenseendpoint.d.ts +1 -1
  16. package/out/exports/resources.generated/aws-dynamodb-globaltable.d.ts +5 -0
  17. package/out/exports/resources.generated/aws-dynamodb-table.d.ts +11 -4
  18. package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +1 -1
  19. package/out/exports/resources.generated/aws-ec2-ippoolroutetableassociation.d.ts +33 -0
  20. package/out/exports/resources.generated/aws-ec2-launchtemplate.d.ts +3 -0
  21. package/out/exports/resources.generated/aws-ec2-volume.d.ts +2 -0
  22. package/out/exports/resources.generated/aws-ec2-vpnconnection.d.ts +4 -0
  23. package/out/exports/resources.generated/aws-ecs-capacityprovider.d.ts +0 -2
  24. package/out/exports/resources.generated/aws-ecs-service.d.ts +1 -1
  25. package/out/exports/resources.generated/aws-eks-addon.d.ts +10 -0
  26. package/out/exports/resources.generated/aws-eks-cluster.d.ts +1 -1
  27. package/out/exports/resources.generated/aws-elasticloadbalancingv2-loadbalancer.d.ts +1 -1
  28. package/out/exports/resources.generated/aws-entityresolution-idmappingworkflow.d.ts +13 -0
  29. package/out/exports/resources.generated/aws-events-rule.d.ts +5 -0
  30. package/out/exports/resources.generated/aws-fsx-filesystem.d.ts +10 -0
  31. package/out/exports/resources.generated/aws-glue-connection.d.ts +30 -0
  32. package/out/exports/resources.generated/aws-glue-job.d.ts +19 -8
  33. package/out/exports/resources.generated/aws-glue-tableoptimizer.d.ts +18 -1
  34. package/out/exports/resources.generated/aws-guardduty-ipset.d.ts +10 -6
  35. package/out/exports/resources.generated/aws-guardduty-threatentityset.d.ts +114 -0
  36. package/out/exports/resources.generated/aws-guardduty-threatintelset.d.ts +13 -7
  37. package/out/exports/resources.generated/aws-guardduty-trustedentityset.d.ts +113 -0
  38. package/out/exports/resources.generated/aws-imagebuilder-component.d.ts +1 -1
  39. package/out/exports/resources.generated/aws-imagebuilder-containerrecipe.d.ts +2 -2
  40. package/out/exports/resources.generated/aws-imagebuilder-distributionconfiguration.d.ts +1 -1
  41. package/out/exports/resources.generated/aws-imagebuilder-imagerecipe.d.ts +4 -2
  42. package/out/exports/resources.generated/aws-imagebuilder-workflow.d.ts +1 -1
  43. package/out/exports/resources.generated/aws-inspectorv2-codesecurityintegration.d.ts +176 -0
  44. package/out/exports/resources.generated/aws-inspectorv2-codesecurityscanconfiguration.d.ts +135 -0
  45. package/out/exports/resources.generated/aws-iot-encryptionconfiguration.d.ts +42 -0
  46. package/out/exports/resources.generated/aws-iot-mitigationaction.d.ts +2 -2
  47. package/out/exports/resources.generated/aws-ivs-playbackrestrictionpolicy.d.ts +2 -2
  48. package/out/exports/resources.generated/aws-ivs-stage.d.ts +54 -1
  49. package/out/exports/resources.generated/aws-kinesisanalyticsv2-application.d.ts +24 -0
  50. package/out/exports/resources.generated/aws-lambda-eventinvokeconfig.d.ts +3 -3
  51. package/out/exports/resources.generated/aws-lambda-permission.d.ts +2 -2
  52. package/out/exports/resources.generated/aws-logs-loggroup.d.ts +2 -3
  53. package/out/exports/resources.generated/aws-mediapackagev2-channel.d.ts +1 -1
  54. package/out/exports/resources.generated/aws-networkfirewall-tlsinspectionconfiguration.d.ts +4 -4
  55. package/out/exports/resources.generated/aws-observabilityadmin-organizationtelemetryrule.d.ts +137 -0
  56. package/out/exports/resources.generated/aws-observabilityadmin-telemetryrule.d.ts +132 -0
  57. package/out/exports/resources.generated/aws-omics-workflowversion.d.ts +2 -2
  58. package/out/exports/resources.generated/aws-opensearchservice-domain.d.ts +21 -0
  59. package/out/exports/resources.generated/aws-quicksight-analysis.d.ts +1 -1
  60. package/out/exports/resources.generated/aws-quicksight-dataset.d.ts +6 -6
  61. package/out/exports/resources.generated/aws-rds-dbproxy.d.ts +1 -1
  62. package/out/exports/resources.generated/aws-s3-bucket.d.ts +1 -1
  63. package/out/exports/resources.generated/aws-s3-bucketpolicy.d.ts +2 -2
  64. package/out/exports/resources.generated/aws-s3express-accesspoint.d.ts +1 -0
  65. package/out/exports/resources.generated/aws-s3tables-tablebucketpolicy.d.ts +2 -2
  66. package/out/exports/resources.generated/aws-s3tables-tablepolicy.d.ts +2 -2
  67. package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +96 -0
  68. package/out/exports/resources.generated/aws-sagemaker-domain.d.ts +0 -6
  69. package/out/exports/resources.generated/aws-servicediscovery-httpnamespace.d.ts +4 -4
  70. package/out/exports/resources.generated/aws-servicediscovery-instance.d.ts +1 -1
  71. package/out/exports/resources.generated/aws-servicediscovery-service.d.ts +6 -31
  72. package/out/exports/resources.generated/aws-sqs-queue.d.ts +2 -1
  73. package/out/exports/resources.generated/aws-ssm-patchbaseline.d.ts +6 -1
  74. package/out/exports/resources.generated/aws-ssmquicksetup-configurationmanager.d.ts +1 -1
  75. package/out/exports/resources.generated/aws-synthetics-canary.d.ts +29 -0
  76. package/out/exports/resources.generated/aws-vpclattice-resourcegateway.d.ts +5 -0
  77. package/out/exports/resources.generated/aws-workspacesweb-portal.d.ts +1 -0
  78. package/out/exports/resources.generated/aws-workspacesweb-sessionlogger.d.ts +19 -2
  79. package/package.json +1 -1
@@ -84,6 +84,38 @@ export type SageMakerClusterAttribs = {
84
84
  */
85
85
  FailureMessage: string;
86
86
  };
87
+ /**
88
+ * The details of the alarm to monitor during the AMI update.
89
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-alarmdetails.html}
90
+ */
91
+ export type AlarmDetails = {
92
+ /**
93
+ * The name of the alarm.
94
+ * @minLength 1
95
+ * @maxLength 256
96
+ * @pattern (?!\s*$).+
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-alarmdetails.html#cfn-sagemaker-cluster-alarmdetails-alarmname}
98
+ */
99
+ AlarmName: string;
100
+ };
101
+ /**
102
+ * The configuration of the size measurements of the AMI update. Using this configuration, you can specify whether SageMaker should update your instance group by an amount or percentage of instances.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-capacitysizeconfig.html}
104
+ */
105
+ export type CapacitySizeConfig = {
106
+ /**
107
+ * Specifies whether SageMaker should process the update by amount or percentage of instances.
108
+ * @pattern INSTANCE_COUNT|CAPACITY_PERCENTAGE
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-capacitysizeconfig.html#cfn-sagemaker-cluster-capacitysizeconfig-type}
110
+ */
111
+ Type: string;
112
+ /**
113
+ * Specifies the amount or percentage of instances SageMaker updates at a time.
114
+ * @min 1
115
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-capacitysizeconfig.html#cfn-sagemaker-cluster-capacitysizeconfig-value}
116
+ */
117
+ Value: number;
118
+ };
87
119
  /**
88
120
  * Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see [SageMaker HyperPod release notes: June 20, 2024](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620) .
89
121
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterebsvolumeconfig.html}
@@ -108,6 +140,7 @@ export type ClusterInstanceGroup = {
108
140
  */
109
141
  ExecutionRole: string;
110
142
  /**
143
+ * AMI Id to be used for launching EC2 instances - HyperPodPublicAmiId or CustomAmiId
111
144
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-imageid}
112
145
  */
113
146
  ImageId?: string | undefined;
@@ -147,6 +180,11 @@ export type ClusterInstanceGroup = {
147
180
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig}
148
181
  */
149
182
  OverrideVpcConfig?: VpcConfig | undefined;
183
+ /**
184
+ * The configuration object of the schedule that SageMaker follows when updating the AMI.
185
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-scheduledupdateconfig}
186
+ */
187
+ ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
150
188
  /**
151
189
  * The number of threads per CPU core you specified under `CreateCluster` .
152
190
  * @min 1
@@ -271,6 +309,29 @@ export type ClusterRestrictedInstanceGroup = {
271
309
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deephealthchecktype.html}
272
310
  */
273
311
  export type DeepHealthCheckType = "InstanceStress" | "InstanceConnectivity";
312
+ /**
313
+ * The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
314
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deploymentconfig.html}
315
+ */
316
+ export type DeploymentConfig = {
317
+ /**
318
+ * Automatic rollback configuration for handling endpoint deployment failures and recovery.
319
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deploymentconfig.html#cfn-sagemaker-cluster-deploymentconfig-autorollbackconfiguration}
320
+ */
321
+ AutoRollbackConfiguration?: AlarmDetails[] | undefined;
322
+ /**
323
+ * Specifies a rolling deployment strategy for updating a SageMaker endpoint.
324
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deploymentconfig.html#cfn-sagemaker-cluster-deploymentconfig-rollingupdatepolicy}
325
+ */
326
+ RollingUpdatePolicy?: RollingUpdatePolicy | undefined;
327
+ /**
328
+ * The duration in seconds that SageMaker waits before updating more instances in the cluster.
329
+ * @min 0
330
+ * @max 3600
331
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-deploymentconfig.html#cfn-sagemaker-cluster-deploymentconfig-waitintervalinseconds}
332
+ */
333
+ WaitIntervalInSeconds?: number | undefined;
334
+ };
274
335
  /**
275
336
  * The configuration for the restricted instance groups (RIG) environment.
276
337
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-environmentconfig.html}
@@ -313,6 +374,41 @@ export type Orchestrator = {
313
374
  */
314
375
  Eks: ClusterOrchestratorEksConfig;
315
376
  };
377
+ /**
378
+ * Specifies a rolling deployment strategy for updating a SageMaker endpoint.
379
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html}
380
+ */
381
+ export type RollingUpdatePolicy = {
382
+ /**
383
+ * Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.
384
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html#cfn-sagemaker-cluster-rollingupdatepolicy-maximumbatchsize}
385
+ */
386
+ MaximumBatchSize: CapacitySizeConfig;
387
+ /**
388
+ * Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.
389
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-rollingupdatepolicy.html#cfn-sagemaker-cluster-rollingupdatepolicy-rollbackmaximumbatchsize}
390
+ */
391
+ RollbackMaximumBatchSize?: CapacitySizeConfig | undefined;
392
+ };
393
+ /**
394
+ * The configuration object of the schedule that SageMaker follows when updating the AMI.
395
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-scheduledupdateconfig.html}
396
+ */
397
+ export type ScheduledUpdateConfig = {
398
+ /**
399
+ * The configuration to use when updating the AMI versions.
400
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-scheduledupdateconfig.html#cfn-sagemaker-cluster-scheduledupdateconfig-deploymentconfig}
401
+ */
402
+ DeploymentConfig?: DeploymentConfig | undefined;
403
+ /**
404
+ * A cron expression that specifies the schedule that SageMaker follows when updating the AMI.
405
+ * @minLength 1
406
+ * @maxLength 256
407
+ * @pattern cron\((?:[0-5][0-9]|[0-9]|) (?:[01][0-9]|2[0-3]|[0-9]) (?:[1-9]|0[1-9]|[12][0-9]|3[01]|\?) (?:[1-9]|0[1-9]|1[0-2]|\*|\*‍/(?:[1-9]|1[0-2])|) (?:MON|TUE|WED|THU|FRI|SAT|SUN|[1-7]|\?|L|(?:[1-7]#[1-5])|(?:[1-7]L)) (?:20[2-9][0-9]|\*|)\)
408
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-scheduledupdateconfig.html#cfn-sagemaker-cluster-scheduledupdateconfig-scheduleexpression}
409
+ */
410
+ ScheduleExpression: string;
411
+ };
316
412
  /**
317
413
  * Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see [Give SageMaker Access to Resources in your Amazon VPC](https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html) .
318
414
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-vpcconfig.html}
@@ -857,12 +857,6 @@ export type UnifiedStudioSettings = {
857
857
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-unifiedstudiosettings.html#cfn-sagemaker-domain-unifiedstudiosettings-projects3path}
858
858
  */
859
859
  ProjectS3Path?: string | undefined;
860
- /**
861
- * The ARN of the Amazon DataZone application managed by Amazon SageMaker Unified Studio in the AWS IAM Identity Center.
862
- * @pattern ^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::[0-9]+:application/[a-zA-Z0-9-_.]+/apl-[a-zA-Z0-9]+$
863
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-unifiedstudiosettings.html#cfn-sagemaker-domain-unifiedstudiosettings-singlesignonapplicationarn}
864
- */
865
- SingleSignOnApplicationArn?: string | undefined;
866
860
  /**
867
861
  * Sets whether you can access the domain in Amazon SageMaker Studio:
868
862
  *
@@ -1,15 +1,15 @@
1
1
  import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
2
  /**
3
- * The `HttpNamespace` resource is an AWS Cloud Map resource type that contains information about an HTTP namespace. Service instances that you register using an HTTP namespace can be discovered using a `DiscoverInstances` request but can't be discovered using DNS.
3
+ * Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a `DiscoverInstances` request but can't be discovered using DNS.
4
4
  *
5
- * For the current quota on the number of namespaces that you can create using the same AWS account, see [AWS Cloud Map quotas](https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) in the ** .
5
+ * For the current quota on the number of namespaces that you can create using the same AWS account , see [AWS Cloud Map quotas](https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) in the *AWS Cloud Map Developer Guide* .
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html}
7
7
  */
8
8
  export type ServiceDiscoveryHttpNamespace = ResourceDefinitionWithAttributes<"AWS::ServiceDiscovery::HttpNamespace", ServiceDiscoveryHttpNamespaceProps, ServiceDiscoveryHttpNamespaceAttribs>;
9
9
  /**
10
- * The `HttpNamespace` resource is an AWS Cloud Map resource type that contains information about an HTTP namespace. Service instances that you register using an HTTP namespace can be discovered using a `DiscoverInstances` request but can't be discovered using DNS.
10
+ * Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a `DiscoverInstances` request but can't be discovered using DNS.
11
11
  *
12
- * For the current quota on the number of namespaces that you can create using the same AWS account, see [AWS Cloud Map quotas](https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) in the ** .
12
+ * For the current quota on the number of namespaces that you can create using the same AWS account , see [AWS Cloud Map quotas](https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) in the *AWS Cloud Map Developer Guide* .
13
13
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html}
14
14
  */
15
15
  export type ServiceDiscoveryHttpNamespaceProps = {
@@ -46,7 +46,7 @@ export type ServiceDiscoveryInstanceProps = {
46
46
  */
47
47
  InstanceAttributes: Record<string, unknown>;
48
48
  /**
49
- * The ID of the service that you want to use for settings for the instance.
49
+ * The ID or Amazon Resource Name (ARN) of the service that you want to use for settings for the instance. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see [Cross-account AWS Cloud Map namespace sharing](https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html) in the *AWS Cloud Map Developer Guide* .
50
50
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-serviceid}
51
51
  */
52
52
  ServiceId: string;
@@ -1,29 +1,11 @@
1
1
  import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
2
  /**
3
- * A complex type that contains information about a service, which defines the configuration of the following entities:
4
- *
5
- * - For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53:
6
- *
7
- * - A
8
- * - AAAA
9
- * - A and AAAA
10
- * - SRV
11
- * - CNAME
12
- * - Optionally, a health check
3
+ * A complex type that contains information about the specified service.
13
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html}
14
5
  */
15
6
  export type ServiceDiscoveryService = ResourceDefinitionWithAttributes<"AWS::ServiceDiscovery::Service", ServiceDiscoveryServiceProps, ServiceDiscoveryServiceAttribs>;
16
7
  /**
17
- * A complex type that contains information about a service, which defines the configuration of the following entities:
18
- *
19
- * - For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53:
20
- *
21
- * - A
22
- * - AAAA
23
- * - A and AAAA
24
- * - SRV
25
- * - CNAME
26
- * - Optionally, a health check
8
+ * A complex type that contains information about the specified service.
27
9
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html}
28
10
  */
29
11
  export type ServiceDiscoveryServiceProps = {
@@ -59,19 +41,12 @@ export type ServiceDiscoveryServiceProps = {
59
41
  */
60
42
  Name?: string | undefined;
61
43
  /**
62
- * The ID of the namespace that was used to create the service.
63
- *
64
- * > You must specify a value for `NamespaceId` either for the service properties or for [DnsConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html) . Don't specify a value in both places.
44
+ * The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service. For namespaces shared with your AWS account, specify the namespace ARN. For more information about shared namespaces, see [Cross-account AWS Cloud Map namespace sharing](https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html) in the *AWS Cloud Map Developer Guide* .
65
45
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-namespaceid}
66
46
  */
67
47
  NamespaceId?: string | undefined;
68
48
  /**
69
- * A string map that contains the following information for the service:
70
- *
71
- * - The attributes that apply to the service
72
- * - For each attribute, the applicable value.
73
- *
74
- * You can specify a total of 30 attributes.
49
+ * A complex type that contains information about attributes associated with a specific service.
75
50
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-serviceattributes}
76
51
  */
77
52
  ServiceAttributes?: Record<string, unknown> | undefined;
@@ -119,9 +94,9 @@ export type DnsConfig = {
119
94
  */
120
95
  DnsRecords: DnsRecord[];
121
96
  /**
122
- * The ID of the namespace to use for DNS configuration.
97
+ * *Use NamespaceId in [Service](https://docs.aws.amazon.com/cloud-map/latest/api/API_Service.html) instead.*
123
98
  *
124
- * > You must specify a value for `NamespaceId` either for `DnsConfig` or for the [service properties](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html) . Don't specify a value in both places.
99
+ * The ID of the namespace to use for DNS configuration.
125
100
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-namespaceid}
126
101
  */
127
102
  NamespaceId?: string | undefined;
@@ -78,7 +78,8 @@ export type SQSQueueProps = {
78
78
  */
79
79
  KmsMasterKeyId?: string | undefined;
80
80
  /**
81
- * The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an integer value from `1,024` bytes (1 KiB) to `262,144` bytes (256 KiB). The default value is `262,144` (256 KiB).
81
+ * The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an integer from 1,024 bytes (1 KiB) to 1,048,576 bytes (1 MiB).
82
+ * Default: 1,048,576 bytes (1 MiB).
82
83
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-maximummessagesize}
83
84
  */
84
85
  MaximumMessageSize?: number | undefined;
@@ -98,7 +98,12 @@ export type SSMPatchBaselineProps = {
98
98
  * - **ALLOW_AS_DEPENDENCY** - *Linux and macOS* : A package in the rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as `INSTALLED_OTHER` . This is the default action if no option is specified.
99
99
  *
100
100
  * *Windows Server* : Windows Server doesn't support the concept of package dependencies. If a package in the rejected patches list and already installed on the node, its status is reported as `INSTALLED_OTHER` . Any package not already installed on the node is skipped. This is the default action if no option is specified.
101
- * - **BLOCK** - *All OSs* : Packages in the rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as `INSTALLED_REJECTED` .
101
+ * - **BLOCK** - *All OSs* : Packages in the rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances.
102
+ *
103
+ * State value assignment for patch compliance:
104
+ *
105
+ * - If a package was installed before it was added to the rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as `INSTALLED_REJECTED` .
106
+ * - If an update attempts to install a dependency package that is now rejected by the baseline, when previous versions of the package were not rejected, the package being updated is reported as `MISSING` for `SCAN` operations and as `FAILED` for `INSTALL` operations.
102
107
  * @default "ALLOW_AS_DEPENDENCY"
103
108
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-rejectedpatchesaction}
104
109
  */
@@ -162,7 +162,7 @@ export type ConfigurationDefinition = {
162
162
  * - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to.
163
163
  * - `TargetRegions`
164
164
  *
165
- * - Description: (Required) The AWS Regions to deploy the configuration to. For this type, the parameter only accepts a value of `AllRegions` .
165
+ * - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to.
166
166
  * - **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - `AnalyseAllResources`
167
167
  *
168
168
  * - Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " `false` ".
@@ -188,6 +188,11 @@ export type BaseScreenshot = {
188
188
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html}
189
189
  */
190
190
  export type Code = {
191
+ /**
192
+ * List of Lambda layers to attach to the canary
193
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-dependencies}
194
+ */
195
+ Dependencies?: Dependency[] | undefined;
191
196
  /**
192
197
  * The entry point to use for the source code when running the canary. For canaries that use the `syn-python-selenium-1.0` runtime or a `syn-nodejs.puppeteer` runtime earlier than `syn-nodejs.puppeteer-3.4` , the handler must be specified as `*fileName* .handler` . For `syn-python-selenium-1.1` , `syn-nodejs.puppeteer-3.4` , and later runtimes, the handler can be specified as `*fileName* . *functionName*` , or you can specify a folder where canary scripts reside as `*folder* / *fileName* . *functionName*` .
193
198
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-handler}
@@ -214,6 +219,11 @@ export type Code = {
214
219
  */
215
220
  Script?: string | undefined;
216
221
  } | {
222
+ /**
223
+ * List of Lambda layers to attach to the canary
224
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-dependencies}
225
+ */
226
+ Dependencies?: Dependency[] | undefined;
217
227
  /**
218
228
  * The entry point to use for the source code when running the canary. For canaries that use the `syn-python-selenium-1.0` runtime or a `syn-nodejs.puppeteer` runtime earlier than `syn-nodejs.puppeteer-3.4` , the handler must be specified as `*fileName* .handler` . For `syn-python-selenium-1.1` , `syn-nodejs.puppeteer-3.4` , and later runtimes, the handler can be specified as `*fileName* . *functionName*` , or you can specify a folder where canary scripts reside as `*folder* / *fileName* . *functionName*` .
219
229
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-handler}
@@ -240,6 +250,25 @@ export type Code = {
240
250
  */
241
251
  Script: string;
242
252
  };
253
+ /**
254
+ * A structure that contains information about a dependency for a canary.
255
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html}
256
+ */
257
+ export type Dependency = {
258
+ /**
259
+ * The dependency reference. For Lambda layers, this is the ARN of the Lambda layer. For more information about Lambda ARN format, see [Lambda](https://docs.aws.amazon.com/lambda/latest/api/API_Layer.html) .
260
+ * @minLength 1
261
+ * @maxLength 140
262
+ * @pattern arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+
263
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-reference}
264
+ */
265
+ Reference: string;
266
+ /**
267
+ * The type of dependency. Valid value is `LambdaLayer` .
268
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-type}
269
+ */
270
+ Type?: "LambdaLayer" | undefined;
271
+ };
243
272
  /**
244
273
  * Specifies which resources canary tags should be replicated to.
245
274
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-resourcetotag.html}
@@ -14,6 +14,11 @@ export type VpcLatticeResourceGatewayProps = {
14
14
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-ipaddresstype}
15
15
  */
16
16
  IpAddressType?: "IPV4" | "IPV6" | "DUALSTACK" | undefined;
17
+ /**
18
+ * The number of IPv4 addresses to allocate per ENI for the resource gateway
19
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#cfn-vpclattice-resourcegateway-ipv4addressespereni}
20
+ */
21
+ Ipv4AddressesPerEni?: number | undefined;
17
22
  /**
18
23
  * The name of the resource gateway.
19
24
  * @minLength 3
@@ -98,6 +98,7 @@ export type WorkSpacesWebPortalProps = {
98
98
  */
99
99
  NetworkSettingsArn?: string | undefined;
100
100
  /**
101
+ * The ARN of the session logger that is assocaited with the portal.
101
102
  * @minLength 20
102
103
  * @maxLength 2048
103
104
  * @pattern ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$
@@ -1,19 +1,21 @@
1
1
  import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
2
  /**
3
- * Definition of AWS::WorkSpacesWeb::SessionLogger Resource Type
3
+ * The session logger resource.
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html}
5
5
  */
6
6
  export type WorkSpacesWebSessionLogger = ResourceDefinitionWithAttributes<"AWS::WorkSpacesWeb::SessionLogger", WorkSpacesWebSessionLoggerProps, WorkSpacesWebSessionLoggerAttribs>;
7
7
  /**
8
- * Definition of AWS::WorkSpacesWeb::SessionLogger Resource Type
8
+ * The session logger resource.
9
9
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html}
10
10
  */
11
11
  export type WorkSpacesWebSessionLoggerProps = {
12
12
  /**
13
+ * The additional encryption context of the session logger.
13
14
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-additionalencryptioncontext}
14
15
  */
15
16
  AdditionalEncryptionContext?: Record<string, string> | undefined;
16
17
  /**
18
+ * The custom managed key of the session logger.
17
19
  * @minLength 20
18
20
  * @maxLength 2048
19
21
  * @pattern ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$
@@ -21,6 +23,7 @@ export type WorkSpacesWebSessionLoggerProps = {
21
23
  */
22
24
  CustomerManagedKey?: string | undefined;
23
25
  /**
26
+ * The human-readable display name.
24
27
  * @minLength 1
25
28
  * @maxLength 64
26
29
  * @pattern ^[ _\-\d\w]+$
@@ -28,10 +31,12 @@ export type WorkSpacesWebSessionLoggerProps = {
28
31
  */
29
32
  DisplayName?: string | undefined;
30
33
  /**
34
+ * The filter that specifies which events to monitor.
31
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-eventfilter}
32
36
  */
33
37
  EventFilter: EventFilter;
34
38
  /**
39
+ * The configuration that specifies where logs are fowarded.
35
40
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-logconfiguration}
36
41
  */
37
42
  LogConfiguration: LogConfiguration;
@@ -45,15 +50,18 @@ export type WorkSpacesWebSessionLoggerProps = {
45
50
  */
46
51
  export type WorkSpacesWebSessionLoggerAttribs = {
47
52
  /**
53
+ * The associated portal ARN.
48
54
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-associatedportalarns}
49
55
  */
50
56
  AssociatedPortalArns: string[];
51
57
  /**
58
+ * The date the session logger resource was created.
52
59
  * @format date-time
53
60
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-creationdate}
54
61
  */
55
62
  CreationDate: string;
56
63
  /**
64
+ * The ARN of the session logger resource.
57
65
  * @minLength 20
58
66
  * @maxLength 2048
59
67
  * @pattern ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$
@@ -66,6 +74,7 @@ export type WorkSpacesWebSessionLoggerAttribs = {
66
74
  */
67
75
  export type Event = "WebsiteInteract" | "FileDownloadFromSecureBrowserToRemoteDisk" | "FileTransferFromRemoteToLocalDisk" | "FileTransferFromLocalToRemoteDisk" | "FileUploadFromRemoteDiskToSecureBrowser" | "ContentPasteToWebsite" | "ContentTransferFromLocalToRemoteClipboard" | "ContentCopyFromWebsite" | "UrlLoad" | "TabOpen" | "TabClose" | "PrintJobSubmit" | "SessionConnect" | "SessionStart" | "SessionDisconnect" | "SessionEnd" | "UrlBlockByContentFilter";
68
76
  /**
77
+ * The filter that specifies the events to monitor.
69
78
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-eventfilter.html}
70
79
  */
71
80
  export type EventFilter = {
@@ -78,10 +87,12 @@ export type EventFilter = {
78
87
  */
79
88
  export type FolderStructure = "Flat" | "NestedByDate";
80
89
  /**
90
+ * The configuration of the log.
81
91
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-logconfiguration.html}
82
92
  */
83
93
  export type LogConfiguration = {
84
94
  /**
95
+ * The configuration for delivering the logs to S3.
85
96
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-logconfiguration.html#cfn-workspacesweb-sessionlogger-logconfiguration-s3}
86
97
  */
87
98
  S3?: S3LogConfiguration | undefined;
@@ -91,10 +102,12 @@ export type LogConfiguration = {
91
102
  */
92
103
  export type LogFileFormat = "JSONLines" | "Json";
93
104
  /**
105
+ * The S3 log configuration.
94
106
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html}
95
107
  */
96
108
  export type S3LogConfiguration = {
97
109
  /**
110
+ * The S3 bucket name where logs are delivered.
98
111
  * @minLength 1
99
112
  * @maxLength 256
100
113
  * @pattern ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$
@@ -102,15 +115,18 @@ export type S3LogConfiguration = {
102
115
  */
103
116
  Bucket: string;
104
117
  /**
118
+ * The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
105
119
  * @pattern ^[0-9]{12}$
106
120
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-bucketowner}
107
121
  */
108
122
  BucketOwner?: string | undefined;
109
123
  /**
124
+ * The folder structure that defines the organizational structure for log files in S3.
110
125
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-folderstructure}
111
126
  */
112
127
  FolderStructure: FolderStructure;
113
128
  /**
129
+ * The S3 path prefix that determines where log files are stored.
114
130
  * @minLength 1
115
131
  * @maxLength 256
116
132
  * @pattern ^[\d\w\-_/!().*']+$
@@ -118,6 +134,7 @@ export type S3LogConfiguration = {
118
134
  */
119
135
  KeyPrefix?: string | undefined;
120
136
  /**
137
+ * The format of the LogFile that is written to S3.
121
138
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-logfileformat}
122
139
  */
123
140
  LogFileFormat: LogFileFormat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propulsionworks/cloudformation",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "author": {
5
5
  "name": "Gordon Leigh"
6
6
  },