IBucket
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: com.aliyun.ros.cdk.oss.datasource.Bucket, com.aliyun.ros.cdk.oss.datasource.IBucket
Represents a Bucket.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The creation time of the Bucket. |
attrExtranetEndpoint | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ExtranetEndpoint: The domain name of the Bucket. |
attrIntranetEndpoint | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IntranetEndpoint: The intranet domain name of the ECS instance that accesses the Bucket in the same region. |
attrLocation | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Location: The region where the Bucket is located. |
attrName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Name: Bucket name. |
attrOwner | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Owner: Container for storing Bucket owner information. |
attrStorageClass | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute StorageClass: The storage type of the Bucket. |
props | BucketProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The creation time of the Bucket.
attrExtranetEndpointRequired
public java.lang.Object getAttrExtranetEndpoint();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ExtranetEndpoint: The domain name of the Bucket.
attrIntranetEndpointRequired
public java.lang.Object getAttrIntranetEndpoint();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IntranetEndpoint: The intranet domain name of the ECS instance that accesses the Bucket in the same region.
attrLocationRequired
public java.lang.Object getAttrLocation();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Location: The region where the Bucket is located.
attrNameRequired
public java.lang.Object getAttrName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Name: Bucket name.
attrOwnerRequired
public java.lang.Object getAttrOwner();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Owner: Container for storing Bucket owner information.
attrStorageClassRequired
public java.lang.Object getAttrStorageClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute StorageClass: The storage type of the Bucket.
propsRequired
public BucketProps getProps();
- Type: BucketProps