Class: Aws::AmplifyBackend::Types::CreateBackendStorageRequest

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 CreateBackendStorageRequest data as a hash:

{
  app_id: "__string", # required
  backend_environment_name: "__string", # required
  resource_config: { # required
    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
  },
  resource_name: "__string", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

Returns:

  • (String)


1714
1715
1716
1717
1718
1719
1720
1721
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1714

class CreateBackendStorageRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#backend_environment_nameString

Returns:

  • (String)


1714
1715
1716
1717
1718
1719
1720
1721
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1714

class CreateBackendStorageRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_configTypes::CreateBackendStorageResourceConfig

The resource configuration for creating backend storage.



1714
1715
1716
1717
1718
1719
1720
1721
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1714

class CreateBackendStorageRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

Returns:

  • (String)


1714
1715
1716
1717
1718
1719
1720
1721
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/types.rb', line 1714

class CreateBackendStorageRequest < Struct.new(
  :app_id,
  :backend_environment_name,
  :resource_config,
  :resource_name)
  SENSITIVE = []
  include Aws::Structure
end