@Stability(value=Stable) @Internal public static final class CfnContainerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnContainerProps
CfnContainerPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnContainerProps.Builder, CfnContainerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnContainerProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnContainerProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAccessLoggingEnabled()
The state of access logging on the container.
|
String |
getContainerName()
The name for the container.
|
Object |
getCorsPolicy()
Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests.
|
String |
getLifecyclePolicy()
Writes an object lifecycle policy to a container.
|
Object |
getMetricPolicy()
`AWS::MediaStore::Container.MetricPolicy`.
|
String |
getPolicy()
Creates an access policy for the specified container to restrict the users and clients that can access it.
|
List<CfnTag> |
getTags()
`AWS::MediaStore::Container.Tags`.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnContainerProps.Builder builder)
CfnContainerProps.Builder.public final String getContainerName()
CfnContainerProps
The name must be from 1 to 255 characters. Container names must be unique to your AWS account within a specific region. As an example, you could create a container named movies in every region, as long as you don’t have an existing container with that name.
getContainerName in interface CfnContainerPropspublic final Object getAccessLoggingEnabled()
CfnContainerProps
This value is false by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to true , indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.
getAccessLoggingEnabled in interface CfnContainerPropspublic final Object getCorsPolicy()
CfnContainerPropsFor example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.
To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.
To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore .
getCorsPolicy in interface CfnContainerPropspublic final String getLifecyclePolicy()
CfnContainerPropsIf the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.
For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy .
getLifecyclePolicy in interface CfnContainerPropspublic final Object getMetricPolicy()
CfnContainerPropsgetMetricPolicy in interface CfnContainerPropspublic final String getPolicy()
CfnContainerPropsFor information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide .
For this release of the REST API, you can create only one policy for a container. If you enter PutContainerPolicy twice, the second command modifies the existing policy.
getPolicy in interface CfnContainerPropspublic final List<CfnTag> getTags()
CfnContainerPropsgetTags in interface CfnContainerProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.