Package com.pulumi.aws.s3
Class FilesFileSystem
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.s3.FilesFileSystem
-
public class FilesFileSystem extends com.pulumi.resources.CustomResourceManages an S3 Files File System. ## Example Usage
## Import ### Identity Schema #### Required * `id` - Identifier of the file system. #### Optional * `accountId` (String) AWS Account where this resource is managed. * `region` (String) Region where this resource is managed. Using `pulumi import`, import S3 Files File System using `id`. For example: ```sh $ pulumi import aws:s3/filesFileSystem:FilesFileSystem example fs-1234567890abcdef0 ```package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.s3.FilesFileSystem; import com.pulumi.aws.s3.FilesFileSystemArgs; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new FilesFileSystem("example", FilesFileSystemArgs.builder() .bucket(exampleAwsS3Bucket.arn()) .roleArn(exampleAwsIamRole.arn()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description FilesFileSystem(java.lang.String name)FilesFileSystem(java.lang.String name, FilesFileSystemArgs args)FilesFileSystem(java.lang.String name, FilesFileSystemArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>acceptBucketWarning()com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>bucket()com.pulumi.core.Output<java.lang.String>creationTime()static FilesFileSystemget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, FilesFileSystemState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>kmsKeyId()com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.lang.String>ownerId()com.pulumi.core.Output<java.util.Optional<java.lang.String>>prefix()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>roleArn()com.pulumi.core.Output<java.lang.String>status()com.pulumi.core.Output<java.lang.String>statusMessage()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<java.util.Optional<FilesFileSystemTimeouts>>timeouts()
-
-
-
Constructor Detail
-
FilesFileSystem
public FilesFileSystem(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
FilesFileSystem
public FilesFileSystem(java.lang.String name, FilesFileSystemArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
FilesFileSystem
public FilesFileSystem(java.lang.String name, FilesFileSystemArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
acceptBucketWarning
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> acceptBucketWarning()
- Returns:
- Set to `true` to acknowledge and accept any warnings related to the bucket configuration. If not specified, the operation may fail when such warnings are present. For example, warnings may be raised when creating a file system scoped to a prefix containing a large number of objects (approximately 12 million objects). See [the AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-synchronization.html#s3-files-sync-rename-move) for more details.
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the file system.
-
bucket
public com.pulumi.core.Output<java.lang.String> bucket()
- Returns:
- S3 bucket ARN. Changing this value forces replacement.
-
creationTime
public com.pulumi.core.Output<java.lang.String> creationTime()
- Returns:
- Creation time.
-
kmsKeyId
public com.pulumi.core.Output<java.lang.String> kmsKeyId()
- Returns:
- KMS key ID for encryption. Changing this value forces replacement.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- File system name.
-
ownerId
public com.pulumi.core.Output<java.lang.String> ownerId()
- Returns:
- AWS account ID of the owner.
-
prefix
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> prefix()
- Returns:
- S3 bucket prefix. Changing this value forces replacement.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
roleArn
public com.pulumi.core.Output<java.lang.String> roleArn()
- Returns:
- IAM role ARN for S3 access. Changing this value forces replacement. The following arguments are optional:
-
status
public com.pulumi.core.Output<java.lang.String> status()
- Returns:
- File system status.
-
statusMessage
public com.pulumi.core.Output<java.lang.String> statusMessage()
- Returns:
- Status message.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
timeouts
public com.pulumi.core.Output<java.util.Optional<FilesFileSystemTimeouts>> timeouts()
-
get
public static FilesFileSystem get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable FilesFileSystemState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-