Struct: s3.ReplicationConfiguration
Overview
A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Role *string
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects.
-
Rules []*ReplicationRule
A container for one or more replication rules.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetRole(string) *ReplicationConfiguration
operation
SetRole sets the Role field's value.
-
SetRules([]*ReplicationRule) *ReplicationConfiguration
operation
SetRules sets the Rules field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Role *string
`type:"string"`
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication (docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) in the Amazon S3 User Guide.
Rules []*ReplicationRule
`locationName:"Rule" type:"list" flattened:"true" required:"true"`
A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
Rules is a required field
_ struct{}
`type:"structure"`
Method Details
func (s ReplicationConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
21396 21397 21398 |
// File 'service/s3/api.go', line 21396
|
func (s *ReplicationConfiguration) SetRole(v string) *ReplicationConfiguration
SetRole sets the Role field's value.
21424 21425 21426 21427 |
// File 'service/s3/api.go', line 21424
|
func (s *ReplicationConfiguration) SetRules(v []*ReplicationRule) *ReplicationConfiguration
SetRules sets the Rules field's value.
21430 21431 21432 21433 |
// File 'service/s3/api.go', line 21430
|
func (s ReplicationConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
21387 21388 21389 |
// File 'service/s3/api.go', line 21387
|
func (s *ReplicationConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 |
// File 'service/s3/api.go', line 21401
|