@awboost/cfn-resource-types 0.1.345 → 0.1.347

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.
@@ -5,6 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html}
6
6
  */
7
7
  export type CloudWatchInsightRuleProperties = {
8
+ ApplyOnTransformedLogs?: boolean;
8
9
  RuleBody: string;
9
10
  RuleName: string;
10
11
  RuleState: string;
@@ -5,8 +5,6 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-projectprofile.html}
6
6
  */
7
7
  export type DataZoneProjectProfileProperties = {
8
- AllowedDesignations?: DesignationConfiguration[];
9
- ChangeLog?: string;
10
8
  /**
11
9
  * @maxLength `2048`
12
10
  */
@@ -27,7 +25,6 @@ export type DataZoneProjectProfileProperties = {
27
25
  * @pattern `^[\w -]+$`
28
26
  */
29
27
  Name: string;
30
- ProjectScopes?: ProjectScope[];
31
28
  Status?: Status;
32
29
  };
33
30
  /**
@@ -57,31 +54,6 @@ export type DataZoneProjectProfileAttributes = {
57
54
  Identifier: string;
58
55
  LastUpdatedAt: string;
59
56
  };
60
- /**
61
- * Type definition for `AWS::DataZone::ProjectProfile.DesignationConfiguration`.
62
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-designationconfiguration.html}
63
- */
64
- export type DesignationConfiguration = {
65
- /**
66
- * @minLength `1`
67
- * @maxLength `36`
68
- * @pattern `^[a-zA-Z0-9_-]+$`
69
- */
70
- DesignationId: string;
71
- };
72
- /**
73
- * Type definition for `AWS::DataZone::ProjectProfile.ProjectScope`.
74
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-projectscope.html}
75
- */
76
- export type ProjectScope = {
77
- /**
78
- * @minLength `1`
79
- * @maxLength `64`
80
- * @pattern `^[\w -]+$`
81
- */
82
- Name: string;
83
- Policy?: string;
84
- };
85
57
  /**
86
58
  * Type definition for `AWS::DataZone::ProjectProfile.Status`.
87
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-status.html}
@@ -0,0 +1,114 @@
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::Lightsail::InstanceSnapshot
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html}
6
+ */
7
+ export type LightsailInstanceSnapshotProperties = {
8
+ /**
9
+ * The instance from which the snapshot was created.
10
+ */
11
+ InstanceName: string;
12
+ /**
13
+ * The name of the snapshot.
14
+ */
15
+ InstanceSnapshotName: string;
16
+ /**
17
+ * An array of key-value pairs to apply to this resource.
18
+ */
19
+ Tags?: Tag[];
20
+ };
21
+ /**
22
+ * Attribute type definition for `AWS::Lightsail::InstanceSnapshot`.
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#aws-resource-lightsail-instancesnapshot-return-values}
24
+ */
25
+ export type LightsailInstanceSnapshotAttributes = {
26
+ /**
27
+ * The Amazon Resource Name (ARN) of the snapshot.
28
+ */
29
+ Arn: string;
30
+ /**
31
+ * The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
32
+ */
33
+ FromInstanceArn: string;
34
+ /**
35
+ * The instance from which the snapshot was created.
36
+ */
37
+ FromInstanceName: string;
38
+ /**
39
+ * A Boolean value indicating whether the snapshot was created from an automatic snapshot.
40
+ */
41
+ IsFromAutoSnapshot: boolean;
42
+ /**
43
+ * The region name and Availability Zone where you created the snapshot.
44
+ */
45
+ Location: {
46
+ /**
47
+ * The Availability Zone. Follows the format us-east-2a (case-sensitive).
48
+ */
49
+ AvailabilityZone: string;
50
+ /**
51
+ * The AWS Region name.
52
+ */
53
+ RegionName: string;
54
+ };
55
+ /**
56
+ * The type of resource (usually InstanceSnapshot).
57
+ */
58
+ ResourceType: string;
59
+ /**
60
+ * The size in GB of the SSD
61
+ */
62
+ SizeInGb: number;
63
+ /**
64
+ * The state the snapshot is in.
65
+ */
66
+ State: string;
67
+ /**
68
+ * Support code to help identify any issues
69
+ */
70
+ SupportCode: string;
71
+ };
72
+ /**
73
+ * Type definition for `AWS::Lightsail::InstanceSnapshot.Location`.
74
+ * The region name and Availability Zone where you created the snapshot.
75
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instancesnapshot-location.html}
76
+ */
77
+ export type Location = {
78
+ /**
79
+ * The Availability Zone. Follows the format us-east-2a (case-sensitive).
80
+ */
81
+ AvailabilityZone?: string;
82
+ /**
83
+ * The AWS Region name.
84
+ */
85
+ RegionName?: string;
86
+ };
87
+ /**
88
+ * Type definition for `AWS::Lightsail::InstanceSnapshot.Tag`.
89
+ * A key-value pair to associate with a resource.
90
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instancesnapshot-tag.html}
91
+ */
92
+ export type Tag = {
93
+ /**
94
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
95
+ * @minLength `1`
96
+ * @maxLength `128`
97
+ */
98
+ Key: string;
99
+ /**
100
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
101
+ * @minLength `0`
102
+ * @maxLength `256`
103
+ */
104
+ Value?: string;
105
+ };
106
+ /**
107
+ * Resource Type definition for AWS::Lightsail::InstanceSnapshot
108
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html}
109
+ */
110
+ export declare class LightsailInstanceSnapshot extends $Resource<"AWS::Lightsail::InstanceSnapshot", LightsailInstanceSnapshotProperties, LightsailInstanceSnapshotAttributes> {
111
+ static readonly Type = "AWS::Lightsail::InstanceSnapshot";
112
+ constructor(logicalId: string, properties: LightsailInstanceSnapshotProperties, options?: $ResourceOptions);
113
+ }
114
+ //# sourceMappingURL=AWS-Lightsail-InstanceSnapshot.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::Lightsail::InstanceSnapshot
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html}
5
+ */
6
+ export class LightsailInstanceSnapshot extends $Resource {
7
+ static Type = "AWS::Lightsail::InstanceSnapshot";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, LightsailInstanceSnapshot.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Lightsail-InstanceSnapshot.js.map
@@ -0,0 +1,120 @@
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::S3Express::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html}
6
+ */
7
+ export type S3ExpressAccessPointProperties = {
8
+ /**
9
+ * The name of the bucket that you want to associate this Access Point with.
10
+ * @minLength `3`
11
+ * @maxLength `255`
12
+ */
13
+ Bucket: string;
14
+ /**
15
+ * The AWS account ID associated with the S3 bucket associated with this access point.
16
+ * @maxLength `64`
17
+ * @pattern `^\d{12}$`
18
+ */
19
+ BucketAccountId?: string;
20
+ /**
21
+ * The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name. For directory buckets, the access point name must consist of a base name that you provide and suffix that includes the ZoneID (AWS Availability Zone or Local Zone) of your bucket location, followed by --xa-s3.
22
+ * @minLength `3`
23
+ * @maxLength `50`
24
+ * @pattern `^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$`
25
+ */
26
+ Name?: string;
27
+ /**
28
+ * The Access Point Policy you want to apply to this access point.
29
+ */
30
+ Policy?: Record<string, any>;
31
+ /**
32
+ * The PublicAccessBlock configuration that you want to apply to this Access Point.
33
+ */
34
+ PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration;
35
+ /**
36
+ * For directory buckets, you can filter access control to specific prefixes, API operations, or a combination of both.
37
+ */
38
+ Scope?: Scope;
39
+ /**
40
+ * If you include this field, Amazon S3 restricts access to this Access Point to requests from the specified Virtual Private Cloud (VPC).
41
+ */
42
+ VpcConfiguration?: VpcConfiguration;
43
+ };
44
+ /**
45
+ * Attribute type definition for `AWS::S3Express::AccessPoint`.
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html#aws-resource-s3express-accesspoint-return-values}
47
+ */
48
+ export type S3ExpressAccessPointAttributes = {
49
+ /**
50
+ * The Amazon Resource Name (ARN) of the specified accesspoint.
51
+ */
52
+ Arn: string;
53
+ /**
54
+ * Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies.
55
+ */
56
+ NetworkOrigin: "Internet" | "VPC";
57
+ };
58
+ /**
59
+ * Type definition for `AWS::S3Express::AccessPoint.PublicAccessBlockConfiguration`.
60
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-publicaccessblockconfiguration.html}
61
+ */
62
+ export type PublicAccessBlockConfiguration = {
63
+ /**
64
+ * Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting this element to TRUE causes the following behavior:
65
+ - PUT Bucket acl and PUT Object acl calls fail if the specified ACL is public.
66
+ - PUT Object calls fail if the request includes a public ACL.
67
+ . - PUT Bucket calls fail if the request includes a public ACL.
68
+ Enabling this setting doesn't affect existing policies or ACLs.
69
+ */
70
+ BlockPublicAcls?: boolean;
71
+ /**
72
+ * Specifies whether Amazon S3 should block public bucket policies for buckets in this account. Setting this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. Enabling this setting doesn't affect existing bucket policies.
73
+ */
74
+ BlockPublicPolicy?: boolean;
75
+ /**
76
+ * Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on buckets in this account and any objects that they contain. Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.
77
+ */
78
+ IgnorePublicAcls?: boolean;
79
+ /**
80
+ * Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to TRUE restricts access to this bucket to only AWS services and authorized users within this account if the bucket has a public policy.
81
+ Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
82
+ */
83
+ RestrictPublicBuckets?: boolean;
84
+ };
85
+ /**
86
+ * Type definition for `AWS::S3Express::AccessPoint.Scope`.
87
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-scope.html}
88
+ */
89
+ export type Scope = {
90
+ /**
91
+ * You can include one or more API operations as permissions
92
+ */
93
+ Permissions?: ("GetObject" | "GetObjectAttributes" | "ListMultipartUploadParts" | "ListBucket" | "ListBucketMultipartUploads" | "PutObject" | "DeleteObject" | "AbortMultipartUpload")[];
94
+ /**
95
+ * You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.
96
+ */
97
+ Prefixes?: string[];
98
+ };
99
+ /**
100
+ * Type definition for `AWS::S3Express::AccessPoint.VpcConfiguration`.
101
+ * The Virtual Private Cloud (VPC) configuration for a bucket access point.
102
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-vpcconfiguration.html}
103
+ */
104
+ export type VpcConfiguration = {
105
+ /**
106
+ * If this field is specified, this access point will only allow connections from the specified VPC ID.
107
+ * @minLength `1`
108
+ * @maxLength `1024`
109
+ */
110
+ VpcId?: string;
111
+ };
112
+ /**
113
+ * The AWS::S3Express::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html}
115
+ */
116
+ export declare class S3ExpressAccessPoint extends $Resource<"AWS::S3Express::AccessPoint", S3ExpressAccessPointProperties, S3ExpressAccessPointAttributes> {
117
+ static readonly Type = "AWS::S3Express::AccessPoint";
118
+ constructor(logicalId: string, properties: S3ExpressAccessPointProperties, options?: $ResourceOptions);
119
+ }
120
+ //# sourceMappingURL=AWS-S3Express-AccessPoint.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * The AWS::S3Express::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html}
5
+ */
6
+ export class S3ExpressAccessPoint extends $Resource {
7
+ static Type = "AWS::S3Express::AccessPoint";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, S3ExpressAccessPoint.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-S3Express-AccessPoint.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.345",
3
+ "version": "0.1.347",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },