Cache constructor
Creates a new Cache.
name The Pulumi resource name.
args Arguments used to configure this Cache. The set of arguments for Cache.
options Resource options controlling this resource's behavior.
Implementation
Cache(
String name, {
CacheArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:storagegateway/cache:Cache',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
diskId = registerOutput<String>('diskId');
gatewayArn = registerOutput<String>('gatewayArn');
region = registerOutput<String>('region');
}