@awboost/cfn-resource-types 0.1.455 → 0.1.456
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,34 +5,67 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html}
|
|
6
6
|
*/
|
|
7
7
|
export type EventsEventBusPolicyProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The action that you are enabling the other account to perform.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `64`
|
|
12
|
+
* @pattern `events:[a-zA-Z]+`
|
|
13
|
+
*/
|
|
8
14
|
Action?: string;
|
|
15
|
+
/**
|
|
16
|
+
* This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.
|
|
17
|
+
*/
|
|
9
18
|
Condition?: Condition;
|
|
19
|
+
/**
|
|
20
|
+
* The name of the event bus associated with the rule. If you omit this, the default event bus is used.
|
|
21
|
+
* @minLength `1`
|
|
22
|
+
* @maxLength `256`
|
|
23
|
+
* @pattern `[\.\-_A-Za-z0-9]+`
|
|
24
|
+
*/
|
|
10
25
|
EventBusName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus.
|
|
28
|
+
* @minLength `1`
|
|
29
|
+
* @maxLength `12`
|
|
30
|
+
* @pattern `(\d{12}|\*)`
|
|
31
|
+
*/
|
|
11
32
|
Principal?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
|
|
35
|
+
*/
|
|
12
36
|
Statement?: Record<string, any>;
|
|
37
|
+
/**
|
|
38
|
+
* An identifier string for the external account that you are granting permissions to
|
|
39
|
+
* @minLength `1`
|
|
40
|
+
* @maxLength `64`
|
|
41
|
+
* @pattern `[a-zA-Z0-9-_]+`
|
|
42
|
+
*/
|
|
13
43
|
StatementId: string;
|
|
14
44
|
};
|
|
15
|
-
/**
|
|
16
|
-
* Attribute type definition for `AWS::Events::EventBusPolicy`.
|
|
17
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#aws-resource-events-eventbuspolicy-return-values}
|
|
18
|
-
*/
|
|
19
|
-
export type EventsEventBusPolicyAttributes = {
|
|
20
|
-
Id: string;
|
|
21
|
-
};
|
|
22
45
|
/**
|
|
23
46
|
* Type definition for `AWS::Events::EventBusPolicy.Condition`.
|
|
47
|
+
* This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.
|
|
24
48
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html}
|
|
25
49
|
*/
|
|
26
50
|
export type Condition = {
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the value for the key. Currently, this must be the ID of the organization.
|
|
53
|
+
*/
|
|
27
54
|
Key?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the type of condition. Currently the only supported value is StringEquals.
|
|
57
|
+
*/
|
|
28
58
|
Type?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
|
|
61
|
+
*/
|
|
29
62
|
Value?: string;
|
|
30
63
|
};
|
|
31
64
|
/**
|
|
32
65
|
* Resource Type definition for AWS::Events::EventBusPolicy
|
|
33
66
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html}
|
|
34
67
|
*/
|
|
35
|
-
export declare class EventsEventBusPolicy extends $Resource<"AWS::Events::EventBusPolicy", EventsEventBusPolicyProperties,
|
|
68
|
+
export declare class EventsEventBusPolicy extends $Resource<"AWS::Events::EventBusPolicy", EventsEventBusPolicyProperties, Record<string, never>> {
|
|
36
69
|
static readonly Type = "AWS::Events::EventBusPolicy";
|
|
37
70
|
constructor(logicalId: string, properties: EventsEventBusPolicyProperties, options?: $ResourceOptions);
|
|
38
71
|
}
|