Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
vavsab committed Feb 20, 2024
1 parent 1de4d28 commit d592fa1
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 6 deletions.
3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/SecretAwsArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public Input<string>? AccessKey
}
}

[Input("externalId")]
public Input<string>? ExternalId { get; set; }

[Input("roleArn")]
public Input<string>? RoleArn { get; set; }

Expand Down
3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/SecretAwsGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public Input<string>? AccessKey
}
}

[Input("externalId")]
public Input<string>? ExternalId { get; set; }

[Input("roleArn")]
public Input<string>? RoleArn { get; set; }

Expand Down
4 changes: 4 additions & 0 deletions sdk/dotnet/Outputs/SecretAws.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ namespace Pulumiverse.Cpln.Outputs
public sealed class SecretAws
{
public readonly string AccessKey;
public readonly string? ExternalId;
public readonly string? RoleArn;
public readonly string SecretKey;

[OutputConstructor]
private SecretAws(
string accessKey,

string? externalId,

string? roleArn,

string secretKey)
{
AccessKey = accessKey;
ExternalId = externalId;
RoleArn = roleArn;
SecretKey = secretKey;
}
Expand Down
27 changes: 21 additions & 6 deletions sdk/go/cpln/pulumiTypes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ export interface PolicyTargetQuerySpecTerm {

export interface SecretAws {
accessKey: pulumi.Input<string>;
externalId?: pulumi.Input<string>;
roleArn?: pulumi.Input<string>;
secretKey: pulumi.Input<string>;
}
Expand Down
1 change: 1 addition & 0 deletions sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ export interface PolicyTargetQuerySpecTerm {

export interface SecretAws {
accessKey: string;
externalId?: string;
roleArn?: string;
secretKey: string;
}
Expand Down
16 changes: 16 additions & 0 deletions sdk/python/pulumiverse_cpln/_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3138,30 +3138,37 @@ class SecretAwsArgs:
def __init__(__self__, *,
access_key: pulumi.Input[str],
secret_key: pulumi.Input[str],
external_id: Optional[pulumi.Input[str]] = None,
role_arn: Optional[pulumi.Input[str]] = None):
SecretAwsArgs._configure(
lambda key, value: pulumi.set(__self__, key, value),
access_key=access_key,
secret_key=secret_key,
external_id=external_id,
role_arn=role_arn,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
access_key: pulumi.Input[str],
secret_key: pulumi.Input[str],
external_id: Optional[pulumi.Input[str]] = None,
role_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if 'accessKey' in kwargs:
access_key = kwargs['accessKey']
if 'secretKey' in kwargs:
secret_key = kwargs['secretKey']
if 'externalId' in kwargs:
external_id = kwargs['externalId']
if 'roleArn' in kwargs:
role_arn = kwargs['roleArn']

_setter("access_key", access_key)
_setter("secret_key", secret_key)
if external_id is not None:
_setter("external_id", external_id)
if role_arn is not None:
_setter("role_arn", role_arn)

Expand All @@ -3183,6 +3190,15 @@ def secret_key(self) -> pulumi.Input[str]:
def secret_key(self, value: pulumi.Input[str]):
pulumi.set(self, "secret_key", value)

@property
@pulumi.getter(name="externalId")
def external_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "external_id")

@external_id.setter
def external_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "external_id", value)

@property
@pulumi.getter(name="roleArn")
def role_arn(self) -> Optional[pulumi.Input[str]]:
Expand Down
14 changes: 14 additions & 0 deletions sdk/python/pulumiverse_cpln/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3134,6 +3134,8 @@ def __key_warning(key: str):
suggest = "access_key"
elif key == "secretKey":
suggest = "secret_key"
elif key == "externalId":
suggest = "external_id"
elif key == "roleArn":
suggest = "role_arn"

Expand All @@ -3151,30 +3153,37 @@ def get(self, key: str, default = None) -> Any:
def __init__(__self__, *,
access_key: str,
secret_key: str,
external_id: Optional[str] = None,
role_arn: Optional[str] = None):
SecretAws._configure(
lambda key, value: pulumi.set(__self__, key, value),
access_key=access_key,
secret_key=secret_key,
external_id=external_id,
role_arn=role_arn,
)
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
access_key: str,
secret_key: str,
external_id: Optional[str] = None,
role_arn: Optional[str] = None,
opts: Optional[pulumi.ResourceOptions]=None,
**kwargs):
if 'accessKey' in kwargs:
access_key = kwargs['accessKey']
if 'secretKey' in kwargs:
secret_key = kwargs['secretKey']
if 'externalId' in kwargs:
external_id = kwargs['externalId']
if 'roleArn' in kwargs:
role_arn = kwargs['roleArn']

_setter("access_key", access_key)
_setter("secret_key", secret_key)
if external_id is not None:
_setter("external_id", external_id)
if role_arn is not None:
_setter("role_arn", role_arn)

Expand All @@ -3188,6 +3197,11 @@ def access_key(self) -> str:
def secret_key(self) -> str:
return pulumi.get(self, "secret_key")

@property
@pulumi.getter(name="externalId")
def external_id(self) -> Optional[str]:
return pulumi.get(self, "external_id")

@property
@pulumi.getter(name="roleArn")
def role_arn(self) -> Optional[str]:
Expand Down

0 comments on commit d592fa1

Please sign in to comment.