ProfilesProfile constructor

ProfilesProfile(
  1. String name, {
  2. ProfilesProfileArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ProfilesProfile(
  String name, {
  ProfilesProfileArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:route53/profilesProfile:ProfilesProfile',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  this.name = registerOutput<String>('name');
  ownerId = registerOutput<String>('ownerId');
  region = registerOutput<String>('region');
  shareStatus = registerOutput<String>('shareStatus');
  status = registerOutput<String>('status');
  statusMessage = registerOutput<String>('statusMessage');
  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>(); });
  timeouts = registerOutput<ProfilesProfileTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ProfilesProfileTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}