com.pulumi.aws.s3.BucketCorsConfigurationV2Args Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.s3;
import com.pulumi.aws.s3.inputs.BucketCorsConfigurationV2CorsRuleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class BucketCorsConfigurationV2Args extends com.pulumi.resources.ResourceArgs {
public static final BucketCorsConfigurationV2Args Empty = new BucketCorsConfigurationV2Args();
/**
* Name of the bucket.
*
*/
@Import(name="bucket", required=true)
private Output bucket;
/**
* @return Name of the bucket.
*
*/
public Output bucket() {
return this.bucket;
}
/**
* Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
*
*/
@Import(name="corsRules", required=true)
private Output> corsRules;
/**
* @return Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
*
*/
public Output> corsRules() {
return this.corsRules;
}
/**
* Account ID of the expected bucket owner.
*
*/
@Import(name="expectedBucketOwner")
private @Nullable Output expectedBucketOwner;
/**
* @return Account ID of the expected bucket owner.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy