@propulsionworks/cloudformation 0.1.36 → 0.1.37
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/out/exports/resources.generated/aws-athena-workgroup.d.ts +14 -5
- package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +2 -2
- package/out/exports/resources.generated/aws-bedrock-knowledgebase.d.ts +7 -0
- package/out/exports/resources.generated/aws-cassandra-table.d.ts +1 -0
- package/out/exports/resources.generated/aws-cloudfront-connectionfunction.d.ts +20 -2
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +63 -0
- package/out/exports/resources.generated/aws-cloudfront-truststore.d.ts +101 -0
- package/out/exports/resources.generated/aws-cloudtrail-eventdatastore.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudtrail-trail.d.ts +8 -5
- package/out/exports/resources.generated/aws-cognito-terms.d.ts +33 -2
- package/out/exports/resources.generated/aws-customerprofiles-segmentdefinition.d.ts +14 -2
- package/out/exports/resources.generated/aws-deadline-fleet.d.ts +12 -16
- package/out/exports/resources.generated/aws-deadline-monitor.d.ts +3 -3
- package/out/exports/resources.generated/aws-directoryservice-microsoftad.d.ts +2 -2
- package/out/exports/resources.generated/aws-directoryservice-simplead.d.ts +2 -2
- package/out/exports/resources.generated/aws-ec2-capacityreservation.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-ipamscope.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-natgateway.d.ts +31 -0
- package/out/exports/resources.generated/aws-ec2-transitgatewaymeteringpolicy.d.ts +8 -5
- package/out/exports/resources.generated/aws-ec2-transitgatewaymeteringpolicyentry.d.ts +10 -8
- package/out/exports/resources.generated/aws-ec2-volume.d.ts +136 -67
- package/out/exports/resources.generated/aws-ec2-vpcencryptioncontrol.d.ts +36 -14
- package/out/exports/resources.generated/aws-ec2-vpnconnection.d.ts +7 -0
- package/out/exports/resources.generated/aws-ecr-pulltimeupdateexclusion.d.ts +3 -0
- package/out/exports/resources.generated/aws-ecr-signingconfiguration.d.ts +16 -5
- package/out/exports/resources.generated/aws-ecs-capacityprovider.d.ts +1 -1
- package/out/exports/resources.generated/aws-ecs-expressgatewayservice.d.ts +67 -0
- package/out/exports/resources.generated/aws-ecs-service.d.ts +2 -0
- package/out/exports/resources.generated/aws-eks-capability.d.ts +189 -0
- package/out/exports/resources.generated/aws-eks-cluster.d.ts +4 -3
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-listener.d.ts +6 -1
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-listenerrule.d.ts +5 -0
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-loadbalancer.d.ts +3 -0
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-targetgroup.d.ts +10 -8
- package/out/exports/resources.generated/aws-events-rule.d.ts +1 -1
- package/out/exports/resources.generated/aws-fsx-filesystem.d.ts +8 -0
- package/out/exports/resources.generated/aws-fsx-storagevirtualmachine.d.ts +8 -0
- package/out/exports/resources.generated/aws-gamelift-containergroupdefinition.d.ts +1 -1
- package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +3 -3
- package/out/exports/resources.generated/aws-glue-connection.d.ts +0 -30
- package/out/exports/resources.generated/aws-iam-samlprovider.d.ts +4 -4
- package/out/exports/resources.generated/aws-iam-user.d.ts +3 -3
- package/out/exports/resources.generated/aws-kinesisvideo-stream.d.ts +8 -3
- package/out/exports/resources.generated/aws-lambda-capacityprovider.d.ts +179 -0
- package/out/exports/resources.generated/aws-lambda-eventinvokeconfig.d.ts +3 -3
- package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +6 -5
- package/out/exports/resources.generated/aws-lambda-function.d.ts +71 -2
- package/out/exports/resources.generated/aws-lambda-version.d.ts +23 -0
- package/out/exports/resources.generated/aws-organizations-policy.d.ts +5 -1
- package/out/exports/resources.generated/aws-pcs-cluster.d.ts +7 -6
- package/out/exports/resources.generated/aws-rbin-rule.d.ts +10 -3
- package/out/exports/resources.generated/aws-route53-recordset.d.ts +4 -4
- package/out/exports/resources.generated/aws-route53-recordsetgroup.d.ts +4 -4
- package/out/exports/resources.generated/aws-rtbfabric-outboundexternallink.d.ts +128 -0
- package/out/exports/resources.generated/aws-s3-accesspoint.d.ts +1 -1
- package/out/exports/resources.generated/aws-s3-bucket.d.ts +19 -2
- package/out/exports/resources.generated/aws-s3objectlambda-accesspoint.d.ts +0 -6
- package/out/exports/resources.generated/aws-s3objectlambda-accesspointpolicy.d.ts +0 -2
- package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +10 -4
- package/out/exports/resources.generated/aws-secretsmanager-rotationschedule.d.ts +3 -3
- package/out/exports/resources.generated/aws-secretsmanager-secret.d.ts +1 -0
- package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +2 -2
- package/out/exports/resources.generated/aws-sso-application.d.ts +2 -2
- package/out/exports/resources.generated/aws-transfer-webapp.d.ts +6 -2
- package/package.json +1 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html}
|
|
4
|
+
*/
|
|
5
|
+
export type LambdaCapacityProvider = ResourceDefinitionWithAttributes<"AWS::Lambda::CapacityProvider", LambdaCapacityProviderProps, LambdaCapacityProviderAttribs>;
|
|
6
|
+
/**
|
|
7
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html}
|
|
8
|
+
*/
|
|
9
|
+
export type LambdaCapacityProviderProps = {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
|
|
12
|
+
* @minLength 1
|
|
13
|
+
* @maxLength 140
|
|
14
|
+
* @pattern ^(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+$
|
|
15
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-capacityprovidername}
|
|
16
|
+
*/
|
|
17
|
+
CapacityProviderName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* The scaling configuration for the capacity provider.
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig}
|
|
21
|
+
*/
|
|
22
|
+
CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
25
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-instancerequirements}
|
|
26
|
+
*/
|
|
27
|
+
InstanceRequirements?: InstanceRequirements | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The ARN of the AWS Key Management Service (KMS) key used by the capacity provider.
|
|
30
|
+
* @minLength 0
|
|
31
|
+
* @maxLength 10000
|
|
32
|
+
* @pattern ^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$
|
|
33
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-kmskeyarn}
|
|
34
|
+
*/
|
|
35
|
+
KmsKeyArn?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* IAM permissions configuration for the capacity provider.
|
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-permissionsconfig}
|
|
39
|
+
*/
|
|
40
|
+
PermissionsConfig: CapacityProviderPermissionsConfig;
|
|
41
|
+
/**
|
|
42
|
+
* A list of tags to apply to the capacity provider.
|
|
43
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-tags}
|
|
44
|
+
*/
|
|
45
|
+
Tags?: Tag[] | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* VPC configuration for the capacity provider.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-vpcconfig}
|
|
49
|
+
*/
|
|
50
|
+
VpcConfig: CapacityProviderVpcConfig;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#aws-resource-lambda-capacityprovider-return-values}
|
|
54
|
+
*/
|
|
55
|
+
export type LambdaCapacityProviderAttribs = {
|
|
56
|
+
/**
|
|
57
|
+
* The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
|
|
58
|
+
* @minLength 1
|
|
59
|
+
* @maxLength 140
|
|
60
|
+
* @pattern ^arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+$
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-arn}
|
|
62
|
+
*/
|
|
63
|
+
Arn: string;
|
|
64
|
+
/**
|
|
65
|
+
* The current state of the capacity provider.
|
|
66
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#cfn-lambda-capacityprovider-state}
|
|
67
|
+
*/
|
|
68
|
+
State: CapacityProviderState;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-architecture.html}
|
|
73
|
+
*/
|
|
74
|
+
export type Architecture = "x86_64" | "arm64";
|
|
75
|
+
/**
|
|
76
|
+
* IAM permissions configuration for the capacity provider.
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderpermissionsconfig.html}
|
|
78
|
+
*/
|
|
79
|
+
export type CapacityProviderPermissionsConfig = {
|
|
80
|
+
/**
|
|
81
|
+
* The ARN of the IAM role that Lambda assumes to manage the capacity provider.
|
|
82
|
+
* @minLength 0
|
|
83
|
+
* @maxLength 10000
|
|
84
|
+
* @pattern ^arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderpermissionsconfig.html#cfn-lambda-capacityprovider-capacityproviderpermissionsconfig-capacityprovideroperatorrolearn}
|
|
86
|
+
*/
|
|
87
|
+
CapacityProviderOperatorRoleArn: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* The predefined metric for target tracking.
|
|
91
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderpredefinedmetrictype.html}
|
|
92
|
+
*/
|
|
93
|
+
export type CapacityProviderPredefinedMetricType = "LambdaCapacityProviderAverageCPUUtilization";
|
|
94
|
+
/**
|
|
95
|
+
* The scaling configuration for the capacity provider.
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html}
|
|
97
|
+
*/
|
|
98
|
+
export type CapacityProviderScalingConfig = {
|
|
99
|
+
/**
|
|
100
|
+
* The maximum number of EC2 instances that the capacity provider can scale up to.
|
|
101
|
+
* @min 2
|
|
102
|
+
* @max 15000
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-maxvcpucount}
|
|
104
|
+
*/
|
|
105
|
+
MaxVCpuCount?: number | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-scalingmode}
|
|
108
|
+
*/
|
|
109
|
+
ScalingMode?: CapacityProviderScalingMode | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* A list of target tracking scaling policies for the capacity provider.
|
|
112
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-scalingpolicies}
|
|
113
|
+
*/
|
|
114
|
+
ScalingPolicies?: TargetTrackingScalingPolicy[] | undefined;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* The scaling mode for the capacity provider.
|
|
118
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingmode.html}
|
|
119
|
+
*/
|
|
120
|
+
export type CapacityProviderScalingMode = "Auto" | "Manual";
|
|
121
|
+
/**
|
|
122
|
+
* The current state of the capacity provider. Indicates whether the provider is being created, is active and ready for use, has failed, or is being deleted.
|
|
123
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderstate.html}
|
|
124
|
+
*/
|
|
125
|
+
export type CapacityProviderState = "Pending" | "Active" | "Failed" | "Deleting";
|
|
126
|
+
/**
|
|
127
|
+
* VPC configuration for the capacity provider.
|
|
128
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityprovidervpcconfig.html}
|
|
129
|
+
*/
|
|
130
|
+
export type CapacityProviderVpcConfig = {
|
|
131
|
+
/**
|
|
132
|
+
* A list of security group IDs to associate with EC2 instances.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityprovidervpcconfig.html#cfn-lambda-capacityprovider-capacityprovidervpcconfig-securitygroupids}
|
|
134
|
+
*/
|
|
135
|
+
SecurityGroupIds: string[];
|
|
136
|
+
/**
|
|
137
|
+
* A list of subnet IDs where the capacity provider can launch EC2 instances.
|
|
138
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityprovidervpcconfig.html#cfn-lambda-capacityprovider-capacityprovidervpcconfig-subnetids}
|
|
139
|
+
*/
|
|
140
|
+
SubnetIds: string[];
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
144
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-instancerequirements.html}
|
|
145
|
+
*/
|
|
146
|
+
export type InstanceRequirements = {
|
|
147
|
+
/**
|
|
148
|
+
* A list of instance types that the capacity provider can use. Supports wildcards (for example, m5.*).
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-instancerequirements.html#cfn-lambda-capacityprovider-instancerequirements-allowedinstancetypes}
|
|
150
|
+
*/
|
|
151
|
+
AllowedInstanceTypes?: string[] | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* The instruction set architecture for EC2 instances. Specify either x86_64 or arm64.
|
|
154
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-instancerequirements.html#cfn-lambda-capacityprovider-instancerequirements-architectures}
|
|
155
|
+
*/
|
|
156
|
+
Architectures?: Architecture[] | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* A list of instance types that the capacity provider should not use. Takes precedence over AllowedInstanceTypes.
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-instancerequirements.html#cfn-lambda-capacityprovider-instancerequirements-excludedinstancetypes}
|
|
160
|
+
*/
|
|
161
|
+
ExcludedInstanceTypes?: string[] | undefined;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* A target tracking scaling policy for the capacity provider.
|
|
165
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-targettrackingscalingpolicy.html}
|
|
166
|
+
*/
|
|
167
|
+
export type TargetTrackingScalingPolicy = {
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-targettrackingscalingpolicy.html#cfn-lambda-capacityprovider-targettrackingscalingpolicy-predefinedmetrictype}
|
|
170
|
+
*/
|
|
171
|
+
PredefinedMetricType: CapacityProviderPredefinedMetricType;
|
|
172
|
+
/**
|
|
173
|
+
* The target value for the metric as a percentage (for example, 70.0 for 70%).
|
|
174
|
+
* @min 0
|
|
175
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-targettrackingscalingpolicy.html#cfn-lambda-capacityprovider-targettrackingscalingpolicy-targetvalue}
|
|
176
|
+
*/
|
|
177
|
+
TargetValue: number;
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=aws-lambda-capacityprovider.d.ts.map
|
|
@@ -34,7 +34,7 @@ export type LambdaEventInvokeConfigProps = {
|
|
|
34
34
|
* *Maximum* : `64`
|
|
35
35
|
*
|
|
36
36
|
* *Pattern* : `([a-zA-Z0-9-_]+)`
|
|
37
|
-
* @pattern ^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]+(-[a-z]+)+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST
|
|
37
|
+
* @pattern ^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]+(-[a-z]+)+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST(\.PUBLISHED)?|[a-zA-Z0-9-_]+))?$
|
|
38
38
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-functionname}
|
|
39
39
|
*/
|
|
40
40
|
FunctionName: string;
|
|
@@ -58,7 +58,7 @@ export type LambdaEventInvokeConfigProps = {
|
|
|
58
58
|
* - *Version* - A version number.
|
|
59
59
|
* - *Alias* - An alias name.
|
|
60
60
|
* - *Latest* - To specify the unpublished version, use `$LATEST` .
|
|
61
|
-
* @pattern
|
|
61
|
+
* @pattern ^\$(LATEST(\.PUBLISHED)?)|[a-zA-Z0-9$_-]{1,129}$
|
|
62
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html#cfn-lambda-eventinvokeconfig-qualifier}
|
|
63
63
|
*/
|
|
64
64
|
Qualifier: string;
|
|
@@ -91,7 +91,7 @@ export type OnFailure = {
|
|
|
91
91
|
/**
|
|
92
92
|
* The Amazon Resource Name (ARN) of the destination resource.
|
|
93
93
|
*
|
|
94
|
-
* To retain records of
|
|
94
|
+
* To retain records of failed invocations from [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html) , [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html) , [self-managed Apache Kafka](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html) , or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html) , you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
|
|
95
95
|
*
|
|
96
96
|
* > Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending `OnFailure` event to the destination. For details on this behavior, refer to [Retaining records of asynchronous invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html) .
|
|
97
97
|
*
|
|
@@ -57,7 +57,7 @@ export type LambdaEventSourceMappingProps = {
|
|
|
57
57
|
*/
|
|
58
58
|
BisectBatchOnFunctionError?: boolean | undefined;
|
|
59
59
|
/**
|
|
60
|
-
* (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka
|
|
60
|
+
* (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
|
|
61
61
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-destinationconfig}
|
|
62
62
|
*/
|
|
63
63
|
DestinationConfig?: DestinationConfig | undefined;
|
|
@@ -104,7 +104,7 @@ export type LambdaEventSourceMappingProps = {
|
|
|
104
104
|
* The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
|
|
105
105
|
* @minLength 1
|
|
106
106
|
* @maxLength 140
|
|
107
|
-
* @pattern (arn:(aws[a-zA-Z-]*)?:lambda:)?((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST
|
|
107
|
+
* @pattern (arn:(aws[a-zA-Z-]*)?:lambda:)?((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST(\.PUBLISHED)?|[a-zA-Z0-9-_]+))?
|
|
108
108
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionname}
|
|
109
109
|
*/
|
|
110
110
|
FunctionName: string;
|
|
@@ -142,7 +142,7 @@ export type LambdaEventSourceMappingProps = {
|
|
|
142
142
|
*/
|
|
143
143
|
MaximumBatchingWindowInSeconds?: number | undefined;
|
|
144
144
|
/**
|
|
145
|
-
* (Kinesis
|
|
145
|
+
* (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records older than the specified age. The default value is -1,
|
|
146
146
|
* which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
|
|
147
147
|
*
|
|
148
148
|
* > The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
|
|
@@ -152,7 +152,7 @@ export type LambdaEventSourceMappingProps = {
|
|
|
152
152
|
*/
|
|
153
153
|
MaximumRecordAgeInSeconds?: number | undefined;
|
|
154
154
|
/**
|
|
155
|
-
* (Kinesis
|
|
155
|
+
* (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records after the specified number of retries. The default value is -1,
|
|
156
156
|
* which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
|
|
157
157
|
* @min -1
|
|
158
158
|
* @max 10000
|
|
@@ -377,7 +377,7 @@ export type OnFailure = {
|
|
|
377
377
|
/**
|
|
378
378
|
* The Amazon Resource Name (ARN) of the destination resource.
|
|
379
379
|
*
|
|
380
|
-
* To retain records of
|
|
380
|
+
* To retain records of failed invocations from [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html) , [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html) , [self-managed Apache Kafka](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html) , or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html) , you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
|
|
381
381
|
*
|
|
382
382
|
* > Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending `OnFailure` event to the destination. For details on this behavior, refer to [Retaining records of asynchronous invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html) .
|
|
383
383
|
*
|
|
@@ -409,6 +409,7 @@ export type ProvisionedPollerConfig = {
|
|
|
409
409
|
*/
|
|
410
410
|
MinimumPollers?: number | undefined;
|
|
411
411
|
/**
|
|
412
|
+
* (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
|
|
412
413
|
* @minLength 0
|
|
413
414
|
* @maxLength 128
|
|
414
415
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-provisionedpollerconfig.html#cfn-lambda-eventsourcemapping-provisionedpollerconfig-pollergroupname}
|
|
@@ -38,6 +38,10 @@ export type LambdaFunctionProps = {
|
|
|
38
38
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-architectures}
|
|
39
39
|
*/
|
|
40
40
|
Architectures?: ("x86_64" | "arm64")[] | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-capacityproviderconfig}
|
|
43
|
+
*/
|
|
44
|
+
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
41
45
|
/**
|
|
42
46
|
* The code for the function. You can define your function code in multiple ways:
|
|
43
47
|
*
|
|
@@ -90,6 +94,10 @@ export type LambdaFunctionProps = {
|
|
|
90
94
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-functionname}
|
|
91
95
|
*/
|
|
92
96
|
FunctionName?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-functionscalingconfig}
|
|
99
|
+
*/
|
|
100
|
+
FunctionScalingConfig?: FunctionScalingConfig | undefined;
|
|
93
101
|
/**
|
|
94
102
|
* The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see [Lambda programming model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html) .
|
|
95
103
|
* @maxLength 128
|
|
@@ -135,6 +143,10 @@ export type LambdaFunctionProps = {
|
|
|
135
143
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-packagetype}
|
|
136
144
|
*/
|
|
137
145
|
PackageType?: "Image" | "Zip" | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-publishtolatestpublished}
|
|
148
|
+
*/
|
|
149
|
+
PublishToLatestPublished?: boolean | undefined;
|
|
138
150
|
/**
|
|
139
151
|
* The status of your function's recursive loop detection configuration.
|
|
140
152
|
*
|
|
@@ -224,10 +236,19 @@ export type LambdaFunctionAttribs = {
|
|
|
224
236
|
*/
|
|
225
237
|
"SnapStartResponse.OptimizationStatus": "On" | "Off";
|
|
226
238
|
};
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-capacityproviderconfig.html}
|
|
241
|
+
*/
|
|
242
|
+
export type CapacityProviderConfig = {
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-capacityproviderconfig.html#cfn-lambda-function-capacityproviderconfig-lambdamanagedinstancescapacityproviderconfig}
|
|
245
|
+
*/
|
|
246
|
+
LambdaManagedInstancesCapacityProviderConfig: LambdaManagedInstancesCapacityProviderConfig;
|
|
247
|
+
};
|
|
227
248
|
/**
|
|
228
249
|
* The [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template.
|
|
229
250
|
*
|
|
230
|
-
* > When you specify source code inline for a Node.js function, the `index` file that CloudFormation creates uses the extension `.js` . This means that
|
|
251
|
+
* > When you specify source code inline for a Node.js function, the `index` file that CloudFormation creates uses the extension `.js` . This means that Node.js treats the file as a CommonJS module.
|
|
231
252
|
*
|
|
232
253
|
* Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
|
|
233
254
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html}
|
|
@@ -269,7 +290,9 @@ export type Code = {
|
|
|
269
290
|
/**
|
|
270
291
|
* (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CloudFormation places it in a file named `index` and zips it to create a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) . This zip file cannot exceed 4MB. For the `Handler` property, the first part of the handler identifier must be `index` . For example, `index.handler` .
|
|
271
292
|
*
|
|
272
|
-
* > When you specify source code inline for a Node.js function, the `index` file that CloudFormation creates uses the extension `.js` . This means that
|
|
293
|
+
* > When you specify source code inline for a Node.js function, the `index` file that CloudFormation creates uses the extension `.js` . This means that Node.js treats the file as a CommonJS module.
|
|
294
|
+
* >
|
|
295
|
+
* > When using Node.js 24 or later, Node.js can automatically detect if a `.js` file should be treated as CommonJS or as an ES module. To enable auto-detection, add the `--experimental-detect-module` flag to the `NODE_OPTIONS` environment variable. For more information, see [Experimental Node.js features](https://docs.aws.amazon.com//lambda/latest/dg/lambda-nodejs.html#nodejs-experimental-features) .
|
|
273
296
|
*
|
|
274
297
|
* For JSON, you must escape quotes and special characters such as newline ( `\n` ) with a backslash.
|
|
275
298
|
*
|
|
@@ -336,6 +359,25 @@ export type FileSystemConfig = {
|
|
|
336
359
|
*/
|
|
337
360
|
LocalMountPath: string;
|
|
338
361
|
};
|
|
362
|
+
/**
|
|
363
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-functionscalingconfig.html}
|
|
364
|
+
*/
|
|
365
|
+
export type FunctionScalingConfig = {
|
|
366
|
+
/**
|
|
367
|
+
* The maximum number of execution environments that can be provisioned for the function.
|
|
368
|
+
* @min 0
|
|
369
|
+
* @max 15000
|
|
370
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-functionscalingconfig.html#cfn-lambda-function-functionscalingconfig-maxexecutionenvironments}
|
|
371
|
+
*/
|
|
372
|
+
MaxExecutionEnvironments?: number | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* The minimum number of execution environments to maintain for the function.
|
|
375
|
+
* @min 0
|
|
376
|
+
* @max 15000
|
|
377
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-functionscalingconfig.html#cfn-lambda-function-functionscalingconfig-minexecutionenvironments}
|
|
378
|
+
*/
|
|
379
|
+
MinExecutionEnvironments?: number | undefined;
|
|
380
|
+
};
|
|
339
381
|
/**
|
|
340
382
|
* Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) .
|
|
341
383
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html}
|
|
@@ -357,6 +399,33 @@ export type ImageConfig = {
|
|
|
357
399
|
*/
|
|
358
400
|
WorkingDirectory?: string | undefined;
|
|
359
401
|
};
|
|
402
|
+
/**
|
|
403
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-lambdamanagedinstancescapacityproviderconfig.html}
|
|
404
|
+
*/
|
|
405
|
+
export type LambdaManagedInstancesCapacityProviderConfig = {
|
|
406
|
+
/**
|
|
407
|
+
* The Amazon Resource Name (ARN) of the capacity provider.
|
|
408
|
+
* @minLength 1
|
|
409
|
+
* @maxLength 140
|
|
410
|
+
* @pattern ^arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+$
|
|
411
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-lambdamanagedinstancescapacityproviderconfig.html#cfn-lambda-function-lambdamanagedinstancescapacityproviderconfig-capacityproviderarn}
|
|
412
|
+
*/
|
|
413
|
+
CapacityProviderArn: string;
|
|
414
|
+
/**
|
|
415
|
+
* The amount of memory in GiB allocated per vCPU for execution environments.
|
|
416
|
+
* @min 2
|
|
417
|
+
* @max 8
|
|
418
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-lambdamanagedinstancescapacityproviderconfig.html#cfn-lambda-function-lambdamanagedinstancescapacityproviderconfig-executionenvironmentmemorygibpervcpu}
|
|
419
|
+
*/
|
|
420
|
+
ExecutionEnvironmentMemoryGiBPerVCpu?: number | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* The maximum number of concurrent execution environments that can run on each compute instance.
|
|
423
|
+
* @min 1
|
|
424
|
+
* @max 1600
|
|
425
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-lambdamanagedinstancescapacityproviderconfig.html#cfn-lambda-function-lambdamanagedinstancescapacityproviderconfig-perexecutionenvironmentmaxconcurrency}
|
|
426
|
+
*/
|
|
427
|
+
PerExecutionEnvironmentMaxConcurrency?: number | undefined;
|
|
428
|
+
};
|
|
360
429
|
/**
|
|
361
430
|
* The function's Amazon CloudWatch Logs configuration settings.
|
|
362
431
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html}
|
|
@@ -35,6 +35,11 @@ export type LambdaVersionProps = {
|
|
|
35
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-functionname}
|
|
36
36
|
*/
|
|
37
37
|
FunctionName: string;
|
|
38
|
+
/**
|
|
39
|
+
* The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
|
|
40
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-functionscalingconfig}
|
|
41
|
+
*/
|
|
42
|
+
FunctionScalingConfig?: FunctionScalingConfig | undefined;
|
|
38
43
|
/**
|
|
39
44
|
* Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
|
|
40
45
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-provisionedconcurrencyconfig}
|
|
@@ -62,6 +67,24 @@ export type LambdaVersionAttribs = {
|
|
|
62
67
|
*/
|
|
63
68
|
Version: string;
|
|
64
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-functionscalingconfig.html}
|
|
73
|
+
*/
|
|
74
|
+
export type FunctionScalingConfig = {
|
|
75
|
+
/**
|
|
76
|
+
* The maximum number of execution environments that can be provisioned for the function.
|
|
77
|
+
* @min 0
|
|
78
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-functionscalingconfig.html#cfn-lambda-version-functionscalingconfig-maxexecutionenvironments}
|
|
79
|
+
*/
|
|
80
|
+
MaxExecutionEnvironments?: number | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The minimum number of execution environments to maintain for the function.
|
|
83
|
+
* @min 0
|
|
84
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-functionscalingconfig.html#cfn-lambda-version-functionscalingconfig-minexecutionenvironments}
|
|
85
|
+
*/
|
|
86
|
+
MinExecutionEnvironments?: number | undefined;
|
|
87
|
+
};
|
|
65
88
|
/**
|
|
66
89
|
* A [provisioned concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html) configuration for a function's version.
|
|
67
90
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-provisionedconcurrencyconfiguration.html}
|
|
@@ -39,6 +39,10 @@ export type OrganizationsPolicyProps = {
|
|
|
39
39
|
* - Tag policies: 10,000 characters
|
|
40
40
|
* - Chat applications policies: 10,000 characters
|
|
41
41
|
* - AI services opt-out policies: 2,500 characters
|
|
42
|
+
* - Security Hub policies: 10,000 characters
|
|
43
|
+
* - Amazon Inspector policies: 10,000 characters
|
|
44
|
+
* - Amazon Bedrock policies: 10,000 characters
|
|
45
|
+
* - Upgrade rollout policies: 10,000 characters
|
|
42
46
|
*
|
|
43
47
|
* For more information about Organizations service quotas, see [Quotas for AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html) in the *AWS Organizations User Guide* .
|
|
44
48
|
* @minLength 1
|
|
@@ -86,7 +90,7 @@ export type OrganizationsPolicyProps = {
|
|
|
86
90
|
* The type of policy to create.
|
|
87
91
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html#cfn-organizations-policy-type}
|
|
88
92
|
*/
|
|
89
|
-
Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY" | "S3_POLICY" | "INSPECTOR_POLICY" | "BEDROCK_POLICY" | "
|
|
93
|
+
Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY" | "S3_POLICY" | "INSPECTOR_POLICY" | "BEDROCK_POLICY" | "UPGRADE_ROLLOUT_POLICY";
|
|
90
94
|
};
|
|
91
95
|
/**
|
|
92
96
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html#aws-resource-organizations-policy-return-values}
|
|
@@ -146,27 +146,28 @@ export type AuthKey = {
|
|
|
146
146
|
SecretVersion: string;
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
|
-
* JWT authentication configuration for Slurm.
|
|
149
|
+
* The JWT authentication configuration for Slurm REST API access.
|
|
150
150
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-jwtauth.html}
|
|
151
151
|
*/
|
|
152
152
|
export type JwtAuth = {
|
|
153
153
|
/**
|
|
154
|
+
* The JWT key for Slurm REST API authentication.
|
|
154
155
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-jwtauth.html#cfn-pcs-cluster-jwtauth-jwtkey}
|
|
155
156
|
*/
|
|
156
157
|
JwtKey?: JwtKey | undefined;
|
|
157
158
|
};
|
|
158
159
|
/**
|
|
159
|
-
* JWT key
|
|
160
|
+
* The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.
|
|
160
161
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-jwtkey.html}
|
|
161
162
|
*/
|
|
162
163
|
export type JwtKey = {
|
|
163
164
|
/**
|
|
164
|
-
* The Amazon Resource Name (ARN) of the JWT key
|
|
165
|
+
* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.
|
|
165
166
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-jwtkey.html#cfn-pcs-cluster-jwtkey-secretarn}
|
|
166
167
|
*/
|
|
167
168
|
SecretArn: string;
|
|
168
169
|
/**
|
|
169
|
-
* The version of the JWT key
|
|
170
|
+
* The version of the AWS Secrets Manager secret containing the JWT key.
|
|
170
171
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-jwtkey.html#cfn-pcs-cluster-jwtkey-secretversion}
|
|
171
172
|
*/
|
|
172
173
|
SecretVersion: string;
|
|
@@ -190,12 +191,12 @@ export type SlurmCustomSetting = {
|
|
|
190
191
|
ParameterValue: string;
|
|
191
192
|
};
|
|
192
193
|
/**
|
|
193
|
-
* The
|
|
194
|
+
* The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the [ClusterSlurmConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmconfiguration.html) object.
|
|
194
195
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmrest.html}
|
|
195
196
|
*/
|
|
196
197
|
export type SlurmRest = {
|
|
197
198
|
/**
|
|
198
|
-
* The default value is `STANDARD
|
|
199
|
+
* The default value for `mode` is `STANDARD` . A value of `STANDARD` means the Slurm REST API is enabled.
|
|
199
200
|
* @default "NONE"
|
|
200
201
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmrest.html#cfn-pcs-cluster-slurmrest-mode}
|
|
201
202
|
*/
|
|
@@ -47,7 +47,11 @@ export type RbinRuleProps = {
|
|
|
47
47
|
*/
|
|
48
48
|
ResourceTags?: ResourceTag[] | undefined;
|
|
49
49
|
/**
|
|
50
|
-
* The resource type to be retained by the retention rule. Currently, only
|
|
50
|
+
* The resource type to be retained by the retention rule. Currently, only EBS volumes, EBS snapshots, and EBS-backed AMIs are supported.
|
|
51
|
+
*
|
|
52
|
+
* - To retain EBS volumes, specify `EBS_VOLUME` .
|
|
53
|
+
* - To retain EBS snapshots, specify `EBS_SNAPSHOT`
|
|
54
|
+
* - To retain EBS-backed AMIs, specify `EC2_IMAGE` .
|
|
51
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rbin-rule.html#cfn-rbin-rule-resourcetype}
|
|
52
56
|
*/
|
|
53
57
|
ResourceType: "EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME";
|
|
@@ -128,7 +132,10 @@ export type RetentionPeriod = {
|
|
|
128
132
|
*/
|
|
129
133
|
RetentionPeriodUnit: "DAYS";
|
|
130
134
|
/**
|
|
131
|
-
* The period value for which the retention rule is to retain resources
|
|
135
|
+
* The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:
|
|
136
|
+
*
|
|
137
|
+
* - EBS volumes: 1 - 7 days
|
|
138
|
+
* - EBS snapshots and EBS-backed AMIs: 1 - 365 days
|
|
132
139
|
* @min 1
|
|
133
140
|
* @max 3650
|
|
134
141
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-retentionperiod.html#cfn-rbin-rule-retentionperiod-retentionperiodvalue}
|
|
@@ -141,7 +148,7 @@ export type RetentionPeriod = {
|
|
|
141
148
|
*/
|
|
142
149
|
export type UnlockDelay = {
|
|
143
150
|
/**
|
|
144
|
-
* The unit of time in which to measure the unlock delay. Currently, the unlock delay can be
|
|
151
|
+
* The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measured only in days.
|
|
145
152
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rbin-rule-unlockdelay.html#cfn-rbin-rule-unlockdelay-unlockdelayunit}
|
|
146
153
|
*/
|
|
147
154
|
UnlockDelayUnit?: "DAYS" | undefined;
|
|
@@ -312,12 +312,12 @@ export type AliasTarget = {
|
|
|
312
312
|
*
|
|
313
313
|
* For Elastic Beanstalk environments that have regionalized subdomains, specify the `CNAME` attribute for the environment. You can use the following methods to get the value of the CNAME attribute:
|
|
314
314
|
*
|
|
315
|
-
* - *
|
|
315
|
+
* - *AWS Management Console* : For information about how to get the value by using the console, see [Using Custom Domains with AWS Elastic Beanstalk](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html) in the *AWS Elastic Beanstalk Developer Guide* .
|
|
316
316
|
* - *Elastic Beanstalk API* : Use the `DescribeEnvironments` action to get the value of the `CNAME` attribute. For more information, see [DescribeEnvironments](https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironments.html) in the *AWS Elastic Beanstalk API Reference* .
|
|
317
317
|
* - *AWS CLI* : Use the `describe-environments` command to get the value of the `CNAME` attribute. For more information, see [describe-environments](https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/describe-environments.html) in the *AWS CLI* .
|
|
318
|
-
* - **ELB load balancer** - Specify the DNS name that is associated with the load balancer. Get the DNS name by using the
|
|
318
|
+
* - **ELB load balancer** - Specify the DNS name that is associated with the load balancer. Get the DNS name by using the AWS Management Console , the ELB API, or the AWS CLI .
|
|
319
319
|
*
|
|
320
|
-
* - *
|
|
320
|
+
* - *AWS Management Console* : Go to the EC2 page, choose *Load Balancers* in the navigation pane, choose the load balancer, choose the *Description* tab, and get the value of the *DNS name* field.
|
|
321
321
|
*
|
|
322
322
|
* If you're routing traffic to a Classic Load Balancer, get the value that begins with *dualstack* . If you're routing traffic to another type of load balancer, get the value that applies to the record type, A or AAAA.
|
|
323
323
|
* - *Elastic Load Balancing API* : Use `DescribeLoadBalancers` to get the value of `DNSName` . For more information, see the applicable guide:
|
|
@@ -387,7 +387,7 @@ export type AliasTarget = {
|
|
|
387
387
|
* - **ELB load balancer** - Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:
|
|
388
388
|
*
|
|
389
389
|
* - [Service Endpoints](https://docs.aws.amazon.com/general/latest/gr/elb.html) table in the "Elastic Load Balancing Endpoints and Quotas" topic in the *Amazon Web Services General Reference* : Use the value that corresponds with the region that you created your load balancer in. Note that there are separate columns for Application and Classic Load Balancers and for Network Load Balancers.
|
|
390
|
-
* - *
|
|
390
|
+
* - *AWS Management Console* : Go to the Amazon EC2 page, choose *Load Balancers* in the navigation pane, select the load balancer, and get the value of the *Hosted zone* field on the *Description* tab.
|
|
391
391
|
* - *Elastic Load Balancing API* : Use `DescribeLoadBalancers` to get the applicable value. For more information, see the applicable guide:
|
|
392
392
|
*
|
|
393
393
|
* - Classic Load Balancers: Use [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html) to get the value of `CanonicalHostedZoneNameID` .
|
|
@@ -79,12 +79,12 @@ export type AliasTarget = {
|
|
|
79
79
|
*
|
|
80
80
|
* For Elastic Beanstalk environments that have regionalized subdomains, specify the `CNAME` attribute for the environment. You can use the following methods to get the value of the CNAME attribute:
|
|
81
81
|
*
|
|
82
|
-
* - *
|
|
82
|
+
* - *AWS Management Console* : For information about how to get the value by using the console, see [Using Custom Domains with AWS Elastic Beanstalk](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html) in the *AWS Elastic Beanstalk Developer Guide* .
|
|
83
83
|
* - *Elastic Beanstalk API* : Use the `DescribeEnvironments` action to get the value of the `CNAME` attribute. For more information, see [DescribeEnvironments](https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_DescribeEnvironments.html) in the *AWS Elastic Beanstalk API Reference* .
|
|
84
84
|
* - *AWS CLI* : Use the `describe-environments` command to get the value of the `CNAME` attribute. For more information, see [describe-environments](https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/describe-environments.html) in the *AWS CLI* .
|
|
85
|
-
* - **ELB load balancer** - Specify the DNS name that is associated with the load balancer. Get the DNS name by using the
|
|
85
|
+
* - **ELB load balancer** - Specify the DNS name that is associated with the load balancer. Get the DNS name by using the AWS Management Console , the ELB API, or the AWS CLI .
|
|
86
86
|
*
|
|
87
|
-
* - *
|
|
87
|
+
* - *AWS Management Console* : Go to the EC2 page, choose *Load Balancers* in the navigation pane, choose the load balancer, choose the *Description* tab, and get the value of the *DNS name* field.
|
|
88
88
|
*
|
|
89
89
|
* If you're routing traffic to a Classic Load Balancer, get the value that begins with *dualstack* . If you're routing traffic to another type of load balancer, get the value that applies to the record type, A or AAAA.
|
|
90
90
|
* - *Elastic Load Balancing API* : Use `DescribeLoadBalancers` to get the value of `DNSName` . For more information, see the applicable guide:
|
|
@@ -150,7 +150,7 @@ export type AliasTarget = {
|
|
|
150
150
|
* - **ELB load balancer** - Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:
|
|
151
151
|
*
|
|
152
152
|
* - [Service Endpoints](https://docs.aws.amazon.com/general/latest/gr/elb.html) table in the "Elastic Load Balancing endpoints and quotas" topic in the *Amazon Web Services General Reference* : Use the value that corresponds with the region that you created your load balancer in. Note that there are separate columns for Application and Classic Load Balancers and for Network Load Balancers.
|
|
153
|
-
* - *
|
|
153
|
+
* - *AWS Management Console* : Go to the Amazon EC2 page, choose *Load Balancers* in the navigation pane, select the load balancer, and get the value of the *Hosted zone* field on the *Description* tab.
|
|
154
154
|
* - *Elastic Load Balancing API* : Use `DescribeLoadBalancers` to get the applicable value. For more information, see the applicable guide:
|
|
155
155
|
*
|
|
156
156
|
* - Classic Load Balancers: Use [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/2012-06-01/APIReference/API_DescribeLoadBalancers.html) to get the value of `CanonicalHostedZoneNameID` .
|