Class: Aws::AmplifyBackend::Types::CreateBackendStorageResourceConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb

Overview

Note:

When making an API call, you may pass CreateBackendStorageResourceConfig data as a hash:

{
  bucket_name: "__string",
  permissions: { # required
    authenticated: ["READ"], # required, accepts READ, CREATE_AND_UPDATE, DELETE
    un_authenticated: ["READ"], # accepts READ, CREATE_AND_UPDATE, DELETE
  },
  service_name: "S3", # required, accepts S3
}

The resource configuration for creating backend storage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_nameString

The name of the S3 bucket.

Returns:

  • (String)


1827
1828
1829
1830
1831
1832
1833
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1827

class CreateBackendStorageResourceConfig < Struct.new(
  :bucket_name,
  :permissions,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#permissionsTypes::BackendStoragePermissions

The authorization configuration for the storage S3 bucket.



1827
1828
1829
1830
1831
1832
1833
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1827

class CreateBackendStorageResourceConfig < Struct.new(
  :bucket_name,
  :permissions,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the storage service.

Returns:

  • (String)


1827
1828
1829
1830
1831
1832
1833
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1827

class CreateBackendStorageResourceConfig < Struct.new(
  :bucket_name,
  :permissions,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end