Activation constructor

Activation(
  1. String name, {
  2. ActivationArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Activation(
  String name, {
  ActivationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:ssm/activation:Activation',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  activationCode = registerOutput<String>('activationCode');
  description = registerOutput<String?>('description');
  expirationDate = registerOutput<String>('expirationDate');
  expired = registerOutput<bool>('expired');
  iamRole = registerOutput<String>('iamRole');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  registrationCount = registerOutput<int>('registrationCount');
  registrationLimit = registerOutput<int?>('registrationLimit');
  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>(); });
}