@awboost/cfn-resource-types 0.1.86 → 0.1.88
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/lib/AWS-AutoScaling-AutoScalingGroup.d.ts +24 -25
- package/lib/AWS-AutoScaling-AutoScalingGroup.js +2 -1
- package/lib/AWS-Bedrock-Agent.d.ts +1 -2
- package/lib/AWS-EC2-CustomerGateway.d.ts +5 -0
- package/lib/AWS-EKS-Addon.d.ts +20 -0
- package/lib/AWS-MediaPackageV2-OriginEndpoint.d.ts +102 -0
- package/lib/AWS-SecurityHub-ConfigurationPolicy.d.ts +199 -0
- package/lib/AWS-SecurityHub-ConfigurationPolicy.js +12 -0
- package/lib/AWS-SecurityHub-FindingAggregator.d.ts +43 -0
- package/lib/AWS-SecurityHub-FindingAggregator.js +12 -0
- package/lib/AWS-SecurityHub-OrganizationConfiguration.d.ts +52 -0
- package/lib/AWS-SecurityHub-OrganizationConfiguration.js +12 -0
- package/lib/AWS-SecurityHub-PolicyAssociation.d.ts +56 -0
- package/lib/AWS-SecurityHub-PolicyAssociation.js +12 -0
- package/lib/AWS-SecurityLake-Subscriber.d.ts +2 -3
- package/lib/AWS-SecurityLake-SubscriberNotification.d.ts +82 -0
- package/lib/AWS-SecurityLake-SubscriberNotification.js +12 -0
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
3
3
|
/**
|
|
4
4
|
* The ``AWS::AutoScaling::AutoScalingGroup`` resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.
|
|
5
5
|
For more information about Amazon EC2 Auto Scaling, see the [Amazon EC2 Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html).
|
|
6
|
-
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations.
|
|
6
|
+
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations. For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
7
|
+
For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
7
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html}
|
|
8
9
|
*/
|
|
9
10
|
export type AutoScalingAutoScalingGroupProperties = {
|
|
@@ -27,7 +28,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
27
28
|
Context?: string;
|
|
28
29
|
/**
|
|
29
30
|
* *Only needed if you use simple scaling policies.*
|
|
30
|
-
The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
31
|
+
The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
31
32
|
Default: ``300`` seconds
|
|
32
33
|
*/
|
|
33
34
|
Cooldown?: string;
|
|
@@ -46,7 +47,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
46
47
|
*/
|
|
47
48
|
DesiredCapacity?: string;
|
|
48
49
|
/**
|
|
49
|
-
* The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports ``DesiredCapacityType`` for attribute-based instance type selection only. For more information, see [
|
|
50
|
+
* The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports ``DesiredCapacityType`` for attribute-based instance type selection only. For more information, see [Create a mixed instances group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
50
51
|
By default, Amazon EC2 Auto Scaling specifies ``units``, which translates into number of instances.
|
|
51
52
|
Valid values: ``units`` | ``vcpu`` | ``memory-mib``
|
|
52
53
|
*/
|
|
@@ -58,7 +59,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
58
59
|
HealthCheckGracePeriod?: number;
|
|
59
60
|
/**
|
|
60
61
|
* A comma-separated value string of one or more health check types.
|
|
61
|
-
The valid values are ``EC2``, ``ELB``, and ``VPC_LATTICE``. ``EC2`` is the default health check and cannot be disabled. For more information, see [Health checks for Auto Scaling
|
|
62
|
+
The valid values are ``EC2``, ``ELB``, and ``VPC_LATTICE``. ``EC2`` is the default health check and cannot be disabled. For more information, see [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
62
63
|
Only specify ``EC2`` if you must clear a value that was previously set.
|
|
63
64
|
*/
|
|
64
65
|
HealthCheckType?: string;
|
|
@@ -90,7 +91,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
90
91
|
*/
|
|
91
92
|
LoadBalancerNames?: string[];
|
|
92
93
|
/**
|
|
93
|
-
* The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see [
|
|
94
|
+
* The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see [Replace Auto Scaling instances based on maximum instance lifetime](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
94
95
|
*/
|
|
95
96
|
MaxInstanceLifetime?: number;
|
|
96
97
|
/**
|
|
@@ -115,12 +116,12 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
115
116
|
*/
|
|
116
117
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
117
118
|
/**
|
|
118
|
-
* Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [
|
|
119
|
+
* Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Use instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
119
120
|
*/
|
|
120
121
|
NewInstancesProtectedFromScaleIn?: boolean;
|
|
121
122
|
/**
|
|
122
123
|
* A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
123
|
-
For an example template snippet, see [Auto
|
|
124
|
+
For an example template snippet, see [Configure Amazon EC2 Auto Scaling resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html).
|
|
124
125
|
For more information, see [Get Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
125
126
|
*/
|
|
126
127
|
NotificationConfiguration?: NotificationConfiguration;
|
|
@@ -146,7 +147,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
146
147
|
*/
|
|
147
148
|
TargetGroupARNs?: string[];
|
|
148
149
|
/**
|
|
149
|
-
* A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see [
|
|
150
|
+
* A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see [Configure termination policies for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
150
151
|
Valid values: ``Default`` | ``AllocationStrategy`` | ``ClosestToNextInstanceHour`` | ``NewestInstance`` | ``OldestInstance`` | ``OldestLaunchConfiguration`` | ``OldestLaunchTemplate`` | ``arn:aws:lambda:region:account-id:function:my-function:my-alias``
|
|
151
152
|
*/
|
|
152
153
|
TerminationPolicies?: string[];
|
|
@@ -225,13 +226,13 @@ export type InstanceMaintenancePolicy = {
|
|
|
225
226
|
* The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
|
|
226
227
|
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
|
|
227
228
|
To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:
|
|
228
|
-
+
|
|
229
|
-
+
|
|
229
|
+
+ ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
|
|
230
|
+
+ ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes.
|
|
230
231
|
|
|
231
232
|
You must specify ``VCpuCount`` and ``MemoryMiB``. All other attributes are optional. Any unspecified optional attribute is set to its default.
|
|
232
|
-
For an example template, see [Auto
|
|
233
|
+
For an example template, see [Configure Amazon EC2 Auto Scaling resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html).
|
|
233
234
|
For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the *Amazon EC2 Auto Scaling User Guide*. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see [Preview instance types with specified attributes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
234
|
-
|
|
235
|
+
``InstanceRequirements`` is a property of the ``LaunchTemplateOverrides`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) property type.
|
|
235
236
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html}
|
|
236
237
|
*/
|
|
237
238
|
export type InstanceRequirements = {
|
|
@@ -342,9 +343,8 @@ export type InstanceRequirements = {
|
|
|
342
343
|
/**
|
|
343
344
|
* [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
|
|
344
345
|
The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
345
|
-
To indicate no price protection threshold, specify a high value, such as ``999999``.
|
|
346
346
|
If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.
|
|
347
|
-
Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either,
|
|
347
|
+
Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``.
|
|
348
348
|
*/
|
|
349
349
|
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
|
|
350
350
|
/**
|
|
@@ -382,10 +382,8 @@ export type InstanceRequirements = {
|
|
|
382
382
|
/**
|
|
383
383
|
* [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.
|
|
384
384
|
The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
385
|
-
To turn off price protection, specify a high value, such as ``999999``.
|
|
386
385
|
If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.
|
|
387
|
-
Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified.
|
|
388
|
-
Default: ``100``
|
|
386
|
+
Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``.
|
|
389
387
|
*/
|
|
390
388
|
SpotMaxPricePercentageOverLowestPrice?: number;
|
|
391
389
|
/**
|
|
@@ -478,7 +476,7 @@ export type LaunchTemplateOverrides = {
|
|
|
478
476
|
*/
|
|
479
477
|
InstanceRequirements?: InstanceRequirements;
|
|
480
478
|
/**
|
|
481
|
-
* The instance type, such as ``m3.xlarge``. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon
|
|
479
|
+
* The instance type, such as ``m3.xlarge``. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
482
480
|
You can specify up to 40 instance types per Auto Scaling group.
|
|
483
481
|
*/
|
|
484
482
|
InstanceType?: string;
|
|
@@ -501,9 +499,9 @@ export type LaunchTemplateOverrides = {
|
|
|
501
499
|
+ The ID or the name of the launch template, but not both.
|
|
502
500
|
+ The version of the launch template.
|
|
503
501
|
|
|
504
|
-
|
|
502
|
+
``LaunchTemplateSpecification`` is property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. It is also a property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) and [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property types.
|
|
505
503
|
For information about creating a launch template, see [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) and [Create a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
506
|
-
For examples of launch templates, see [
|
|
504
|
+
For examples of launch templates, see [Create launch templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-launch-templates.html).
|
|
507
505
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplatespecification.html}
|
|
508
506
|
*/
|
|
509
507
|
export type LaunchTemplateSpecification = {
|
|
@@ -559,7 +557,7 @@ export type LifecycleHookSpecification = {
|
|
|
559
557
|
*/
|
|
560
558
|
NotificationTargetARN?: string;
|
|
561
559
|
/**
|
|
562
|
-
* The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [
|
|
560
|
+
* The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [Prepare to add a lifecycle hook to your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
563
561
|
Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
|
|
564
562
|
*/
|
|
565
563
|
RoleARN?: string;
|
|
@@ -630,7 +628,7 @@ export type MetricsCollection = {
|
|
|
630
628
|
+ ``GroupAndWarmPoolTotalCapacity``
|
|
631
629
|
|
|
632
630
|
If you specify ``Granularity`` and don't specify any metrics, all metrics are enabled.
|
|
633
|
-
For more information, see [Auto Scaling
|
|
631
|
+
For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
634
632
|
*/
|
|
635
633
|
Metrics?: string[];
|
|
636
634
|
};
|
|
@@ -691,14 +689,14 @@ export type NetworkInterfaceCountRequest = {
|
|
|
691
689
|
/**
|
|
692
690
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration`.
|
|
693
691
|
* A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
|
|
694
|
-
For an example template snippet, see [Auto
|
|
692
|
+
For an example template snippet, see [Configure Amazon EC2 Auto Scaling resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html).
|
|
695
693
|
For more information, see [Get Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
696
694
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html}
|
|
697
695
|
*/
|
|
698
696
|
export type NotificationConfiguration = {
|
|
699
697
|
/**
|
|
700
698
|
* A list of event types that send a notification. Event types can include any of the following types.
|
|
701
|
-
|
|
699
|
+
*Allowed values*:
|
|
702
700
|
+ ``autoscaling:EC2_INSTANCE_LAUNCH``
|
|
703
701
|
+ ``autoscaling:EC2_INSTANCE_LAUNCH_ERROR``
|
|
704
702
|
+ ``autoscaling:EC2_INSTANCE_TERMINATE``
|
|
@@ -768,7 +766,8 @@ export type VCpuCountRequest = {
|
|
|
768
766
|
/**
|
|
769
767
|
* The ``AWS::AutoScaling::AutoScalingGroup`` resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.
|
|
770
768
|
For more information about Amazon EC2 Auto Scaling, see the [Amazon EC2 Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html).
|
|
771
|
-
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations.
|
|
769
|
+
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations. For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
770
|
+
For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
772
771
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html}
|
|
773
772
|
*/
|
|
774
773
|
export declare class AutoScalingAutoScalingGroup extends $Resource<"AWS::AutoScaling::AutoScalingGroup", AutoScalingAutoScalingGroupProperties, Record<string, never>> {
|
|
@@ -2,7 +2,8 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
/**
|
|
3
3
|
* The ``AWS::AutoScaling::AutoScalingGroup`` resource defines an Amazon EC2 Auto Scaling group, which is a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management.
|
|
4
4
|
For more information about Amazon EC2 Auto Scaling, see the [Amazon EC2 Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html).
|
|
5
|
-
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations.
|
|
5
|
+
Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a [launch template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) or a launch configuration. We strongly recommend that you do not use launch configurations. For more information, see [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
6
|
+
For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
6
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html}
|
|
7
8
|
*/
|
|
8
9
|
export class AutoScalingAutoScalingGroup extends $Resource {
|
|
@@ -17,7 +17,6 @@ export type BedrockAgentProperties = {
|
|
|
17
17
|
/**
|
|
18
18
|
* ARN of a IAM role.
|
|
19
19
|
* @maxLength `2048`
|
|
20
|
-
* @pattern `^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForAgents.+$`
|
|
21
20
|
*/
|
|
22
21
|
AgentResourceRoleArn?: string;
|
|
23
22
|
/**
|
|
@@ -53,7 +52,7 @@ export type BedrockAgentProperties = {
|
|
|
53
52
|
/**
|
|
54
53
|
* Instruction for the agent.
|
|
55
54
|
* @minLength `40`
|
|
56
|
-
* @maxLength `
|
|
55
|
+
* @maxLength `4000`
|
|
57
56
|
*/
|
|
58
57
|
Instruction?: string;
|
|
59
58
|
/**
|
|
@@ -11,6 +11,11 @@ export type EC2CustomerGatewayProperties = {
|
|
|
11
11
|
Default: 65000
|
|
12
12
|
*/
|
|
13
13
|
BgpAsn?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @min `2147483648`
|
|
16
|
+
* @max `4294967294`
|
|
17
|
+
*/
|
|
18
|
+
BgpAsnExtended?: number;
|
|
14
19
|
/**
|
|
15
20
|
* @pattern `^arn:(aws[a-zA-Z-]*)?:acm:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:certificate\/[a-zA-Z0-9-_]+$`
|
|
16
21
|
*/
|
package/lib/AWS-EKS-Addon.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export type EKSAddonProperties = {
|
|
|
25
25
|
* @minLength `1`
|
|
26
26
|
*/
|
|
27
27
|
ConfigurationValues?: string;
|
|
28
|
+
/**
|
|
29
|
+
* An array of pod identities to apply to this add-on.
|
|
30
|
+
*/
|
|
31
|
+
PodIdentityAssociations?: PodIdentityAssociation[];
|
|
28
32
|
/**
|
|
29
33
|
* PreserveOnDelete parameter value
|
|
30
34
|
*/
|
|
@@ -54,6 +58,22 @@ export type EKSAddonAttributes = {
|
|
|
54
58
|
*/
|
|
55
59
|
Arn: string;
|
|
56
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Type definition for `AWS::EKS::Addon.PodIdentityAssociation`.
|
|
63
|
+
* A pod identity to associate with an add-on.
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-addon-podidentityassociation.html}
|
|
65
|
+
*/
|
|
66
|
+
export type PodIdentityAssociation = {
|
|
67
|
+
/**
|
|
68
|
+
* The IAM role ARN that the pod identity association is created for.
|
|
69
|
+
* @pattern `^arn:aws(-cn|-us-gov|-iso(-[a-z])?)?:iam::\d{12}:(role)\/*`
|
|
70
|
+
*/
|
|
71
|
+
RoleArn: string;
|
|
72
|
+
/**
|
|
73
|
+
* The Kubernetes service account that the pod identity association is created for.
|
|
74
|
+
*/
|
|
75
|
+
ServiceAccount: string;
|
|
76
|
+
};
|
|
57
77
|
/**
|
|
58
78
|
* Type definition for `AWS::EKS::Addon.Tag`.
|
|
59
79
|
* A key-value pair to associate with a resource.
|
|
@@ -19,6 +19,10 @@ export type MediaPackageV2OriginEndpointProperties = {
|
|
|
19
19
|
*/
|
|
20
20
|
ChannelName: string;
|
|
21
21
|
ContainerType?: ContainerType;
|
|
22
|
+
/**
|
|
23
|
+
* <p>A DASH manifest configuration.</p>
|
|
24
|
+
*/
|
|
25
|
+
DashManifests?: DashManifestConfiguration[];
|
|
22
26
|
/**
|
|
23
27
|
* <p>Enter any descriptive text that helps you to identify the origin endpoint.</p>
|
|
24
28
|
* @minLength `0`
|
|
@@ -87,6 +91,11 @@ export type MediaPackageV2OriginEndpointAttributes = {
|
|
|
87
91
|
*/
|
|
88
92
|
ModifiedAt: string;
|
|
89
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.AdMarkerDash`.
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-admarkerdash.html}
|
|
97
|
+
*/
|
|
98
|
+
export type AdMarkerDash = "BINARY" | "XML";
|
|
90
99
|
/**
|
|
91
100
|
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.AdMarkerHls`.
|
|
92
101
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-admarkerhls.html}
|
|
@@ -102,6 +111,91 @@ export type CmafEncryptionMethod = "CENC" | "CBCS";
|
|
|
102
111
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-containertype.html}
|
|
103
112
|
*/
|
|
104
113
|
export type ContainerType = "TS" | "CMAF";
|
|
114
|
+
/**
|
|
115
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashDrmSignaling`.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdrmsignaling.html}
|
|
117
|
+
*/
|
|
118
|
+
export type DashDrmSignaling = "INDIVIDUAL" | "REFERENCED";
|
|
119
|
+
/**
|
|
120
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashManifestConfiguration`.
|
|
121
|
+
* <p>Retrieve the DASH manifest configuration.</p>
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html}
|
|
123
|
+
*/
|
|
124
|
+
export type DashManifestConfiguration = {
|
|
125
|
+
DrmSignaling?: DashDrmSignaling;
|
|
126
|
+
/**
|
|
127
|
+
* <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
|
|
128
|
+
*/
|
|
129
|
+
FilterConfiguration?: FilterConfiguration;
|
|
130
|
+
/**
|
|
131
|
+
* <p>A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. </p>
|
|
132
|
+
* @minLength `1`
|
|
133
|
+
* @maxLength `256`
|
|
134
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
135
|
+
*/
|
|
136
|
+
ManifestName: string;
|
|
137
|
+
/**
|
|
138
|
+
* <p>The total duration (in seconds) of the manifest's content.</p>
|
|
139
|
+
*/
|
|
140
|
+
ManifestWindowSeconds?: number;
|
|
141
|
+
/**
|
|
142
|
+
* <p>Minimum amount of content (in seconds) that a player must keep available in the buffer.</p>
|
|
143
|
+
*/
|
|
144
|
+
MinBufferTimeSeconds?: number;
|
|
145
|
+
/**
|
|
146
|
+
* <p>Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.</p>
|
|
147
|
+
*/
|
|
148
|
+
MinUpdatePeriodSeconds?: number;
|
|
149
|
+
/**
|
|
150
|
+
* <p>A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate that the manifest is contained all in one period.
|
|
151
|
+
For more information about periods in the DASH manifest, see <a href="https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html">Multi-period DASH in AWS Elemental MediaPackage</a>.</p>
|
|
152
|
+
* @minLength `0`
|
|
153
|
+
* @maxLength `100`
|
|
154
|
+
*/
|
|
155
|
+
PeriodTriggers?: DashPeriodTrigger[];
|
|
156
|
+
/**
|
|
157
|
+
* <p>The SCTE configuration.</p>
|
|
158
|
+
*/
|
|
159
|
+
ScteDash?: ScteDash;
|
|
160
|
+
SegmentTemplateFormat?: DashSegmentTemplateFormat;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The amount of time (in seconds) that the player should be from the end of the manifest.</p>
|
|
163
|
+
*/
|
|
164
|
+
SuggestedPresentationDelaySeconds?: number;
|
|
165
|
+
/**
|
|
166
|
+
* <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>
|
|
167
|
+
*/
|
|
168
|
+
UtcTiming?: DashUtcTiming;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashPeriodTrigger`.
|
|
172
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashperiodtrigger.html}
|
|
173
|
+
*/
|
|
174
|
+
export type DashPeriodTrigger = "AVAILS" | "DRM_KEY_ROTATION" | "SOURCE_CHANGES" | "SOURCE_DISRUPTIONS" | "NONE";
|
|
175
|
+
/**
|
|
176
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashSegmentTemplateFormat`.
|
|
177
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashsegmenttemplateformat.html}
|
|
178
|
+
*/
|
|
179
|
+
export type DashSegmentTemplateFormat = "NUMBER_WITH_TIMELINE";
|
|
180
|
+
/**
|
|
181
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashUtcTiming`.
|
|
182
|
+
* <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>
|
|
183
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashutctiming.html}
|
|
184
|
+
*/
|
|
185
|
+
export type DashUtcTiming = {
|
|
186
|
+
TimingMode?: DashUtcTimingMode;
|
|
187
|
+
/**
|
|
188
|
+
* <p>The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.</p>
|
|
189
|
+
* @minLength `1`
|
|
190
|
+
* @maxLength `1024`
|
|
191
|
+
*/
|
|
192
|
+
TimingSource?: string;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DashUtcTimingMode`.
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashutctimingmode.html}
|
|
197
|
+
*/
|
|
198
|
+
export type DashUtcTimingMode = "HTTP_HEAD" | "HTTP_ISO" | "HTTP_XSDATE" | "UTC_DIRECT";
|
|
105
199
|
/**
|
|
106
200
|
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.DrmSystem`.
|
|
107
201
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-drmsystem.html}
|
|
@@ -287,6 +381,14 @@ export type Scte = {
|
|
|
287
381
|
*/
|
|
288
382
|
ScteFilter?: ScteFilter[];
|
|
289
383
|
};
|
|
384
|
+
/**
|
|
385
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.ScteDash`.
|
|
386
|
+
* <p>The SCTE configuration.</p>
|
|
387
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-sctedash.html}
|
|
388
|
+
*/
|
|
389
|
+
export type ScteDash = {
|
|
390
|
+
AdMarkerDash?: AdMarkerDash;
|
|
391
|
+
};
|
|
290
392
|
/**
|
|
291
393
|
* Type definition for `AWS::MediaPackageV2::OriginEndpoint.ScteFilter`.
|
|
292
394
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-sctefilter.html}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-configurationpolicy.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubConfigurationPolicyProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* An object that defines how Security Hub is configured.
|
|
10
|
+
*/
|
|
11
|
+
ConfigurationPolicy: Policy;
|
|
12
|
+
/**
|
|
13
|
+
* The description of the configuration policy.
|
|
14
|
+
* @minLength `0`
|
|
15
|
+
* @maxLength `512`
|
|
16
|
+
*/
|
|
17
|
+
Description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the configuration policy.
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `128`
|
|
22
|
+
*/
|
|
23
|
+
Name: string;
|
|
24
|
+
/**
|
|
25
|
+
* A key-value pair to associate with a resource.
|
|
26
|
+
*/
|
|
27
|
+
Tags?: Tags;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Attribute type definition for `AWS::SecurityHub::ConfigurationPolicy`.
|
|
31
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-configurationpolicy.html#aws-resource-securityhub-configurationpolicy-return-values}
|
|
32
|
+
*/
|
|
33
|
+
export type SecurityHubConfigurationPolicyAttributes = {
|
|
34
|
+
/**
|
|
35
|
+
* The Amazon Resource Name (ARN) of the configuration policy.
|
|
36
|
+
* @pattern `^arn:aws\S*:securityhub:[a-z0-9-]+:[0-9]{12}:configuration-policy/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
|
|
37
|
+
*/
|
|
38
|
+
Arn: string;
|
|
39
|
+
/**
|
|
40
|
+
* The date and time, in UTC and ISO 8601 format.
|
|
41
|
+
*/
|
|
42
|
+
CreatedAt: string;
|
|
43
|
+
/**
|
|
44
|
+
* The universally unique identifier (UUID) of the configuration policy.
|
|
45
|
+
* @pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
|
|
46
|
+
*/
|
|
47
|
+
Id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates whether the service that the configuration policy applies to is enabled in the policy.
|
|
50
|
+
*/
|
|
51
|
+
ServiceEnabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The date and time, in UTC and ISO 8601 format.
|
|
54
|
+
*/
|
|
55
|
+
UpdatedAt: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.ParameterConfiguration`.
|
|
59
|
+
* An object that provides the current value of a security control parameter and identifies whether it has been customized.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-parameterconfiguration.html}
|
|
61
|
+
*/
|
|
62
|
+
export type ParameterConfiguration = {
|
|
63
|
+
/**
|
|
64
|
+
* An object that includes the data type of a security control parameter and its current value.
|
|
65
|
+
*/
|
|
66
|
+
Value?: ParameterValue;
|
|
67
|
+
/**
|
|
68
|
+
* Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior.
|
|
69
|
+
*/
|
|
70
|
+
ValueType: "DEFAULT" | "CUSTOM";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.ParameterValue`.
|
|
74
|
+
* An object that includes the data type of a security control parameter and its current value.
|
|
75
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-parametervalue.html}
|
|
76
|
+
*/
|
|
77
|
+
export type ParameterValue = {
|
|
78
|
+
/**
|
|
79
|
+
* A control parameter that is a boolean.
|
|
80
|
+
*/
|
|
81
|
+
Boolean?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* A control parameter that is a double.
|
|
84
|
+
*/
|
|
85
|
+
Double?: number;
|
|
86
|
+
/**
|
|
87
|
+
* A control parameter that is an enum.
|
|
88
|
+
* @maxLength `2048`
|
|
89
|
+
*/
|
|
90
|
+
Enum?: string;
|
|
91
|
+
/**
|
|
92
|
+
* A control parameter that is a list of enums.
|
|
93
|
+
* @maxLength `100`
|
|
94
|
+
*/
|
|
95
|
+
EnumList?: string[];
|
|
96
|
+
/**
|
|
97
|
+
* A control parameter that is an integer.
|
|
98
|
+
*/
|
|
99
|
+
Integer?: number;
|
|
100
|
+
/**
|
|
101
|
+
* A control parameter that is a list of integers.
|
|
102
|
+
* @maxLength `100`
|
|
103
|
+
*/
|
|
104
|
+
IntegerList?: number[];
|
|
105
|
+
/**
|
|
106
|
+
* A control parameter that is a string.
|
|
107
|
+
* @maxLength `2048`
|
|
108
|
+
*/
|
|
109
|
+
String?: string;
|
|
110
|
+
/**
|
|
111
|
+
* A control parameter that is a list of strings.
|
|
112
|
+
* @maxLength `100`
|
|
113
|
+
*/
|
|
114
|
+
StringList?: string[];
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.Policy`.
|
|
118
|
+
* An object that defines how Security Hub is configured.
|
|
119
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html}
|
|
120
|
+
*/
|
|
121
|
+
export type Policy = {
|
|
122
|
+
/**
|
|
123
|
+
* An object that defines how AWS Security Hub is configured.
|
|
124
|
+
*/
|
|
125
|
+
SecurityHub?: SecurityHubPolicy;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.SecurityControlCustomParameter`.
|
|
129
|
+
* An object of security control and control parameter value that are included in a configuration policy.
|
|
130
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-securitycontrolcustomparameter.html}
|
|
131
|
+
*/
|
|
132
|
+
export type SecurityControlCustomParameter = {
|
|
133
|
+
/**
|
|
134
|
+
* An object that specifies parameter values for a control in a configuration policy.
|
|
135
|
+
*/
|
|
136
|
+
Parameters?: Record<string, ParameterConfiguration>;
|
|
137
|
+
/**
|
|
138
|
+
* The ID of the security control.
|
|
139
|
+
* @maxLength `2048`
|
|
140
|
+
*/
|
|
141
|
+
SecurityControlId?: string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.SecurityControlsConfiguration`.
|
|
145
|
+
* An object that defines which security controls are enabled in an AWS Security Hub configuration policy.
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-securitycontrolsconfiguration.html}
|
|
147
|
+
*/
|
|
148
|
+
export type SecurityControlsConfiguration = {
|
|
149
|
+
/**
|
|
150
|
+
* A list of security controls that are disabled in the configuration policy
|
|
151
|
+
* @maxLength `1000`
|
|
152
|
+
*/
|
|
153
|
+
DisabledSecurityControlIdentifiers?: string[];
|
|
154
|
+
/**
|
|
155
|
+
* A list of security controls that are enabled in the configuration policy.
|
|
156
|
+
* @maxLength `1000`
|
|
157
|
+
*/
|
|
158
|
+
EnabledSecurityControlIdentifiers?: string[];
|
|
159
|
+
/**
|
|
160
|
+
* A list of security controls and control parameter values that are included in a configuration policy.
|
|
161
|
+
* @maxLength `1000`
|
|
162
|
+
*/
|
|
163
|
+
SecurityControlCustomParameters?: SecurityControlCustomParameter[];
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.SecurityHubPolicy`.
|
|
167
|
+
* An object that defines how AWS Security Hub is configured.
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-securityhubpolicy.html}
|
|
169
|
+
*/
|
|
170
|
+
export type SecurityHubPolicy = {
|
|
171
|
+
/**
|
|
172
|
+
* A list that defines which security standards are enabled in the configuration policy.
|
|
173
|
+
* @maxLength `1000`
|
|
174
|
+
*/
|
|
175
|
+
EnabledStandardIdentifiers?: string[];
|
|
176
|
+
/**
|
|
177
|
+
* An object that defines which security controls are enabled in an AWS Security Hub configuration policy.
|
|
178
|
+
*/
|
|
179
|
+
SecurityControlsConfiguration?: SecurityControlsConfiguration;
|
|
180
|
+
/**
|
|
181
|
+
* Indicates whether Security Hub is enabled in the policy.
|
|
182
|
+
*/
|
|
183
|
+
ServiceEnabled?: boolean;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Type definition for `AWS::SecurityHub::ConfigurationPolicy.Tags`.
|
|
187
|
+
* A key-value pair to associate with a resource.
|
|
188
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-tags.html}
|
|
189
|
+
*/
|
|
190
|
+
export type Tags = Record<string, string>;
|
|
191
|
+
/**
|
|
192
|
+
* The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
|
|
193
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-configurationpolicy.html}
|
|
194
|
+
*/
|
|
195
|
+
export declare class SecurityHubConfigurationPolicy extends $Resource<"AWS::SecurityHub::ConfigurationPolicy", SecurityHubConfigurationPolicyProperties, SecurityHubConfigurationPolicyAttributes> {
|
|
196
|
+
static readonly Type = "AWS::SecurityHub::ConfigurationPolicy";
|
|
197
|
+
constructor(logicalId: string, properties: SecurityHubConfigurationPolicyProperties, options?: $ResourceOptions);
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=AWS-SecurityHub-ConfigurationPolicy.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-configurationpolicy.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubConfigurationPolicy extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::ConfigurationPolicy";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubConfigurationPolicy.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-ConfigurationPolicy.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubFindingAggregatorProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions
|
|
10
|
+
*/
|
|
11
|
+
RegionLinkingMode: "ALL_REGIONS" | "ALL_REGIONS_EXCEPT_SPECIFIED" | "SPECIFIED_REGIONS";
|
|
12
|
+
/**
|
|
13
|
+
* The list of excluded Regions or included Regions
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
* @maxLength `50`
|
|
16
|
+
*/
|
|
17
|
+
Regions?: string[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Attribute type definition for `AWS::SecurityHub::FindingAggregator`.
|
|
21
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html#aws-resource-securityhub-findingaggregator-return-values}
|
|
22
|
+
*/
|
|
23
|
+
export type SecurityHubFindingAggregatorAttributes = {
|
|
24
|
+
/**
|
|
25
|
+
* The aggregation Region of the FindingAggregator
|
|
26
|
+
* @pattern `^[a-zA-Z0-9-]{1,32}$`
|
|
27
|
+
*/
|
|
28
|
+
FindingAggregationRegion: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ARN of the FindingAggregator being created and assigned as the unique identifier
|
|
31
|
+
* @pattern `arn:aws\S*:securityhub:\S*`
|
|
32
|
+
*/
|
|
33
|
+
FindingAggregatorArn: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html}
|
|
38
|
+
*/
|
|
39
|
+
export declare class SecurityHubFindingAggregator extends $Resource<"AWS::SecurityHub::FindingAggregator", SecurityHubFindingAggregatorProperties, SecurityHubFindingAggregatorAttributes> {
|
|
40
|
+
static readonly Type = "AWS::SecurityHub::FindingAggregator";
|
|
41
|
+
constructor(logicalId: string, properties: SecurityHubFindingAggregatorProperties, options?: $ResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=AWS-SecurityHub-FindingAggregator.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubFindingAggregator extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::FindingAggregator";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubFindingAggregator.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-FindingAggregator.js.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-organizationconfiguration.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubOrganizationConfigurationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Whether to automatically enable Security Hub in new member accounts when they join the organization.
|
|
10
|
+
*/
|
|
11
|
+
AutoEnable: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
|
|
14
|
+
*/
|
|
15
|
+
AutoEnableStandards?: "DEFAULT" | "NONE";
|
|
16
|
+
/**
|
|
17
|
+
* Indicates whether the organization uses local or central configuration.
|
|
18
|
+
*/
|
|
19
|
+
ConfigurationType?: "CENTRAL" | "LOCAL";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Attribute type definition for `AWS::SecurityHub::OrganizationConfiguration`.
|
|
23
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-organizationconfiguration.html#aws-resource-securityhub-organizationconfiguration-return-values}
|
|
24
|
+
*/
|
|
25
|
+
export type SecurityHubOrganizationConfigurationAttributes = {
|
|
26
|
+
/**
|
|
27
|
+
* Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.
|
|
28
|
+
*/
|
|
29
|
+
MemberAccountLimitReached: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
|
|
32
|
+
* @pattern `^[0-9]{12}/[a-zA-Z0-9-]{1,32}/securityhub-organization-configuration$`
|
|
33
|
+
*/
|
|
34
|
+
OrganizationConfigurationIdentifier: string;
|
|
35
|
+
/**
|
|
36
|
+
* Describes whether central configuration could be enabled as the ConfigurationType for the organization.
|
|
37
|
+
*/
|
|
38
|
+
Status: "PENDING" | "ENABLED" | "FAILED";
|
|
39
|
+
/**
|
|
40
|
+
* Provides an explanation if the value of Status is equal to FAILED when ConfigurationType is equal to CENTRAL.
|
|
41
|
+
*/
|
|
42
|
+
StatusMessage: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
|
|
46
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-organizationconfiguration.html}
|
|
47
|
+
*/
|
|
48
|
+
export declare class SecurityHubOrganizationConfiguration extends $Resource<"AWS::SecurityHub::OrganizationConfiguration", SecurityHubOrganizationConfigurationProperties, SecurityHubOrganizationConfigurationAttributes> {
|
|
49
|
+
static readonly Type = "AWS::SecurityHub::OrganizationConfiguration";
|
|
50
|
+
constructor(logicalId: string, properties: SecurityHubOrganizationConfigurationProperties, options?: $ResourceOptions);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=AWS-SecurityHub-OrganizationConfiguration.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-organizationconfiguration.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubOrganizationConfiguration extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::OrganizationConfiguration";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubOrganizationConfiguration.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-OrganizationConfiguration.js.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubPolicyAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
|
|
10
|
+
* @pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$|^SELF_MANAGED_SECURITY_HUB$`
|
|
11
|
+
*/
|
|
12
|
+
ConfigurationPolicyId: string;
|
|
13
|
+
/**
|
|
14
|
+
* The identifier of the target account, organizational unit, or the root
|
|
15
|
+
*/
|
|
16
|
+
TargetId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the target is an AWS account, organizational unit, or the organization root
|
|
19
|
+
*/
|
|
20
|
+
TargetType: "ACCOUNT" | "ORGANIZATIONAL_UNIT" | "ROOT";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Attribute type definition for `AWS::SecurityHub::PolicyAssociation`.
|
|
24
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html#aws-resource-securityhub-policyassociation-return-values}
|
|
25
|
+
*/
|
|
26
|
+
export type SecurityHubPolicyAssociationAttributes = {
|
|
27
|
+
/**
|
|
28
|
+
* A unique identifier to indicates if the target has an association
|
|
29
|
+
*/
|
|
30
|
+
AssociationIdentifier: string;
|
|
31
|
+
/**
|
|
32
|
+
* The current status of the association between the specified target and the configuration
|
|
33
|
+
*/
|
|
34
|
+
AssociationStatus: "SUCCESS" | "PENDING" | "FAILED";
|
|
35
|
+
/**
|
|
36
|
+
* An explanation for a FAILED value for AssociationStatus
|
|
37
|
+
*/
|
|
38
|
+
AssociationStatusMessage: string;
|
|
39
|
+
/**
|
|
40
|
+
* Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
|
|
41
|
+
*/
|
|
42
|
+
AssociationType: "APPLIED" | "INHERITED";
|
|
43
|
+
/**
|
|
44
|
+
* The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
|
|
45
|
+
*/
|
|
46
|
+
UpdatedAt: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html}
|
|
51
|
+
*/
|
|
52
|
+
export declare class SecurityHubPolicyAssociation extends $Resource<"AWS::SecurityHub::PolicyAssociation", SecurityHubPolicyAssociationProperties, SecurityHubPolicyAssociationAttributes> {
|
|
53
|
+
static readonly Type = "AWS::SecurityHub::PolicyAssociation";
|
|
54
|
+
constructor(logicalId: string, properties: SecurityHubPolicyAssociationProperties, options?: $ResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=AWS-SecurityHub-PolicyAssociation.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubPolicyAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::PolicyAssociation";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubPolicyAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-PolicyAssociation.js.map
|
|
@@ -108,9 +108,8 @@ export type Source = {
|
|
|
108
108
|
/**
|
|
109
109
|
* Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
110
110
|
*/
|
|
111
|
-
AwsLogSource
|
|
112
|
-
|
|
113
|
-
CustomLogSource: CustomLogSource;
|
|
111
|
+
AwsLogSource?: AwsLogSource;
|
|
112
|
+
CustomLogSource?: CustomLogSource;
|
|
114
113
|
};
|
|
115
114
|
/**
|
|
116
115
|
* Type definition for `AWS::SecurityLake::Subscriber.Tag`.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::SecurityLake::SubscriberNotification
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityLakeSubscriberNotificationProperties = {
|
|
8
|
+
NotificationConfiguration: NotificationConfiguration;
|
|
9
|
+
/**
|
|
10
|
+
* The ARN for the subscriber
|
|
11
|
+
* @pattern `^arn:.*$`
|
|
12
|
+
*/
|
|
13
|
+
SubscriberArn: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Attribute type definition for `AWS::SecurityLake::SubscriberNotification`.
|
|
17
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html#aws-resource-securitylake-subscribernotification-return-values}
|
|
18
|
+
*/
|
|
19
|
+
export type SecurityLakeSubscriberNotificationAttributes = {
|
|
20
|
+
/**
|
|
21
|
+
* The endpoint the subscriber should listen to for notifications
|
|
22
|
+
*/
|
|
23
|
+
SubscriberEndpoint: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Type definition for `AWS::SecurityLake::SubscriberNotification.HttpsNotificationConfiguration`.
|
|
27
|
+
* The configuration for HTTPS subscriber notification.
|
|
28
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-httpsnotificationconfiguration.html}
|
|
29
|
+
*/
|
|
30
|
+
export type HttpsNotificationConfiguration = {
|
|
31
|
+
/**
|
|
32
|
+
* The key name for the notification subscription.
|
|
33
|
+
*/
|
|
34
|
+
AuthorizationApiKeyName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The key value for the notification subscription.
|
|
37
|
+
*/
|
|
38
|
+
AuthorizationApiKeyValue?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The subscription endpoint in Security Lake.
|
|
41
|
+
* @pattern `^https?://.+$`
|
|
42
|
+
*/
|
|
43
|
+
Endpoint: string;
|
|
44
|
+
/**
|
|
45
|
+
* The HTTPS method used for the notification subscription.
|
|
46
|
+
*/
|
|
47
|
+
HttpMethod?: "POST" | "PUT";
|
|
48
|
+
/**
|
|
49
|
+
* The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
|
|
50
|
+
* @pattern `^arn:.*$`
|
|
51
|
+
*/
|
|
52
|
+
TargetRoleArn: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::SecurityLake::SubscriberNotification.NotificationConfiguration`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-notificationconfiguration.html}
|
|
57
|
+
*/
|
|
58
|
+
export type NotificationConfiguration = {
|
|
59
|
+
/**
|
|
60
|
+
* The configuration for HTTPS subscriber notification.
|
|
61
|
+
*/
|
|
62
|
+
HttpsNotificationConfiguration?: HttpsNotificationConfiguration;
|
|
63
|
+
/**
|
|
64
|
+
* The configurations for SQS subscriber notification. The members of this structure are context-dependent.
|
|
65
|
+
*/
|
|
66
|
+
SqsNotificationConfiguration?: SqsNotificationConfiguration;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Type definition for `AWS::SecurityLake::SubscriberNotification.SqsNotificationConfiguration`.
|
|
70
|
+
* The configurations for SQS subscriber notification. The members of this structure are context-dependent.
|
|
71
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscribernotification-sqsnotificationconfiguration.html}
|
|
72
|
+
*/
|
|
73
|
+
export type SqsNotificationConfiguration = Record<string, any>;
|
|
74
|
+
/**
|
|
75
|
+
* Resource Type definition for AWS::SecurityLake::SubscriberNotification
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html}
|
|
77
|
+
*/
|
|
78
|
+
export declare class SecurityLakeSubscriberNotification extends $Resource<"AWS::SecurityLake::SubscriberNotification", SecurityLakeSubscriberNotificationProperties, SecurityLakeSubscriberNotificationAttributes> {
|
|
79
|
+
static readonly Type = "AWS::SecurityLake::SubscriberNotification";
|
|
80
|
+
constructor(logicalId: string, properties: SecurityLakeSubscriberNotificationProperties, options?: $ResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=AWS-SecurityLake-SubscriberNotification.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::SecurityLake::SubscriberNotification
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscribernotification.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityLakeSubscriberNotification extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityLake::SubscriberNotification";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityLakeSubscriberNotification.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityLake-SubscriberNotification.js.map
|