cloudngfwaws.Account
Explore with Pulumi AI
Resource for Account manipulation.
Admin Permission Type
Rulestack
(forscope="Local"
)Global Rulestack
(forscope="Global"
)
Create Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args?: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
args: Optional[AccountArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cft_url: Optional[str] = None,
external_id: Optional[str] = None,
onboarding_status: Optional[str] = None,
origin: Optional[str] = None,
service_account_id: Optional[str] = None,
sns_topic_arn: Optional[str] = None,
trusted_account: Optional[str] = None)
func NewAccount(ctx *Context, name string, args *AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs? args = null, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: cloudngfwaws:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var accountResource = new CloudNgfwAws.Account("accountResource", new()
{
AccountId = "string",
CftUrl = "string",
ExternalId = "string",
OnboardingStatus = "string",
Origin = "string",
ServiceAccountId = "string",
SnsTopicArn = "string",
TrustedAccount = "string",
});
example, err := cloudngfwaws.NewAccount(ctx, "accountResource", &cloudngfwaws.AccountArgs{
AccountId: pulumi.String("string"),
CftUrl: pulumi.String("string"),
ExternalId: pulumi.String("string"),
OnboardingStatus: pulumi.String("string"),
Origin: pulumi.String("string"),
ServiceAccountId: pulumi.String("string"),
SnsTopicArn: pulumi.String("string"),
TrustedAccount: pulumi.String("string"),
})
var accountResource = new Account("accountResource", AccountArgs.builder()
.accountId("string")
.cftUrl("string")
.externalId("string")
.onboardingStatus("string")
.origin("string")
.serviceAccountId("string")
.snsTopicArn("string")
.trustedAccount("string")
.build());
account_resource = cloudngfwaws.Account("accountResource",
account_id="string",
cft_url="string",
external_id="string",
onboarding_status="string",
origin="string",
service_account_id="string",
sns_topic_arn="string",
trusted_account="string")
const accountResource = new cloudngfwaws.Account("accountResource", {
accountId: "string",
cftUrl: "string",
externalId: "string",
onboardingStatus: "string",
origin: "string",
serviceAccountId: "string",
snsTopicArn: "string",
trustedAccount: "string",
});
type: cloudngfwaws:Account
properties:
accountId: string
cftUrl: string
externalId: string
onboardingStatus: string
origin: string
serviceAccountId: string
snsTopicArn: string
trustedAccount: string
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Account resource accepts the following input properties:
- Account
Id string - The account ID
- Cft
Url string - The CFT URL.
- External
Id string - The external ID of the account
- Onboarding
Status string - The Account onboarding status
- Origin string
- Origin of account onboarding
- Service
Account stringId - The account ID of cloud NGFW service
- Sns
Topic stringArn - The SNS topic ARN
- Trusted
Account string - The trusted account ID
- Account
Id string - The account ID
- Cft
Url string - The CFT URL.
- External
Id string - The external ID of the account
- Onboarding
Status string - The Account onboarding status
- Origin string
- Origin of account onboarding
- Service
Account stringId - The account ID of cloud NGFW service
- Sns
Topic stringArn - The SNS topic ARN
- Trusted
Account string - The trusted account ID
- account
Id String - The account ID
- cft
Url String - The CFT URL.
- external
Id String - The external ID of the account
- onboarding
Status String - The Account onboarding status
- origin String
- Origin of account onboarding
- service
Account StringId - The account ID of cloud NGFW service
- sns
Topic StringArn - The SNS topic ARN
- trusted
Account String - The trusted account ID
- account
Id string - The account ID
- cft
Url string - The CFT URL.
- external
Id string - The external ID of the account
- onboarding
Status string - The Account onboarding status
- origin string
- Origin of account onboarding
- service
Account stringId - The account ID of cloud NGFW service
- sns
Topic stringArn - The SNS topic ARN
- trusted
Account string - The trusted account ID
- account_
id str - The account ID
- cft_
url str - The CFT URL.
- external_
id str - The external ID of the account
- onboarding_
status str - The Account onboarding status
- origin str
- Origin of account onboarding
- service_
account_ strid - The account ID of cloud NGFW service
- sns_
topic_ strarn - The SNS topic ARN
- trusted_
account str - The trusted account ID
- account
Id String - The account ID
- cft
Url String - The CFT URL.
- external
Id String - The external ID of the account
- onboarding
Status String - The Account onboarding status
- origin String
- Origin of account onboarding
- service
Account StringId - The account ID of cloud NGFW service
- sns
Topic StringArn - The SNS topic ARN
- trusted
Account String - The trusted account ID
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Token string - The update token.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Token string - The update token.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Token String - The update token.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Token string - The update token.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
token str - The update token.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Token String - The update token.
Look up Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
cft_url: Optional[str] = None,
external_id: Optional[str] = None,
onboarding_status: Optional[str] = None,
origin: Optional[str] = None,
service_account_id: Optional[str] = None,
sns_topic_arn: Optional[str] = None,
trusted_account: Optional[str] = None,
update_token: Optional[str] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - The account ID
- Cft
Url string - The CFT URL.
- External
Id string - The external ID of the account
- Onboarding
Status string - The Account onboarding status
- Origin string
- Origin of account onboarding
- Service
Account stringId - The account ID of cloud NGFW service
- Sns
Topic stringArn - The SNS topic ARN
- Trusted
Account string - The trusted account ID
- Update
Token string - The update token.
- Account
Id string - The account ID
- Cft
Url string - The CFT URL.
- External
Id string - The external ID of the account
- Onboarding
Status string - The Account onboarding status
- Origin string
- Origin of account onboarding
- Service
Account stringId - The account ID of cloud NGFW service
- Sns
Topic stringArn - The SNS topic ARN
- Trusted
Account string - The trusted account ID
- Update
Token string - The update token.
- account
Id String - The account ID
- cft
Url String - The CFT URL.
- external
Id String - The external ID of the account
- onboarding
Status String - The Account onboarding status
- origin String
- Origin of account onboarding
- service
Account StringId - The account ID of cloud NGFW service
- sns
Topic StringArn - The SNS topic ARN
- trusted
Account String - The trusted account ID
- update
Token String - The update token.
- account
Id string - The account ID
- cft
Url string - The CFT URL.
- external
Id string - The external ID of the account
- onboarding
Status string - The Account onboarding status
- origin string
- Origin of account onboarding
- service
Account stringId - The account ID of cloud NGFW service
- sns
Topic stringArn - The SNS topic ARN
- trusted
Account string - The trusted account ID
- update
Token string - The update token.
- account_
id str - The account ID
- cft_
url str - The CFT URL.
- external_
id str - The external ID of the account
- onboarding_
status str - The Account onboarding status
- origin str
- Origin of account onboarding
- service_
account_ strid - The account ID of cloud NGFW service
- sns_
topic_ strarn - The SNS topic ARN
- trusted_
account str - The trusted account ID
- update_
token str - The update token.
- account
Id String - The account ID
- cft
Url String - The CFT URL.
- external
Id String - The external ID of the account
- onboarding
Status String - The Account onboarding status
- origin String
- Origin of account onboarding
- service
Account StringId - The account ID of cloud NGFW service
- sns
Topic StringArn - The SNS topic ARN
- trusted
Account String - The trusted account ID
- update
Token String - The update token.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.