StaticIp constructor

StaticIp(
  1. String name, {
  2. StaticIpArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

StaticIp(
  String name, {
  StaticIpArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:lightsail/staticIp:StaticIp',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  ipAddress = registerOutput<String>('ipAddress');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  supportCode = registerOutput<String>('supportCode');
}