Class CfnResourcePolicyProps.Jsii$Proxy
- All Implemented Interfaces:
CfnResourcePolicyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnResourcePolicyProps
CfnResourcePolicyProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.eventsv2.CfnResourcePolicyProps
CfnResourcePolicyProps.Builder, CfnResourcePolicyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnResourcePolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnResourcePolicyProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnResourcePolicyProps.Builder.
-
-
Method Details
-
getEventBusArn
Description copied from interface:CfnResourcePolicyPropsThe Amazon Resource Name (ARN) of the event bus whose resource policy this is.The bus must already exist. This resource does not create it.
- Specified by:
getEventBusArnin interfaceCfnResourcePolicyProps- See Also:
-
getPolicyDocument
Description copied from interface:CfnResourcePolicyPropsThe resource policy document, as a JSON object.The document can be up to 20 KB. This quota is adjustable. An empty object is not a valid policy. To remove the policy, delete this resource. The principals in the document must exist and be visible to the service when the policy is written. When you create a new IAM role or user, that principal might not be immediately visible to the service. You might need to enforce a delay before you include it in the document. For more information, see "Changes that I make are not always immediately visible" in the IAM User Guide. Declare Version. Write AWS account and role principals as ARNs rather than as account IDs. Write a single Action, Resource, or principal value as a scalar rather than as a one-element list. The service returns these forms as you wrote them. It normalizes other forms, and a normalized value can appear as drift. A stack update replaces the whole policy with this document, including any change made outside CloudFormation. For more information about event bus resource policies, see the Amazon EventBridge User Guide.
- Specified by:
getPolicyDocumentin interfaceCfnResourcePolicyProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-