Posture constructor

Posture(
  1. String name, {
  2. PostureArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Posture(
  String name, {
  PostureArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:securityposture/posture:Posture',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  etag = registerOutput<String>('etag');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  parent = registerOutput<String>('parent');
  policySets = registerOutput<List<PosturePolicySet>>('policySets', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<PosturePolicySet>(guardedValue, (value) => PosturePolicySet.fromMap((value as Map).cast<String, dynamic>())); });
  postureId = registerOutput<String>('postureId');
  reconciling = registerOutput<bool>('reconciling');
  revisionId = registerOutput<String>('revisionId');
  state = registerOutput<String>('state');
  updateTime = registerOutput<String>('updateTime');
}