@awboost/cfn-resource-types 0.1.70 → 0.1.71

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.
@@ -208,6 +208,19 @@ export type EC2InstanceAttributes = {
208
208
  * The public IP address of the specified instance. For example: 192.0.2.0.
209
209
  */
210
210
  PublicIp: string;
211
+ /**
212
+ * The current state of the instance.
213
+ */
214
+ State: {
215
+ /**
216
+ * The state of the instance as a 16-bit unsigned integer.
217
+ */
218
+ Code: string;
219
+ /**
220
+ * The current state of the instance.
221
+ */
222
+ Name: string;
223
+ };
211
224
  /**
212
225
  * The ID of the VPC that the instance is running in.
213
226
  */
@@ -444,6 +457,21 @@ export type SsmAssociation = {
444
457
  */
445
458
  DocumentName: string;
446
459
  };
460
+ /**
461
+ * Type definition for `AWS::EC2::Instance.State`.
462
+ * The current state of the instance
463
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html}
464
+ */
465
+ export type State = {
466
+ /**
467
+ * The state of the instance as a 16-bit unsigned integer.
468
+ */
469
+ Code?: string;
470
+ /**
471
+ * The current state of the instance.
472
+ */
473
+ Name?: string;
474
+ };
447
475
  /**
448
476
  * Type definition for `AWS::EC2::Instance.Tag`.
449
477
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-tag.html}
@@ -106,9 +106,8 @@ export type ECSTaskDefinitionProperties = {
106
106
  */
107
107
  RequiresCompatibilities?: string[];
108
108
  /**
109
- * The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
110
- When you specify a task definition in a service, this value must match the ``runtimePlatform`` value of the service.
111
- */
109
+ * The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
110
+ */
112
111
  RuntimePlatform?: RuntimePlatform;
113
112
  /**
114
113
  * The metadata that you apply to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value. You define both of them.
@@ -82,6 +82,98 @@ export type IEMap = {
82
82
  ACCOUNT?: string[];
83
83
  ORGUNIT?: string[];
84
84
  };
85
+ /**
86
+ * Type definition for `AWS::FMS::Policy.NetworkAclCommonPolicy`.
87
+ * Network ACL common policy.
88
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclcommonpolicy.html}
89
+ */
90
+ export type NetworkAclCommonPolicy = {
91
+ /**
92
+ * Network ACL entry set.
93
+ */
94
+ NetworkAclEntrySet: NetworkAclEntrySet;
95
+ };
96
+ /**
97
+ * Type definition for `AWS::FMS::Policy.NetworkAclEntry`.
98
+ * Network ACL entry.
99
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclentry.html}
100
+ */
101
+ export type NetworkAclEntry = {
102
+ /**
103
+ * CIDR block.
104
+ * @pattern `^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$`
105
+ */
106
+ CidrBlock?: string;
107
+ /**
108
+ * Whether the entry is an egress entry.
109
+ */
110
+ Egress: boolean;
111
+ /**
112
+ * ICMP type and code.
113
+ */
114
+ IcmpTypeCode?: {
115
+ /**
116
+ * Code.
117
+ * @min `0`
118
+ * @max `255`
119
+ */
120
+ Code: number;
121
+ /**
122
+ * Type.
123
+ * @min `0`
124
+ * @max `255`
125
+ */
126
+ Type: number;
127
+ };
128
+ /**
129
+ * IPv6 CIDR block.
130
+ * @pattern `^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(/(1[0-2]|[0-9]))?$`
131
+ */
132
+ Ipv6CidrBlock?: string;
133
+ /**
134
+ * Port range.
135
+ */
136
+ PortRange?: {
137
+ /**
138
+ * From Port.
139
+ * @min `0`
140
+ * @max `65535`
141
+ */
142
+ From: number;
143
+ /**
144
+ * To Port.
145
+ * @min `0`
146
+ * @max `65535`
147
+ */
148
+ To: number;
149
+ };
150
+ /**
151
+ * Protocol.
152
+ * @pattern `^(tcp|udp|icmp|([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))$`
153
+ */
154
+ Protocol: string;
155
+ /**
156
+ * Rule Action.
157
+ */
158
+ RuleAction: "allow" | "deny";
159
+ };
160
+ /**
161
+ * Type definition for `AWS::FMS::Policy.NetworkAclEntrySet`.
162
+ * Network ACL entry set.
163
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkaclentryset.html}
164
+ */
165
+ export type NetworkAclEntrySet = {
166
+ /**
167
+ * NetworkAcl entry list.
168
+ */
169
+ FirstEntries?: NetworkAclEntry[];
170
+ ForceRemediateForFirstEntries: boolean;
171
+ ForceRemediateForLastEntries: boolean;
172
+ /**
173
+ * NetworkAcl entry list.
174
+ */
175
+ LastEntries?: NetworkAclEntry[];
176
+ };
85
177
  /**
86
178
  * Type definition for `AWS::FMS::Policy.NetworkFirewallPolicy`.
87
179
  * Network firewall policy.
@@ -99,6 +191,10 @@ export type NetworkFirewallPolicy = {
99
191
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policyoption.html}
100
192
  */
101
193
  export type PolicyOption = {
194
+ /**
195
+ * Network ACL common policy.
196
+ */
197
+ NetworkAclCommonPolicy?: NetworkAclCommonPolicy;
102
198
  /**
103
199
  * Network firewall policy.
104
200
  */
@@ -131,7 +227,7 @@ export type PolicyTag = {
131
227
  * Firewall policy type.
132
228
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytype.html}
133
229
  */
134
- export type PolicyType = "WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "THIRD_PARTY_FIREWALL" | "DNS_FIREWALL" | "IMPORT_NETWORK_FIREWALL";
230
+ export type PolicyType = "WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "THIRD_PARTY_FIREWALL" | "DNS_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON";
135
231
  /**
136
232
  * Type definition for `AWS::FMS::Policy.ResourceTag`.
137
233
  * A resource tag.
@@ -22,6 +22,9 @@ export type LocationGeofenceCollectionProperties = {
22
22
  */
23
23
  KmsKeyId?: string;
24
24
  PricingPlan?: PricingPlan;
25
+ /**
26
+ * This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
27
+ */
25
28
  PricingPlanDataSource?: string;
26
29
  /**
27
30
  * An array of key-value pairs to apply to this resource.
@@ -348,6 +348,7 @@ export type TopicCalculatedField = {
348
348
  ColumnDataRole?: ColumnDataRole;
349
349
  ComparativeOrder?: ComparativeOrder;
350
350
  DefaultFormatting?: DefaultFormatting;
351
+ DisableIndexing?: boolean;
351
352
  /**
352
353
  * @minLength `1`
353
354
  * @maxLength `4096`
@@ -410,6 +411,7 @@ export type TopicColumn = {
410
411
  ColumnSynonyms?: string[];
411
412
  ComparativeOrder?: ComparativeOrder;
412
413
  DefaultFormatting?: DefaultFormatting;
414
+ DisableIndexing?: boolean;
413
415
  IsIncludedInTopic?: boolean;
414
416
  NeverAggregateInFilter?: boolean;
415
417
  NonAdditive?: boolean;
@@ -45,7 +45,7 @@ export type Route53HostedZoneProperties = {
45
45
  + DNS record type, such as A or AAAA
46
46
  + DNS response code, such as ``NoError`` or ``ServFail``
47
47
 
48
- + Log Group and Resource Policy Before you create a query logging configuration, perform the following operations. If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically. Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following: You must create the log group in the us-east-1 region. You must use the same to create the log group and the hosted zone that you want to configure query logging for. When you create log groups for query logging, we recommend that you use a consistent prefix, for example: /aws/route53/hosted zone name In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging. Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. For the value of Resource, specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with *, for example: arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/* To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values: For aws:SourceArn, supply the hosted zone ARN used in creating the query logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID. For aws:SourceAccount, supply the account ID for the account that creates the query logging configuration. For example, aws:SourceAccount:111111111111. For more information, see The confused deputy problem in the IAM User Guide. You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the SDKs, or the . + Log Streams and Edge Locations When Route 53 finishes creating the configuration for DNS query logging, it does the following: Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location. Begins to send query logs to the applicable log stream. The name of each log stream is in the following format: hosted zone ID/edge location code The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the Route 53 Product Details page. + Queries That Are Logged Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see Routing Internet Traffic to Your Website or Web Application in the Amazon Route 53 Developer Guide. + Log File Format For a list of the values in each query log and the format of each value, see Logging DNS Queries in the Amazon Route 53 Developer Guide. + Pricing For information about charges for query logs, see Amazon CloudWatch Pricing. + How to Stop Logging If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see DeleteQueryLoggingConfig.
48
+ + Log Group and Resource Policy Before you create a query logging configuration, perform the following operations. If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically. Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following: You must create the log group in the us-east-1 region. You must use the same to create the log group and the hosted zone that you want to configure query logging for. When you create log groups for query logging, we recommend that you use a consistent prefix, for example: /aws/route53/hosted zone name In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging. Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. You must create the CloudWatch Logs resource policy in the us-east-1 region. For the value of Resource, specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with *, for example: arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/* To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values: For aws:SourceArn, supply the hosted zone ARN used in creating the query logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID. For aws:SourceAccount, supply the account ID for the account that creates the query logging configuration. For example, aws:SourceAccount:111111111111. For more information, see The confused deputy problem in the IAM User Guide. You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the SDKs, or the . + Log Streams and Edge Locations When Route 53 finishes creating the configuration for DNS query logging, it does the following: Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location. Begins to send query logs to the applicable log stream. The name of each log stream is in the following format: hosted zone ID/edge location code The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the Route 53 Product Details page. + Queries That Are Logged Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see Routing Internet Traffic to Your Website or Web Application in the Amazon Route 53 Developer Guide. + Log File Format For a list of the values in each query log and the format of each value, see Logging DNS Queries in the Amazon Route 53 Developer Guide. + Pricing For information about charges for query logs, see Amazon CloudWatch Pricing. + How to Stop Logging If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see DeleteQueryLoggingConfig.
49
49
  */
50
50
  QueryLoggingConfig?: QueryLoggingConfig;
51
51
  /**
@@ -0,0 +1,123 @@
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::SSO::Application`.
5
+ * Resource Type definition for Identity Center (SSO) Application
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html}
7
+ */
8
+ export type SSOApplicationProperties = {
9
+ /**
10
+ * The ARN of the application provider under which the operation will run
11
+ * @minLength `10`
12
+ * @maxLength `1224`
13
+ * @pattern `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::aws:applicationProvider/[a-zA-Z0-9-/]+$`
14
+ */
15
+ ApplicationProviderArn: string;
16
+ /**
17
+ * The description information for the Identity Center (SSO) Application
18
+ * @minLength `1`
19
+ * @maxLength `128`
20
+ */
21
+ Description?: string;
22
+ /**
23
+ * The ARN of the instance of IAM Identity Center under which the operation will run
24
+ * @minLength `10`
25
+ * @maxLength `1224`
26
+ * @pattern `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$`
27
+ */
28
+ InstanceArn: string;
29
+ /**
30
+ * The name you want to assign to this Identity Center (SSO) Application
31
+ * @minLength `0`
32
+ * @maxLength `255`
33
+ * @pattern `^[\w+=,.@-]+$`
34
+ */
35
+ Name: string;
36
+ /**
37
+ * A structure that describes the options for the portal associated with an application
38
+ */
39
+ PortalOptions?: PortalOptionsConfiguration;
40
+ /**
41
+ * Specifies whether the application is enabled or disabled
42
+ */
43
+ Status?: "ENABLED" | "DISABLED";
44
+ /**
45
+ * @maxLength `75`
46
+ */
47
+ Tags?: Tag[];
48
+ };
49
+ /**
50
+ * Attribute type definition for `AWS::SSO::Application`.
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html#aws-resource-sso-application-return-values}
52
+ */
53
+ export type SSOApplicationAttributes = {
54
+ /**
55
+ * The Application ARN that is returned upon creation of the Identity Center (SSO) Application
56
+ * @minLength `10`
57
+ * @maxLength `1224`
58
+ * @pattern `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$`
59
+ */
60
+ ApplicationArn: string;
61
+ };
62
+ /**
63
+ * Type definition for `AWS::SSO::Application.PortalOptionsConfiguration`.
64
+ * A structure that describes the options for the access portal associated with an application
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-portaloptionsconfiguration.html}
66
+ */
67
+ export type PortalOptionsConfiguration = {
68
+ /**
69
+ * A structure that describes the sign-in options for the access portal
70
+ */
71
+ SignInOptions?: SignInOptions;
72
+ /**
73
+ * Indicates whether this application is visible in the access portal
74
+ */
75
+ Visibility?: "ENABLED" | "DISABLED";
76
+ };
77
+ /**
78
+ * Type definition for `AWS::SSO::Application.SignInOptions`.
79
+ * A structure that describes the sign-in options for an application portal
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-signinoptions.html}
81
+ */
82
+ export type SignInOptions = {
83
+ /**
84
+ * The URL that accepts authentication requests for an application, this is a required parameter if the Origin parameter is APPLICATION
85
+ * @minLength `1`
86
+ * @maxLength `512`
87
+ * @pattern `^http(s)?:\/\/[-a-zA-Z0-9+&@#\/%?=~_|!:,.;]*[-a-zA-Z0-9+&bb@#\/%?=~_|]$`
88
+ */
89
+ ApplicationUrl?: string;
90
+ /**
91
+ * This determines how IAM Identity Center navigates the user to the target application
92
+ */
93
+ Origin: "IDENTITY_CENTER" | "APPLICATION";
94
+ };
95
+ /**
96
+ * Type definition for `AWS::SSO::Application.Tag`.
97
+ * The metadata that you apply to the Identity Center (SSO) Application to help you categorize and organize them.
98
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-application-tag.html}
99
+ */
100
+ export type Tag = {
101
+ /**
102
+ * @minLength `1`
103
+ * @maxLength `128`
104
+ * @pattern `^[\w+=,.@-]+$`
105
+ */
106
+ Key: string;
107
+ /**
108
+ * @minLength `0`
109
+ * @maxLength `256`
110
+ * @pattern `^[\w+=,.@-]+$`
111
+ */
112
+ Value: string;
113
+ };
114
+ /**
115
+ * Resource type definition for `AWS::SSO::Application`.
116
+ * Resource Type definition for Identity Center (SSO) Application
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html}
118
+ */
119
+ export declare class SSOApplication extends $Resource<"AWS::SSO::Application", SSOApplicationProperties, SSOApplicationAttributes> {
120
+ static readonly Type = "AWS::SSO::Application";
121
+ constructor(logicalId: string, properties: SSOApplicationProperties, options?: $ResourceOptions);
122
+ }
123
+ //# sourceMappingURL=AWS-SSO-Application.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::SSO::Application`.
4
+ * Resource Type definition for Identity Center (SSO) Application
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-application.html}
6
+ */
7
+ export class SSOApplication extends $Resource {
8
+ static Type = "AWS::SSO::Application";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, SSOApplication.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-SSO-Application.js.map
@@ -0,0 +1,37 @@
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::SSO::ApplicationAssignment`.
5
+ * Resource Type definition for SSO application access grant to a user or group.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html}
7
+ */
8
+ export type SSOApplicationAssignmentProperties = {
9
+ /**
10
+ * The ARN of the application.
11
+ * @minLength `10`
12
+ * @maxLength `1224`
13
+ * @pattern `arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}`
14
+ */
15
+ ApplicationArn: string;
16
+ /**
17
+ * An identifier for an object in IAM Identity Center, such as a user or group
18
+ * @minLength `1`
19
+ * @maxLength `47`
20
+ * @pattern `^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$`
21
+ */
22
+ PrincipalId: string;
23
+ /**
24
+ * The entity type for which the assignment will be created.
25
+ */
26
+ PrincipalType: "USER" | "GROUP";
27
+ };
28
+ /**
29
+ * Resource type definition for `AWS::SSO::ApplicationAssignment`.
30
+ * Resource Type definition for SSO application access grant to a user or group.
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html}
32
+ */
33
+ export declare class SSOApplicationAssignment extends $Resource<"AWS::SSO::ApplicationAssignment", SSOApplicationAssignmentProperties, Record<string, never>> {
34
+ static readonly Type = "AWS::SSO::ApplicationAssignment";
35
+ constructor(logicalId: string, properties: SSOApplicationAssignmentProperties, options?: $ResourceOptions);
36
+ }
37
+ //# sourceMappingURL=AWS-SSO-ApplicationAssignment.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::SSO::ApplicationAssignment`.
4
+ * Resource Type definition for SSO application access grant to a user or group.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-applicationassignment.html}
6
+ */
7
+ export class SSOApplicationAssignment extends $Resource {
8
+ static Type = "AWS::SSO::ApplicationAssignment";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, SSOApplicationAssignment.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-SSO-ApplicationAssignment.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.70",
3
+ "version": "0.1.71",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },