Interface StorageBucketCors
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StorageBucketCors.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.821Z") @Stability(Stable) public interface StorageBucketCors extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStorageBucketCors.BuilderA builder forStorageBucketCorsstatic classStorageBucketCors.Jsii$ProxyAn implementation forStorageBucketCors
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static StorageBucketCors.Builderbuilder()default NumbergetMaxAgeSeconds()The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.default List<String>getMethod()The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".default List<String>getOrigin()The list of Origins eligible to receive CORS response headers.default List<String>getResponseHeader()The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
-
-
-
Method Detail
-
getMaxAgeSeconds
@Stability(Stable) @Nullable default Number getMaxAgeSeconds()
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#max_age_seconds StorageBucket#max_age_seconds}
-
getMethod
@Stability(Stable) @Nullable default List<String> getMethod()
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#method StorageBucket#method}
-
getOrigin
@Stability(Stable) @Nullable default List<String> getOrigin()
The list of Origins eligible to receive CORS response headers.Note: "*" is permitted in the list of origins, and means "any Origin". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#origin StorageBucket#origin}
-
getResponseHeader
@Stability(Stable) @Nullable default List<String> getResponseHeader()
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#response_header StorageBucket#response_header}
-
builder
@Stability(Stable) static StorageBucketCors.Builder builder()
- Returns:
- a
StorageBucketCors.BuilderofStorageBucketCors
-
-