PullThroughCacheRule constructor

PullThroughCacheRule(
  1. String name, {
  2. PullThroughCacheRuleArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new PullThroughCacheRule. name The Pulumi resource name. args Arguments used to configure this PullThroughCacheRule. The set of arguments for PullThroughCacheRule. options Resource options controlling this resource's behavior.

Implementation

PullThroughCacheRule(
  String name, {
  PullThroughCacheRuleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:ecr/pullThroughCacheRule:PullThroughCacheRule',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  credentialArn = registerOutput<String?>('credentialArn');
  customRoleArn = registerOutput<String?>('customRoleArn');
  ecrRepositoryPrefix = registerOutput<String>('ecrRepositoryPrefix');
  region = registerOutput<String>('region');
  registryId = registerOutput<String>('registryId');
  upstreamRegistryUrl = registerOutput<String>('upstreamRegistryUrl');
  upstreamRepositoryPrefix = registerOutput<String?>('upstreamRepositoryPrefix');
}