1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. s3files
  6. getFileSystemPolicy

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi

    Resource Type definition for AWS::S3Files::FileSystemPolicy

    Using getFileSystemPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFileSystemPolicy(args: GetFileSystemPolicyArgs, opts?: InvokeOptions): Promise<GetFileSystemPolicyResult>
    function getFileSystemPolicyOutput(args: GetFileSystemPolicyOutputArgs, opts?: InvokeOptions): Output<GetFileSystemPolicyResult>
    def get_file_system_policy(file_system_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetFileSystemPolicyResult
    def get_file_system_policy_output(file_system_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetFileSystemPolicyResult]
    func LookupFileSystemPolicy(ctx *Context, args *LookupFileSystemPolicyArgs, opts ...InvokeOption) (*LookupFileSystemPolicyResult, error)
    func LookupFileSystemPolicyOutput(ctx *Context, args *LookupFileSystemPolicyOutputArgs, opts ...InvokeOption) LookupFileSystemPolicyResultOutput

    > Note: This function is named LookupFileSystemPolicy in the Go SDK.

    public static class GetFileSystemPolicy 
    {
        public static Task<GetFileSystemPolicyResult> InvokeAsync(GetFileSystemPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetFileSystemPolicyResult> Invoke(GetFileSystemPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFileSystemPolicyResult> getFileSystemPolicy(GetFileSystemPolicyArgs args, InvokeOptions options)
    public static Output<GetFileSystemPolicyResult> getFileSystemPolicy(GetFileSystemPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:s3files:getFileSystemPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getFileSystemPolicy Result

    The following output properties are available:

    Policy object
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.
    Policy interface{}
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.
    policy Object
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.
    policy any
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.
    policy Any
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.
    policy Any
    Search the CloudFormation User Guide for AWS::S3Files::FileSystemPolicy for more information about the expected schema for this property.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.62.0
    published on Monday, Apr 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.