ObjectCopy constructor
ObjectCopy(
- String name, {
- ObjectCopyArgs? args,
- CustomResourceOptions? options,
Creates a new ObjectCopy.
name The Pulumi resource name.
args Arguments used to configure this ObjectCopy. The set of arguments for ObjectCopy.
options Resource options controlling this resource's behavior.
Implementation
ObjectCopy(
String name, {
ObjectCopyArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:s3/objectCopy:ObjectCopy',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
additionalSecretOutputs: const ['customerKey', 'kmsEncryptionContext', 'kmsKeyId', 'sourceCustomerKey'],
) {
acl = registerOutput<String>('acl');
arn = registerOutput<String>('arn');
bucket = registerOutput<String>('bucket');
bucketKeyEnabled = registerOutput<bool>('bucketKeyEnabled');
cacheControl = registerOutput<String>('cacheControl');
checksumAlgorithm = registerOutput<String?>('checksumAlgorithm');
checksumCrc32 = registerOutput<String>('checksumCrc32');
checksumCrc32c = registerOutput<String>('checksumCrc32c');
checksumCrc64nvme = registerOutput<String>('checksumCrc64nvme');
checksumSha1 = registerOutput<String>('checksumSha1');
checksumSha256 = registerOutput<String>('checksumSha256');
contentDisposition = registerOutput<String>('contentDisposition');
contentEncoding = registerOutput<String>('contentEncoding');
contentLanguage = registerOutput<String>('contentLanguage');
contentType = registerOutput<String>('contentType');
copyIfMatch = registerOutput<String?>('copyIfMatch');
copyIfModifiedSince = registerOutput<String?>('copyIfModifiedSince');
copyIfNoneMatch = registerOutput<String?>('copyIfNoneMatch');
copyIfUnmodifiedSince = registerOutput<String?>('copyIfUnmodifiedSince');
customerAlgorithm = registerOutput<String>('customerAlgorithm');
customerKey = registerOutput<String?>('customerKey', isSecret: true);
customerKeyMd5 = registerOutput<String>('customerKeyMd5');
etag = registerOutput<String>('etag');
expectedBucketOwner = registerOutput<String?>('expectedBucketOwner');
expectedSourceBucketOwner = registerOutput<String?>('expectedSourceBucketOwner');
expiration = registerOutput<String>('expiration');
expires = registerOutput<String?>('expires');
forceDestroy = registerOutput<bool?>('forceDestroy');
grants = registerOutput<List<ObjectCopyGrant>?>('grants', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ObjectCopyGrant>(guardedValue, (value) => ObjectCopyGrant.fromMap((value as Map).cast<String, dynamic>())); });
key = registerOutput<String>('key');
kmsEncryptionContext = registerOutput<String>('kmsEncryptionContext', isSecret: true);
kmsKeyId = registerOutput<String>('kmsKeyId', isSecret: true);
lastModified = registerOutput<String>('lastModified');
metadata = registerOutput<Map<String, String>>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
metadataDirective = registerOutput<String?>('metadataDirective');
objectLockLegalHoldStatus = registerOutput<String>('objectLockLegalHoldStatus');
objectLockMode = registerOutput<String>('objectLockMode');
objectLockRetainUntilDate = registerOutput<String>('objectLockRetainUntilDate');
overrideProvider = registerOutput<ObjectCopyOverrideProvider?>('overrideProvider', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ObjectCopyOverrideProvider.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
requestCharged = registerOutput<bool>('requestCharged');
requestPayer = registerOutput<String?>('requestPayer');
serverSideEncryption = registerOutput<String>('serverSideEncryption');
source = registerOutput<String>('source');
sourceCustomerAlgorithm = registerOutput<String?>('sourceCustomerAlgorithm');
sourceCustomerKey = registerOutput<String?>('sourceCustomerKey', isSecret: true);
sourceCustomerKeyMd5 = registerOutput<String?>('sourceCustomerKeyMd5');
sourceVersionId = registerOutput<String>('sourceVersionId');
storageClass = registerOutput<String>('storageClass');
taggingDirective = registerOutput<String?>('taggingDirective');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
versionId = registerOutput<String>('versionId');
websiteRedirect = registerOutput<String>('websiteRedirect');
}